Reply To: Firefly fails immediately on running on NSLU2

#15075
rpedde
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 done

ipkg 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