Firefly fails immediately on running on NSLU2

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Firefly fails immediately on running on NSLU2

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2015
    Anonymous
    Inactive

    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:

    # <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.

    #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

    #15076
    Anonymous
    Inactive

    Hi

    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 127

    Then 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

    #15077
    sonichouse
    Participant

    Hi 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

    #15078
    Anonymous
    Inactive

    Hi

    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: Aborting

    I 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

    #15079
    fizze
    Participant

    svn-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 a

    ipkg install sqlite3

    sometime πŸ˜‰

    #15080
    Anonymous
    Inactive

    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

    #15081
    rpedde
    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

    #15082
    Anonymous
    Inactive

    My mt-daapd.conf didnt have that db_type line – I’ve added it. thanks πŸ™‚

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