You are here: Home » Reply » Reply To: svn-1696 on NSLU2 crashes when I have it start a scan

Reply To: svn-1696 on NSLU2 crashes when I have it start a scan

#14352
Anonymous
Inactive

Hi Ron,

There are also two db backends — sqlite and sqlite3. If one doesn’t work, it might be worth trying the other, just to see if it’s more stable.

I’d be interested to hear any results on that.

I changed from sqlite to sqlite3 in mt-daapd.conf. as recommended by you Ron.

This seems to have helped. I had changed my scan interval to be 86400 (24 hours) to minimise potential conflicts with the scan whilst actually using the media server. I set off a manual scan from the web interface whilst playing songs and for the first time it has not caused the server to crash within 10 minutes.

The only thing I’ve noticed is that a re-scan seems to send the song count on the web interface into silly numbers

Arrgg! It’s just crashed again:


2007-11-12 13:07:15 (00000400): Firefly Version svn-1696: Starting with debuglev
2007-11-12 13:07:15 (00000400): Plugin loaded: ssc-script/svn-1696
2007-11-12 13:07:15 (00000400): Plugin loaded: daap/svn-1696
2007-11-12 13:07:15 (00000400): Plugin loaded: rsp/svn-1696
2007-11-12 13:07:15 (00000400): Starting rendezvous daemon
2007-11-12 13:07:15 (00000400): Starting signal handler
2007-11-12 12:34:24 (00000400): Error reading: Unknown error
2007-11-12 12:34:24 (00000400): Skipping /public/Music/iTunes/iTunes Music/Red H
2007-11-12 12:34:25 (00000400): Error reading: Unknown error
2007-11-12 12:34:25 (00000400): Skipping /public/Music/iTunes/iTunes Music/Red H
2007-11-12 12:35:49 (000b8003): Session 0: Streaming file '08 Chelsea Walk.mp3'
2007-11-12 12:35:50 (00000400): Error reading: Unknown error
2007-11-12 12:35:50 (00000400): Skipping /public/Music/iTunes/iTunes Music/Norah
2007-11-12 12:39:00 (000c1403): Session 0: Streaming file '09 Outside of a Circl
2007-11-12 12:41:10 (00000400): Error reading: Unknown error
2007-11-12 12:41:10 (00000400): Skipping /public/Music/iTunes/iTunes Music/Bruce
2007-11-12 12:41:35 (000c9c04): Session 0: Streaming file '01 Concrete Jungle.mp
2007-11-12 12:41:36 (000c1403): Write error: Broken pipe
2007-11-12 12:42:47 (00000400): Starting playlist scan
2007-11-12 12:45:55 (000d5404): Session 0: Streaming file '03 400 Years.mp3' to
2007-11-12 12:47:56 (000d5404): Write error: Broken pipe
2007-11-12 12:47:56 (000e2403): Session 0: Streaming file '04 Stop the Train.mp3
2007-11-12 12:48:33 (000e2403): Write error: Broken pipe
2007-11-12 12:48:39 (000e5003): Session 0: Streaming file '05 Baby We've Got a D
2007-11-12 12:49:11 (000e5003): Write error: Broken pipe
2007-11-12 12:49:34 (000e6404): Error: enum_begin failed (error 1): ?
2007-11-12 12:50:04 (000e6805): Error: enum_begin failed (error 1): Misc SQL Err
2007-11-12 12:50:05 (00000400): Rendezvous socket closed (daap server crashed?)
2007-11-12 12:50:05: Aborting

And then again, mid-stream:

2007-11-12 13:13:42 (00012403): Session 0: Streaming file '01 Trench Town Rock.m
2007-11-12 13:14:04 (00000400): Error reading: Unknown error
2007-11-12 13:14:04 (00000400): Skipping /public/Music/iTunes/iTunes Music/Norah
2007-11-12 13:17:41 (0001dc03): Session 0: Streaming file '02 Burnin' and Lootin
2007-11-12 13:19:22 (00000400): Error reading: Unknown error
2007-11-12 13:19:22 (00000400): Skipping /public/Music/iTunes/iTunes Music/Bruce
2007-11-12 13:20:56 (00000400): Starting playlist scan
2007-11-12 13:23:15 (0002cc03): Session 0: Streaming file '04 Lively Up Yourself
2007-11-12 13:27:25 (00037004): Error: enum_begin failed (error 1): ?
2007-11-12 13:28:25 (00037805): Error: enum_begin failed (error 1): Misc SQL Err
2007-11-12 13:28:25 (00000400): Rendezvous socket closed (daap server crashed?)
2007-11-12 13:28:25: Aborting
~

So not ideal but better. I had reset the scan time to 600 secs but will change this to 24 hours again and see if that helps.

As an aside it also seem easier to restart mt-daapd. Before when it crashed, issuing the /opt/etc/init.d/S60mt-daapd command would not always work (two of the four processes only would start)and I would need to turn off the NSLU2 and reboot.

Also, sometimes, when things don’t seem quite right, I seem to have quite a few processes running:


1735 ttyp0 guest 4012 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1736 ttyp0 guest 17952 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1739 ttyp0 guest 17952 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1740 ttyp0 guest 17952 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1878 ttyp0 guest 17952 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1879 ttyp0 guest 17952 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1890 ttyp0 guest 17952 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
1892 ttyp0 root 2668 S grep mt-daapd

Just thinking aloud I’ve also put all my music into /public to aid transfer within XP environment. I’ve resolved necessary permissions and obviously configured mt-daapd to look here.

Anyway, sorry for rambling but it does seem to be this MIsc SQL Error that kicks of the abort.

Cheers,