You are here: Home » Topic » Only works with -f parameter

Only works with -f parameter

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #124
    heemsker
    Guest

    I use mt-daap 0.2.3, that I installed on my WL-hdd through ipkg.
    When I start it up with the -f parameter in the foreground it works fine. When I leave out the – parameter it starts, but does not serve iTunes nor web pages. The log (-d9) reads:

    1970-01-01 01:30:14: Starting rendezvous daemon
    1970-01-01 01:30:14: select(7, 0.000976)
    1970-01-01 01:30:14: Current database version: 8
    1970-01-01 01:30:14: select(7, 0.233398)
    1970-01-01 01:30:14: Starting signal handler
    1970-01-01 01:30:14: Signal handler started
    1970-01-01 01:30:14: select(7, 0.096679)
    1970-01-01 01:30:14: select(7, 0.093750)
    (Similar lines repeated)

    I tried admin and nobody as “runas”, but it made no difference.

    Any ideas?

    #3789
    rpedde
    Participant

    You’ll need to start it as root, and run it as a user that has write permission to the db_dir directory, and has read permissions to the whole mp3 library.

    Quick answer is “chmod 664 -R /path/to/mp3/files”

    That gives everyone read access to the mp3 files. Then you can

    “chown run_as /var/cache/mt-daapd”

    Where run_as is your run_as user.

    That’s at least a working solution.

    — Ron

    #3790
    heemsker
    Guest

    Making the changes as you suggested didn’t help.
    It is obviously related to authorisation, but the WL-hdd has only one user (admin) that I think is root equivalent. Te runas user I specify is also admin. I did try nobody, but that didn’t help either

    I will try some more, mayby referencing only one directory allowing free access.

    #3791
    rpedde
    Participant

    I hadn’t even hit the fact that these were the same issue.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.