Unable to start firefly 1586 server on unslung NSLU2

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Unable to start firefly 1586 server on unslung NSLU2

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1414
    creese
    Participant

    This is my first foray into Linux and so I am running into some problems (some of them my own fault i am guessing). My M1001 can see my itunes and play music as long as itunes is running (but defeats the purpose of this whole exercise).

    My configuration is as follows:
    mt-daapd/Firefly Version: nightly 1586
    Server Operating System: Latest Unslung build 6.8 Beta
    Server Hardware: NSLU2
    Client Device: Roku Soundbridge M1001, iTunes 7.1 for Windows and wireless access point

    I have unslung to a NSLU EXT3 formatted drive on port 2. Initially i installed through ipkg the stable firefly. I had some problems with it seeing all of my music and playlists. I did some searches and thought i needed to get the latest nightly build. I used the following to get nightly
    # echo “src firefly http://ipkg.fireflymediaserver.org/armeb” > /etc/ipkg/firefly.conf
    # ipkg update
    # ipkg install mt-daapd

    my mp3 directory is pointing to
    /share/flash/data/mp3/itunes

    now when i try and start i get the following in the log errors:

    2007-05-21 23:18:32 (00000400): Firefly Version svn-1586: Starting with debuglevel 2
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/lib/firefly. Ignoring
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/lib/mt-daapd. Ignoring
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/share/firefly/plugins. Ignoring
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/share/mt-daapd/plugins. Ignoring
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/local/share/firefly/plugins. Ignoring
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/local/share/mt-daapd/plugins. Ignoring
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /opt/share/firefly/plugins. Ignoring
    2007-05-21 23:18:33 (00000400): Error loading plugin /opt/share/mt-daapd/plugins/ssc-script.so: plugin declined to load
    2007-05-21 23:18:33 (00000400): Plugin loaded: daap/svn-1586
    2007-05-21 23:18:33 (00000400): Plugin loaded: rsp/svn-1586
    2007-05-21 23:18:33 (00000400): Starting rendezvous daemon
    2007-05-21 23:18:33 (00000400): Starting signal handler
    2007-05-21 23:18:33 (00000400): db_sqlite2_open: unable to open database: /var/cache/mt-daapd/songs.db (/var/cache/mt-daapd/songs.db)
    2007-05-21 23:18:33 (00000400): Error opening db: Misc SQL Error: unable to open database: /var/cache/mt-daapd/songs.db

    I would like to use my iTunes XML file to run playlists but will settle for incremental successes at this point.

    I am just not sure where to go from here.

    #10851
    Anonymous
    Inactive

    absolutely not a linux type myself but unlung just recently. From what you’re saying, you have the unslung os on the one attached ext3 drive. Correct?

    if so, then (as far as I have read with existing documentation)

    my mp3 directory is pointing to
    /share/flash/data/mp3/itunes

    should be

    /share/hdd/data/mp3/

    and I think the /itunes/ is not necessary.

    I would like to use my iTunes XML file to run playlists but will settle for incremental successes at this point.

    my .xml file sits in the mp3 folder as a standalone item.

    I may of course be way off the mark with this being a linux newbie & of course I’m assuming you have just the one drive hooked up to the slug and not a flash drive running the os…

    be interested to know if that fixes things though

    😯

    #10852
    rpedde
    Participant

    @creese wrote:

    2007-05-21 23:18:32 (00000400): Firefly Version svn-1586: Starting with debuglevel 2
    2007-05-21 23:18:33 (00000400): Error opening plugin dir /usr/lib/firefly. Ignoring

    So you’ve got a couple problems right from the get-go. Looks like you have the old config file loaded, and didn’t overwrite it when you installed nightlies.

    So reinstall the nightly with –force, and let it overwrite the config file.

    2007-05-21 23:18:33 (00000400): db_sqlite2_open: unable to open database: /var/cache/mt-daapd/songs.db (/var/cache/mt-daapd/songs.db)
    2007-05-21 23:18:33 (00000400): Error opening db: Misc SQL Error: unable to open database: /var/cache/mt-daapd/songs.db

    Permissions look wrong or something on that directory. Normally the cache dir is /opt/var/cache/mt-daapd, so I think you must have changed it.

    So make sure it exists and is writable by the guest user.

    foo@bar# mkdir /var/cache/mt-daapd
    foo@bar# chmod 777 /var/cache/mt-daapd

    will do it at the expense of being insecure if the box is used for multi-user stuff (which I’d guess it isn’t).

    — Ron

    #10853
    creese
    Participant

    Thanks for the help.
    I forced a reinstall of mt-daapd and overwrote the config. I can now access my music folders through M1001 (I haven’t attemped playlists yet). This was my log file on startup
    2007-05-22 18:11:33 (00000400): Firefly Version svn-1586: Starting with debuglevel 2
    2007-05-22 18:11:33 (00000400): Plugin loaded: ssc-script/svn-1586
    2007-05-22 18:11:33 (00000400): Plugin loaded: daap/svn-1586
    2007-05-22 18:11:33 (00000400): Plugin loaded: rsp/svn-1586
    2007-05-22 18:11:33 (00000400): Starting rendezvous daemon
    2007-05-22 18:11:33 (00000400): Starting signal handler
    2007-05-22 18:11:34 (00000400): mDNSPlatformRawTime went backwards by 5 ticks; setting correction factor to -394180754
    2007-05-22 18:11:34 (00000400): Error: enum_begin failed (error 1): Misc SQL Error: no such table: config2007-05-22 18:11:34 (00000400): Can’t get db version. New database?
    2007-05-22 18:11:34 (00000400): Initializing database
    2007-05-22 18:11:34 (00000400): Error: enum_begin failed (error 1): ?
    2007-05-22 18:11:34 (00000400): Error: enum_begin failed (error 1): ?
    2007-05-22 18:11:34 (00000400): Full reload…
    2007-05-22 18:11:34 (00000400): Starting web server from /opt/share/mt-daapd/admin-root on port 3689
    2007-05-22 18:11:34 (00000400): Registering rendezvous names
    2007-05-22 18:11:34 (00000400): Serving 0 songs. Startup complete in 1 seconds
    2007-05-22 18:11:34 (00000400): Rescanning database
    2007-05-22 18:11:35 (00000400): mDNSPlatformRawTime went backwards by 6 ticks; setting correction factor to -394180748
    2007-05-22 18:11:36 (00000400): mDNSPlatformRawTime went backwards by 4 ticks; setting correction factor to -394180744
    2007-05-22 18:12:54 (00000400): Starting playlist scan
    2007-05-22 18:12:54 (00000400): Updating playlists
    2007-05-22 18:12:54 (00000400): Scanned 2297 songs (was 0) in 80 seconds

    I cant get the webpage to load on 192.168.1.77:3689, are any of my errors related to this? ( I havent had a chance to search the forums for this problem yet)

    #10854
    fizze
    Participant

    Actually the log looks fine.

    The warnings in bold are alright for a first time boot, or upgrade.

    #10855
    creese
    Participant

    When i got home today both the playlists and webpage are now working. I guess it just needed more time. Thanks again for the help.

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