Firefly on NAS?

  • This topic has 62 replies, 10 voices, and was last updated 17 years ago by Anonymous.
Viewing 10 posts - 31 through 40 (of 63 total)
  • Author
    Posts
  • #10694
    Anonymous
    Inactive

    Hi all!
    I finally got time to sit down and try to fix my NAS.
    It seems that everything worked fine, exept that Idon’t
    seem to get the Firefly running.
    Do I have to include som startscript in the header for making the Firefly run?
    The response when trying the “ps -ef | grep mt-daapd” command is this:
    “root 892 886 0 18:41 pts/0 00:00:00 grep mt-daapd”
    Do I have to copy the “S99firefly” script anywhere exept at the “/etc/init.d”
    and where to if so…

    thnx!
    /Andy

    #10695
    fizze
    Participant

    Try to run the binary manually first.
    Make sure you have set execute permissions (chmod 755) to mt-daapd.

    Then check the paths in the init script, make that executeable as well (chmod 755) and try to give it a go.

    Make sure to monitor the log! 😉

    #10696
    Anonymous
    Inactive

    Hey Fizze!
    Well, sorry for my unknowledge, but how do I do that?

    /Andy

    #10697
    fizze
    Participant

    Locate the binary, usually its in /opt/bin or /usr/bin, called mt-daapd.
    then try to execute it. 😉

    If that fails, please post the output of

    ls -al mt-daapd

    when you’re in that directory. Chances are you dont have execute permissions set.

    #10698
    Anonymous
    Inactive

    Hi!
    I tried the above, but with this result:
    “./mt-daapd
    Error reading config file (/usr/local/etc/mt-daapd.conf)”
    But I do see the mt-daap file there…

    /Andy

    #10699
    fizze
    Participant

    What exactly is the command that you used when you tried to run mt-daapd?

    If you run it maunally mt-daapd expects a single parameter, the location of the config file.

    So if your config file is in /usr/local/etc/mt-daapd.conf this should be like:

    mt-daapd -c /usr/local/etc/mt-daapd.conf

    If you did it like that, then probably your config-file isnt world-readable.
    try this:

    chmod 755 /usr/local/etc/mt-daapd.conf

    (This isnt 100% water-proof, from a security point of view, but it should do for testing some stuff on a local NAS)

    #10700
    Anonymous
    Inactive

    OK, so I finally got execute permission and got it to accept the command:
    “./mt-daapd.conf -c /etc/mt-daapd.conf”
    But all I get in response is:

    ./mt-daapd.conf: line 13: [general]: command not found
    ./mt-daapd.conf: line 27: web_root: command not found
    ./mt-daapd.conf: line 36: port: command not found
    ./mt-daapd.conf: line 44: admin_pw: command not found
    ./mt-daapd.conf: line 54: db_type: command not found
    ./mt-daapd.conf: line 68: db_parms: command not found
    ./mt-daapd.conf: line 78: mp3_dir: command not found
    ./mt-daapd.conf: line 88: servername: command not found
    ./mt-daapd.conf: line 102: runas: command not found
    ./mt-daapd.conf: line 117: playlist: command not found
    ./mt-daapd.conf: line 148: extensions: command not found
    ./mt-daapd.conf: line 172: ssc_codectypes: command not found
    ./mt-daapd.conf: line 192: ssc_prog: command not found
    ./mt-daapd.conf: line 280: scan_type: command not found
    ./mt-daapd.conf: line 297: [plugins]: command not found
    ./mt-daapd.conf: line 298: plugin_dir: command not found

    whats wrong?!

    /Andy

    #10701
    sonichouse
    Participant

    @andrease wrote:

    OK, so I finally got execute permission and got it to accept the command:
    “./mt-daapd.conf -c /etc/mt-daapd.conf”
    But all I get in response is:

    ./mt-daapd.conf: line 13: [general]: command not found

    You need to run

    ./mt-daapd -c /etc/mt-daapd.conf
    #10702
    Anonymous
    Inactive

    Ahhhh, I see…
    I’ll try that when I get home.
    Thnx!
    8)

    #10703
    Anonymous
    Inactive

    Hmmmm…. I just don’t get it Sorry!
    But both files mt-daapd and mt-daapd.conf is in the etc directory, but
    I get this message when I try your code:
    ./mt-daapd -c /etc/mt-daapd.conf
    bash: ./mt-daapd: No such file or directory

    Confused!!

Viewing 10 posts - 31 through 40 (of 63 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.