FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Firefly fails immediately on running on NSLU2
- This topic has 8 replies, 4 voices, and was last updated 15 years, 5 months ago by
Anonymous.
-
AuthorPosts
-
08/12/2007 at 9:39 PM #2015
Anonymous
InactiveHi
I’ve been having a few problems but regret I cant solve on my own. I hope my 1st post isn’t stoopid but likely is. I cant find an exact answer with search but have what might be pointers..
running:
mt-daapd/Firefly Version: svn-1696-1.
Server Operating System: linksys NSLU2 unslung 6.8 (running off a flash memory stick and files on 1 x fat32 formatted WD USB HD,
I can browse the mp3s via windows and via SSH to the slug, fine.)
Web interface: not got that far recently.If I execute firefly with /opt/etc/init.d/S60mt-daapd it seems to exit immediately. ps doesnt list mt-daapd at all.
whats odd is I can’t recently successfully run Firefly, twonkyvision or ushare. I had firefly running before, but it no longer works. Firefly’s what I really need to work. I suspect I’ve messed up something with permissions or users -I always ssh in as root btw, yes, sorry -but I dont know how to fix the problem.
I’ve tried to reinstall it and got this error:
# ipkg install -force-overwrite mt-daapd
Package mt-daapd (svn-1696-1) installed in root is up to date.
Configuring mysql
//usr/lib/ipkg/info/mysql.postinst: /opt/bin/mysql_install_db: No such file or directory
//usr/lib/ipkg/info/mysql.postinst: /opt/etc/init.d/S70mysqld: No such file or directory
postinst script returned status 127
ERROR: mysql.postinst returned 127
Nothing to be doneipkg install sqlite2 returns saying up to date, nothing to be done.
there doesnt seem to be a /var/log/mt-daapd.log.
using tail -100 /var/log/messages I see this:
# <25>Dec 8 21:11:35 mt-daapd[5063]: Config entry general/playlist is deprecated. Please review the sample config
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Firefly Version svn-1696: Starting with debuglevel 2
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: ssc-script/svn-1696
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: daap/svn-1696
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: rsp/svn-1696
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Starting rendezvous daemon
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Starting signal handler
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5065]: Initializing database
8: No such file or directory
# <25>Dec 8 21:11:36 mt-daapd[5065]: Error: enum_fetch failed (error 1): ?
Syntax error: “(” unexpected
# <25>Dec 8 21:11:36 mt-daapd[5065]: Full reload…
8: No such file or directory
# <25>Dec 8 21:11:36 mt-daapd[5064]: Rendezvous socket closed (daap server crashed?) Aborting.
Syntax error: “(” unexpected
#
# <25>Dec 8 21:11:35 mt-daapd[5063]: Config entry general/playlist is deprecated. Please review the sample config
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Firefly Version svn-1696: Starting with debuglevel 2
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: ssc-script/svn-1696
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: daap/svn-1696
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: rsp/svn-1696
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Starting rendezvous daemon
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5063]: Starting signal handler
8: No such file or directory
# <25>Dec 8 21:11:35 mt-daapd[5065]: Initializing database
8: No such file or directory
# <25>Dec 8 21:11:36 mt-daapd[5065]: Error: enum_fetch failed (error 1): ?
Syntax error: “(” unexpected
# <25>Dec 8 21:11:36 mt-daapd[5065]: Full reload…
8: No such file or directory
# <25>Dec 8 21:11:36 mt-daapd[5064]: Rendezvous socket closed (daap server crashed?) Aborting.
Syntax error: “(” unexpected—
what do I need to do?thanks in advance, any pointers are welcome.
10/12/2007 at 4:44 AM #15075rpedde
Participant@iainjh wrote:
Hi
I’ve been having a few problems but regret I cant solve on my own. I hope my 1st post isn’t stoopid but likely is. I cant find an exact answer with search but have what might be pointers..
running:
mt-daapd/Firefly Version: svn-1696-1.
Server Operating System: linksys NSLU2 unslung 6.8 (running off a flash memory stick and files on 1 x fat32 formatted WD USB HD,
I can browse the mp3s via windows and via SSH to the slug, fine.)
Web interface: not got that far recently.If I execute firefly with /opt/etc/init.d/S60mt-daapd it seems to exit immediately. ps doesnt list mt-daapd at all.
whats odd is I can’t recently successfully run Firefly, twonkyvision or ushare. I had firefly running before, but it no longer works. Firefly’s what I really need to work. I suspect I’ve messed up something with permissions or users -I always ssh in as root btw, yes, sorry -but I dont know how to fix the problem.
I’ve tried to reinstall it and got this error:
# ipkg install -force-overwrite mt-daapd
Package mt-daapd (svn-1696-1) installed in root is up to date.
Configuring mysql
//usr/lib/ipkg/info/mysql.postinst: /opt/bin/mysql_install_db: No such file or directory
//usr/lib/ipkg/info/mysql.postinst: /opt/etc/init.d/S70mysqld: No such file or directory
postinst script returned status 127
ERROR: mysql.postinst returned 127
Nothing to be doneipkg install sqlite2 returns saying up to date, nothing to be done.
there doesnt seem to be a /var/log/mt-daapd.log.
using tail -100 /var/log/messages I see this:
# Dec 8 21:11:35 mt-daapd[5063]: Config entry general/playlist is deprecated. Please review the sample config
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Firefly Version svn-1696: Starting with debuglevel 2
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: ssc-script/svn-1696
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: daap/svn-1696
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: rsp/svn-1696
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Starting rendezvous daemon
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Starting signal handler
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5065]: Initializing database
8: No such file or directory
# Dec 8 21:11:36 mt-daapd[5065]: Error: enum_fetch failed (error 1): ?
Syntax error: “(” unexpected
# Dec 8 21:11:36 mt-daapd[5065]: Full reload…
8: No such file or directory
# Dec 8 21:11:36 mt-daapd[5064]: Rendezvous socket closed (daap server crashed?) Aborting.
Syntax error: “(” unexpected
#
# Dec 8 21:11:35 mt-daapd[5063]: Config entry general/playlist is deprecated. Please review the sample config
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Firefly Version svn-1696: Starting with debuglevel 2
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: ssc-script/svn-1696
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: daap/svn-1696
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Plugin loaded: rsp/svn-1696
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Starting rendezvous daemon
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5063]: Starting signal handler
8: No such file or directory
# Dec 8 21:11:35 mt-daapd[5065]: Initializing database
8: No such file or directory
# Dec 8 21:11:36 mt-daapd[5065]: Error: enum_fetch failed (error 1): ?
Syntax error: “(” unexpected
# Dec 8 21:11:36 mt-daapd[5065]: Full reload…
8: No such file or directory
# Dec 8 21:11:36 mt-daapd[5064]: Rendezvous socket closed (daap server crashed?) Aborting.
Syntax error: “(” unexpected—
what do I need to do?thanks in advance, any pointers are welcome.
I think there may be a file that’s ticking it of. Try changing your debuglevel in the config file to 5, then starting it again. Let is run until it crashes, and check your logs. Likely it dies trying to scan a specific file. Move that file out of the way, and try again.
— Ron
17/12/2007 at 10:00 PM #15076Anonymous
InactiveHi
Thanks for the reply, sorry it took me song long to reply myself 😉
I think I’ve found a problem with the slug anyway, which is that it was running out of memory. I run the unslung firmware from a memory stick and I’ve cleared off a few programs and at least now my upnp server runs.
firefly doesnt – yet. I’ve uninstalled it, trying to re-install it before running with the verbose reporting. However, the current error, on install (ipkg install mt-daapd) is:
Configuring mysql
//usr/lib/ipkg/info/mysql.postinst: /opt/bin/mysql_install_db: No such file or directory
//usr/lib/ipkg/info/mysql.postinst: /opt/etc/init.d/S70mysqld: No such file or directory
postinst script returned status 127
ERROR: mysql.postinst returned 127Then on trying to execute firefly with /opt/etc/init.d/S60mt-daapd it stil fails to execute. How significant is the above install error, before I get to grips with the extra level of reporting?
thanks for your time with this, cheers again, Iain
17/12/2007 at 10:29 PM #15077sonichouse
ParticipantHi there firefly does not use mysql, so that shouldn’t stop the mt-daapd service starting.
Have you tried running it in foreground mode ?
/opt/sbin/mt-daapd -d 9 -f -c /opt/var/mt-daapd.conf
17/12/2007 at 11:53 PM #15078Anonymous
InactiveHi
heres the log file:
2007-12-17 23:56:28 (00000400): Firefly Version svn-1696: Starting with debuglevel 9
2007-12-17 23:56:28 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/rsp.so
2007-12-17 23:56:28 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/rsp.so (rsp/svn-1696)
2007-12-17 23:56:28 (00000400): New transcode codec list:
2007-12-17 23:56:28 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/out-daap.so
2007-12-17 23:56:28 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/out-daap.so (daap/svn-1696)
2007-12-17 23:56:28 (00000400): New transcode codec list:
2007-12-17 23:56:28 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/ssc-script.so
2007-12-17 23:56:28 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1696)
2007-12-17 23:56:28 (00000400): New transcode codec list: ogg,flac,alac
2007-12-17 23:56:28 (00000400): Plugin loaded: ssc-script/svn-1696
2007-12-17 23:56:28 (00000400): Plugin loaded: daap/svn-1696
2007-12-17 23:56:28 (00000400): Plugin loaded: rsp/svn-1696
2007-12-17 23:56:28 (00000400): Starting rendezvous daemon
2007-12-17 23:56:28 (00000400): Starting signal handler
2007-12-17 23:56:28 (00000400): Opening database
2007-12-17 23:56:28 (00000400): Executing: select value from config where term=’version’
2007-12-17 23:56:28 (00000400): Results: 0
2007-12-17 23:56:28 (00000400): Initializing database
2007-12-17 23:56:28 (00000400): Executing: select count(*) FROM songs
2007-12-17 23:56:29 (00000400): Error: enum_fetch failed (error 1): ?
2007-12-17 23:56:29 (00000400): Executing: select value from config where term=’rescan’
2007-12-17 23:56:29 (00000400): Full reload…
2007-12-17 23:56:29 (00000400): Executing: drop index idx_path
2007-12-17 23:56:29 (00000400): Processing rendezvous message
2007-12-17 23:56:29 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
2007-12-17 23:56:29: AbortingI ran that using.. part of what you said, as the rest of the string I corrected (& seems correct) for my NSLU2: I used
/opt/sbin/mt-daapd -d 9 -f -c /opt/etc/mt-daapd/mt-daapd.conf
(previously I’d always run it by /opt/etc/init.d/S60mt-daapd)
thoughts? Thanks again, Iain
18/12/2007 at 7:26 AM #15079fizze
Participantsvn-1696 is hideous in the slug with sqlite2.
Upgrade to sqlite3, or downgrade to another nightly version.
Since your DB is new, you can just change the db backend in mt-daapd.conf to sqlite3, and do aipkg install sqlite3
sometime 😉
06/01/2008 at 8:01 PM #15080Anonymous
InactiveHi
I’ve only just got round to fixing this.
I ended up removing the usb drive from the slug, reformatting it, unslinging and re-installing – and now it all works a treat. evne with sqlite2. at the moment 🙂
However, stupidly, I cant see that bd line to force it to sqlite 3 in the conf file! is is an option, and if so whats the syntax?
Thanks for the help all,
thanks again, iain
08/01/2008 at 6:38 AM #15081rpedde
Participant@iainjh wrote:
Hi
I’ve only just got round to fixing this.
I ended up removing the usb drive from the slug, reformatting it, unslinging and re-installing – and now it all works a treat. evne with sqlite2. at the moment 🙂
However, stupidly, I cant see that bd line to force it to sqlite 3 in the conf file! is is an option, and if so whats the syntax?
Thanks for the help all,
thanks again, iain
it’s the one called “db_type”.
change it from “sqlite” to “sqlite3”
— Ron
10/01/2008 at 9:22 PM #15082Anonymous
InactiveMy mt-daapd.conf didnt have that db_type line – I’ve added it. thanks 🙂
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.