Firefly stopped working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1622
    peteg9
    Participant

    My issues with my NSLU2 getting corrupted were chronicled in another thread. Thanks for your help resolving it. I finally had to reformat everything, flash the slug back to Linksys software and start over. After some work everything was up and Firefly served songs … for two days.

    Now, during a iTunes ripping session something happened and the slug locked up. Only thing I could do was pull its power. Luckily the slug came back up and seems fine. However Firefly is hosed. It now believes it has 0 songs in its database when there used to be 10400, and the scanner won’t run. I telnet’ed into it and the executing processes now look different than they did when it was installed. Grep output is now:

    ps -ef|grep mt-daapd
    935 ttyp1 guest 3944 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    936 ttyp1 guest 11832 D /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    945 ttyp1 guest 11832 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    946 ttyp1 guest 11832 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    948 ttyp1 root 2668 S grep mt-daapd

    The -c and everything after appears non-standard. I know little of Unix so have no clue what has changed or how to fix it. Any ideas how to get it running or absent that how do I remove all traces of Firefly from the slug so I can reload it all. I tried ipkg remove and then ipkg update / ipkg install but this had no beneficial effect.

    Thanks,

    Pete

    #12033
    rpedde
    Participant

    @peteg9 wrote:

    My issues with my NSLU2 getting corrupted were chronicled in another thread. Thanks for your help resolving it. I finally had to reformat everything, flash the slug back to Linksys software and start over. After some work everything was up and Firefly served songs … for two days.

    Now, during a iTunes ripping session something happened and the slug locked up. Only thing I could do was pull its power. Luckily the slug came back up and seems fine. However Firefly is hosed. It now believes it has 0 songs in its database when there used to be 10400, and the scanner won’t run. I telnet’ed into it and the executing processes now look different than they did when it was installed. Grep output is now:

    ps -ef|grep mt-daapd
    935 ttyp1 guest 3944 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    936 ttyp1 guest 11832 D /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    945 ttyp1 guest 11832 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    946 ttyp1 guest 11832 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    948 ttyp1 root 2668 S grep mt-daapd

    The -c and everything after appears non-standard. I know little of Unix so have no clue what has changed or how to fix it. Any ideas how to get it running or absent that how do I remove all traces of Firefly from the slug so I can reload it all. I tried ipkg remove and then ipkg update / ipkg install but this had no beneficial effect.

    Thanks,

    Pete

    That process list looks right. My guess is that either the music directory isn’t pointing to the right location, or the files in that directory aren’t world readable.

    this:

    http://forums.fireflymediaserver.org/viewtopic.php?t=6017

    is a good forum posting discussing setting permissions, if that’s what the issue is.

    — Ron

    #12034
    peteg9
    Participant

    Thanks Ron. I got it working again. I think either the configuration file or the music database got corrupted. I used ipkg install with the -force-reinstall option. That overwrote the configuration file and things started working again. Thanks for your help.

    Pete

    #12035
    rajt
    Participant

    I have installed Firefly on my Linkstation Live using the instructions on the following link:

    http://wiki.fireflymediaserver.org/Linkstation_Live_Pro_Install

    It seems to run fine for a few days, but then it stops playing so I need to restart the process.

    The unit is never rebooted (even if it where then it would restart the process). So I’m not sure why it is dying every few days.

    Help !!

    #12036
    rpedde
    Participant

    @rajt wrote:

    I have installed Firefly on my Linkstation Live using the instructions on the following link:

    http://wiki.fireflymediaserver.org/Linkstation_Live_Pro_Install

    It seems to run fine for a few days, but then it stops playing so I need to restart the process.

    The unit is never rebooted (even if it where then it would restart the process). So I’m not sure why it is dying every few days.

    Help !!

    The only thing I can think that might help would be to increase the log level in the config file and specify a logfile. When it dies, it will probably give you more info about why.

    Might also look at your /var/log/messages, as that may have the reason for it stopping as well.

    — Ron

    #12037
    rajt
    Participant

    Hi

    How would I change the config file to turn on logging?

    Also in /var/log/messages…which file do I check as there are quite a few?

    Thanks

    #12038
    rpedde
    Participant

    @rajt wrote:

    Hi

    How would I change the config file to turn on logging?

    Also in /var/log/messages…which file do I check as there are quite a few?

    Thanks

    http://server.ip.address:3689, then go to the config page, and set the options for log level and log file.

    As far as /var/log/messages, read /var/log/messages. the .1,.2, etc are all old messages — they get rotated and eventually deleted to keep from running out of disk space.

    — Ron

    #12039
    dovad
    Participant

    I installed Freelink on a Linkstation LS1 PPC version as well as svn-1696. I could not see Firefly at all with iTunes and reading here and on the NAS-Central forums I decided to upgrade the kernel to 2.6. Post install of 2.6 things started to work but Firefly crashes after playing 4 or 5 songs. I have the Linkstation on a wired network and the computers (mac’s & PC’s) are on the same switch. My error log from the last crash is as follows”

    2007-11-30 20:54:29 (3001e380): Firefly Version svn-1696: Starting with debuglevel 2
    2007-11-30 20:54:29 (3001e380): Plugin loaded: ssc-script/svn-1696
    2007-11-30 20:54:29 (3001e380): Plugin loaded: rsp/svn-1696
    2007-11-30 20:54:29 (3001e380): Plugin loaded: daap/svn-1696
    2007-11-30 20:54:29 (3001e380): Starting rendezvous daemon
    2007-11-30 20:54:29 (3001e380): Starting signal handler
    2007-11-30 20:54:29 (3001e380): Initializing database
    2007-11-30 20:54:49 (3001e380): Starting web server from /mnt/usr/local/share/mt-daapd/admin-root on port 3689
    2007-11-30 20:54:49 (3001e380): Registering rendezvous names
    2007-11-30 20:54:49 (3001e380): Serving 3529 songs. Startup complete in 21 seconds
    2007-11-30 20:54:49 (3001e380): Rescanning database
    2007-11-30 20:55:19 (3001e380): Starting playlist scan
    2007-11-30 20:55:54 (310294e0): Error: enum_begin failed (error 1): ?
    2007-11-30 20:56:25 (321ff4e0): Error: enum_begin failed (error 1): ?
    2007-11-30 20:56:57 (319ff4e0): Error: enum_begin failed (error 1): ?
    2007-11-30 20:57:28 (329ff4e0): Error: enum_begin failed (error 1): ?
    2007-11-30 20:57:59 (331ff4e0): Error: enum_begin failed (error 1): ?
    2007-11-30 20:58:31 (3001e380): Rendezvous socket closed (daap server crashed?) Aborting.
    2007-11-30 20:58:31: Aborting

    Note also that I have an iMac (running Leopard) using Chronosync (don’t yet have the savvy to setup rsync) to sync it’s library to the Linkstation every 29 minutes as there are Podcasts in the library as well and I’d like the latest to be present. The connection is provided by Samba on the Linkstation (can’t get afp to work even with Netatalk installed understand it’s a lack of SSL support on the Netatalk install and I bricked the Linkstation a couple of times trying to install SSL support). I’ve learned to un-brick a Linkstation with lots of experience and I’m also a pro at disassembly of a Linkstation (can remove that hard drive in 5 minutes flat)!

    My config file is as follows:

    [general]

    web_root = /mnt/usr/local/share/mt-daapd/admin-root

    port = 3689

    admin_pw = mt-daapd

    db_type = sqlite

    db_parms = /mnt/usr/local/var/cache/mt-daapd

    mp3_dir = /mnt/share/mp3

    servername = Firefly Lossless %v on %h

    runas = nobody

    extensions = .mp3,.m4a,.m4p

    ssc_codectypes = ogg,flac,alac

    ssc_prog = /usr/local/bin/mt-daapd-ssc.sh

    logfile = /var/log/mt-daapd.log

    rescan_interval = 1740

    scan_type = 2
    debuglevel = 2

    [plugins]
    plugin_dir = /mnt/usr/local/lib/mt-daapd/plugins

    [scanning]

    process_playlists = 1

    process_itunes = 1

    process_m3u = 1

    All I can say is HELP!

    #12040
    rpedde
    Participant

    @dovad wrote:

    I installed Freelink on a Linkstation LS1 PPC version as well as svn-1696. I could not see Firefly at all with iTunes and reading here and on the NAS-Central forums I decided to upgrade the kernel to 2.6. Post install of 2.6 things started to work but Firefly crashes after playing 4 or 5 songs. I have the Linkstation on a wired network and the computers (mac’s & PC’s) are on the same switch. My error log from the last crash is as follows”

    Drop back to 1586. That’s more stable.

    — Ron

    #12041
    dovad
    Participant

    Ron,

    Thanks! I’m back in business with 1586!

    Dave

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.