FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › General Discussion › Firefly on NAS?
- This topic has 62 replies, 10 voices, and was last updated 17 years ago by Anonymous.
-
AuthorPosts
-
04/11/2007 at 6:45 PM #10694AnonymousInactive
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!
/Andy04/11/2007 at 9:40 PM #10695fizzeParticipantTry 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! 😉
05/11/2007 at 9:24 AM #10696AnonymousInactiveHey Fizze!
Well, sorry for my unknowledge, but how do I do that?/Andy
05/11/2007 at 9:48 AM #10697fizzeParticipantLocate 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.
05/11/2007 at 2:36 PM #10698AnonymousInactiveHi!
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
05/11/2007 at 3:00 PM #10699fizzeParticipantWhat 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)
05/11/2007 at 8:23 PM #10700AnonymousInactiveOK, 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 foundwhats wrong?!
/Andy
05/11/2007 at 8:26 PM #10701sonichouseParticipant@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
06/11/2007 at 11:45 AM #10702AnonymousInactiveAhhhh, I see…
I’ll try that when I get home.
Thnx!
8)06/11/2007 at 3:21 PM #10703AnonymousInactiveHmmmm…. 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 directoryConfused!!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.