Reply To: 1696 on MSS+ Blank Configuration Screen in Web View

#14975
squashuax
Participant

After reading the forums, I switched to SQLITE3, and set rescan interval to 6000 seconds, and that seemed to help. When I started the Roku this morning, all of my iTunes playlists were in place, and everything indexed quickly. Then, after streaming two songs, everything stopped working. Here is what I am seeing via Telnet:

BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
Enter ‘help’ for a list of built-in commands.

# ps
PID Uid VmSize Stat Command
1 root 336 S init
2 root SW< [keventd]
3 root SWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
7 root SW [mtdblockd]
8 root SW [khubd]
13 root SW< [mdrecoveryd]
26 root SW [eth0_link_event]
32 root SW [gpio_out_pulse]
33 root SW [button_notify_u]
36 root SW< [ksed]
37 root SW [ksechanged]
41 root SW< [raid1d]
46 root SW< [raid1d]
49 root SW [kreiserfsd]
78 root 164 S httpd
107 root 232 S /usr/local/samba/sbin/smbd
109 root 580 S /usr/local/samba/sbin/nmbd
196 root 132 S restore
204 root 72 S hnscontrol
209 root 236 S fanctl 47 65
211 root 120 S discoveryd
214 root 300 S utelnetd
222 root 116 S netlink
226 root 264 S mDNSResponderPosix -f /shares/mss-hdd/__bonjour/etc/r
305 root 184 S /bin/printd
410 root 920 S < /usr/local/samba/sbin/smbd
4954 root 588 S /bin/sh
4955 root 648 R ps
#
# /opt/etc/init.d/S60mt-daapd
pidof: not found
Error opening logfile: No such file or directory#
# cat /opt/etc/mt-daapd/mt-daapd.conf
# $Id: mt-daapd.conf,v 1.3 2005/02/15 03:35:19 rpedde Exp $

web_root = /shares/mss-hdd/__opt/share/mt-daapd/admin-root

port = 3689

admin_pw = mt-daapd

db_type = sqlite3

db_parms = /shares/mss-hdd/__opt/var/mt-daapd

mp3_dir = /shares/mss-hdd/Compaq_Owner/My Music/iTunes/iTunes Music/

runas = guest

playlist = /opt/etc/mt-daapd/mt-daapd.playlist

extensions = .mp3,.m4a,.m4p,.ogg,.flac

ssc_codectypes = ogg,flac,alac

ssc_prog = /opt/sbin/mt-daapd-ssc.sh

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

rescan_interval = 6000

always_scan = 0

scan_type = 0

servername = jTunes 1696

[plugins]
plugin_dir = /shares/mss-hdd/__opt/share/mt-daapd/plugins
plugins = rsp.so,ssc-script.so
[scanning]
skip_first = 1
#
#

#
# opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-daapd/mt-daapd.conf -y -d9
Loading config file /shares/mss-hdd/__opt/etc/mt-daapd/mt-daapd.conf
Opening file:///shares/mss-hdd/__opt/etc/mt-daapd/mt-daapd.conf?ascii=1
Checking handler for file
opening /shares/mss-hdd/__opt/etc/mt-daapd/mt-daapd.conf
Config file open
Got general/web_root, convert to general/web_root (= /shares/mss-hdd/__opt/share/mt-daapd/admin-root)
Found existing section
Got general/port, convert to general/port (= 3689)
Found existing section
Got general/admin_pw, convert to general/admin_pw (= mt-daapd)
Found existing section
Got general/db_type, convert to general/db_type (= sqlite3)
Found existing section
Got general/db_parms, convert to general/db_parms (= /shares/mss-hdd/__opt/var/mt-daapd)
Found existing section
Got general/mp3_dir, convert to general/mp3_dir (= /shares/mss-hdd/Compaq_Owner/My Music/iTunes/iTunes Music/)
Found existing section
Found 1 tokens in = /shares/mss-hdd/Compaq_Owner/My Music/iTunes/iTunes Music/
Token 1: = /shares/mss-hdd/Compaq_Owner/My Music/iTunes/iTunes Music/
Got general/runas, convert to general/runas (= guest)
Found existing section
Got general/playlist, convert to general/playlist (= /opt/etc/mt-daapd/mt-daapd.playlist)
Found existing section
Got general/extensions, convert to general/extensions (= .mp3,.m4a,.m4p,.ogg,.flac)
Found existing section
Got general/ssc_codectypes, convert to general/ssc_codectypes (= ogg,flac,alac)
Found existing section
Got general/ssc_prog, convert to general/ssc_prog (= /opt/sbin/mt-daapd-ssc.sh)
Found existing section
Got general/logfile, convert to general/logfile (= /var/log/mt-daapd.log)
Found existing section
Got general/rescan_interval, convert to general/rescan_interval (= 6000)
Found existing section
Got general/always_scan, convert to general/always_scan (= 0)
Found existing section
Got general/scan_type, convert to general/scan_type (= 0)
Found existing section
Got general/servername, convert to general/servername (= jTunes 1696)
Found existing section
Got plugins/plugin_dir, convert to plugins/plugin_dir (/shares/mss-hdd/__opt/share/mt-daapd/plugins)
Found existing section
Got plugins/plugins, convert to plugins/plugins (rsp.so,ssc-script.so)
Found existing section
Found 2 tokens in rsp.so,ssc-script.so
Token 1: rsp.so
Token 2: ssc-script.so
Got scanning/skip_first, convert to scanning/skip_first (1)
Found existing section
Checking existence of = /shares/mss-hdd/__opt/share/mt-daapd/admin-root
Creating = /shares/mss-hdd/__opt/share/mt-daapd/admin-root
Checking existence of /shares
Checking existence of /shares/mss-hdd
Checking existence of /shares/mss-hdd/__opt
Checking existence of /shares/mss-hdd/__opt/share
Checking existence of /shares/mss-hdd/__opt/share/mt-daapd
Checking existence of /shares/mss-hdd/__opt/share/mt-daapd/admin-root
Checking existence of = /shares/mss-hdd/__opt/share/mt-daapd/admin-root
Checking existence of = /shares/mss-hdd/__opt/var/mt-daapd
Creating = /shares/mss-hdd/__opt/var/mt-daapd
Checking existence of /shares
Checking existence of /shares/mss-hdd
Checking existence of /shares/mss-hdd/__opt
Checking existence of /shares/mss-hdd/__opt/var
Checking existence of /shares/mss-hdd/__opt/var/mt-daapd
Checking existence of = /shares/mss-hdd/__opt/var/mt-daapd
Config entry general/playlist is deprecated. Please review the sample config
Checking existence of /shares/mss-hdd/__opt/share/mt-daapd/plugins
Checking existence of /shares/mss-hdd/__opt/share/mt-daapd/plugins
Loading new config file.
Opening file://%3d+/var/log/mt-daapd.log?mode=a&ascii=1
Checking handler for file
opening = /var/log/mt-daapd.log
Error opening logfile: No such file or directoryFirefly Version svn-1696: Starting with debuglevel 9
Attempting to load plugin /shares/mss-hdd/__opt/share/mt-daapd/plugins/out-daap.so
Loaded plugin /shares/mss-hdd/__opt/share/mt-daapd/plugins/out-daap.so (daap/svn-1696)
New transcode codec list:
Attempting to load plugin /shares/mss-hdd/__opt/share/mt-daapd/plugins/ssc-script.so
Loaded plugin /shares/mss-hdd/__opt/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1696)
New transcode codec list: = ogg,flac,alac
Attempting to load plugin /shares/mss-hdd/__opt/share/mt-daapd/plugins/rsp.so
Loaded plugin /shares/mss-hdd/__opt/share/mt-daapd/plugins/rsp.so (rsp/svn-1696)
New transcode codec list: = ogg,flac,alac
Plugin loaded: rsp/svn-1696
Plugin loaded: ssc-script/svn-1696
Plugin loaded: daap/svn-1696
Starting rendezvous daemon
Couldn’t lookup user = guest
Starting signal handler
Couldn’t lookup user = guest
Error in drop_privs: No such file or directory
Aborting
#
# LD_LIBRARY_PATH=/opt/lib /opt/bin/nano /opt/etc/init.d/S60mt-daapd
GNU nano 2.0.6 File: /opt/etc/init.d/S60mt-daapd Modified

#!/bin/sh

# make sure our shared libraries are in the path.
# if we get /etc/ld.so.conf working, this export
# can be removed
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib

if [ -n “`pidof mt-daapd`” ] ; then
killall mt-daapd 2>/dev/null
fi

sleep 2
/opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf

# cat /var/log/mt-daapd.log
2007-12-22 23:08:13 (00000400): Firefly Version svn-1696: Starting with debuglevel 2
2007-12-22 23:08:13 (00000400): Plugin loaded: rsp/svn-1696
2007-12-22 23:08:13 (00000400): Plugin loaded: ssc-script/svn-1696
2007-12-22 23:08:13 (00000400): Plugin loaded: daap/svn-1696
2007-12-22 23:08:13 (00000400): Starting rendezvous daemon
2007-12-22 23:08:13 (00000400): Starting signal handler
2007-12-22 23:08:14 (00000400): Error: enum_begin failed (error 1): Misc SQL Error: no such table: config
2007-12-22 23:08:14 (00000400): Can’t get db version. New database?
2007-12-22 23:08:14 (00000400): Initializing database
2007-12-22 23:08:14 (00000400): Error: enum_begin failed (error 1): ?
2007-12-22 23:08:24 (00000400): Starting web server from /shares/mss-hdd/__opt/share/mt-daapd/admin-root on port 3689
2007-12-22 23:08:24 (00000400): Registering rendezvous names
2007-12-22 23:08:25 (00000400): Serving 4974 songs. Startup complete in 12 seconds
2007-12-23 02:12:26 (00000803): Thread 0: Entering ws_returnerror (401: Unauthorized)
2007-12-23 02:22:54 (00008803): Session 0: Streaming file ‘1-19 The Passenger.m4a’ to 192.168.1.100 (offset 0)
2007-12-23 02:22:54 (00008803): Write error: Broken pipe
2007-12-23 02:22:55 (00008c03): Session 0: Streaming file ‘1-19 The Passenger.m4a’ to 192.168.1.100 (offset 215870)
2007-12-23 02:22:55 (00008c03): Write error: Broken pipe
2007-12-23 02:22:55 (00009003): Session 0: Streaming file ‘1-19 The Passenger.m4a’ to 192.168.1.100 (offset 610881)
2007-12-23 02:22:59 (00009003): Write error: Broken pipe
2007-12-23 02:23:15 (00009403): Thread 35: Entering ws_returnerror (401: Unauthorized)
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songalbumartist
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songcategory
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songextradata
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songcontentdescription
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songlongcontentdescription
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songkeywords
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.is-podcast
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.mediakind
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.series-name
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.network-name
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.episode-num-str
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.episode-sort
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.season-num
2007-12-23 02:24:10 (0000e003): Unknown meta code: daap.songgapless
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.gapless-enc-del
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.gapless-heur
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.gapless-enc-dr
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.gapless-dur
2007-12-23 02:24:10 (0000e003): Unknown meta code: com.apple.itunes.gapless-resy
2007-12-23 02:24:19 (0000e003): Unknown meta code: com.apple.itunes.is-podcast-playlist
2007-12-23 02:24:19 (0000e003): Unknown meta code: com.apple.itunes.special-playlist
2007-12-23 02:25:24 (0000e404): Session 0: Streaming file ’03 Thunderstruck.m4a’ to 192.168.1.101 (offset 0)
2007-12-23 02:25:27 (0000e404): Write error: Connection reset by peer
2007-12-23 02:25:28 (0000e804): Session 0: Streaming file ’03 What Do You Do For Money Honey.m4a’ to 192.168.1.101 (offset 0)
2007-12-23 02:25:30 (0000e804): Write error: Connection reset by peer
2007-12-23 02:25:30 (0000ec04): Session 0: Streaming file ’03 I Do, I Do, I Do, I Do, I Do.m4a’ to 192.168.1.101 (offset 0)
2007-12-23 02:25:36 (0000ec04): Write error: Connection reset by peer
2007-12-23 02:25:45 (0000e003): Thread 54: could not read: Unknown error
2007-12-23 02:26:12 (0000f003): Thread 58: Entering ws_returnerror (401: Unauthorized)
2007-12-23 02:26:26 (00000400): Rescanning database
2007-12-23 02:34:14 (00000400): Starting playlist scan
2007-12-23 02:38:40 (00036403): Error: enum_begin failed (error 1): ?
2007-12-23 02:39:16 (00036803): Error: enum_begin failed (error 1): ?
2007-12-23 02:39:51 (00036c03): Error: enum_begin failed (error 1): ?
2007-12-23 02:40:27 (00037003): Error: enum_begin failed (error 1): ?
2007-12-23 02:41:02 (00037403): Error: enum_begin failed (error 1): ?
2007-12-23 02:41:37 (00037803): Error: enum_begin failed (error 1): ?
2007-12-23 02:42:13 (00037c03): Error: enum_begin failed (error 1): ?
2007-12-23 02:42:48 (00038003): Error: enum_begin failed (error 1): ?
2007-12-23 02:43:23 (00038403): Error: enum_begin failed (error 1): ?
2007-12-23 02:43:59 (00038803): Error: enum_begin failed (error 1): ?
2007-12-23 02:44:34 (00038c03): Error: enum_begin failed (error 1): ?
2007-12-23 02:45:10 (00039003): Error: enum_begin failed (error 1): ?
2007-12-23 02:45:45 (00039403): Error: enum_begin failed (error 1): ?
2007-12-23 02:46:20 (00039803): Error: enum_begin failed (error 1): ?
2007-12-23 02:46:56 (00039c03): Error: enum_begin failed (error 1): ?
2007-12-23 02:47:31 (0003a003): Error: enum_begin failed (error 1): ?
2007-12-23 02:48:06 (0003a403): Error: enum_begin failed (error 1): ?
2007-12-23 02:48:42 (0003a803): Error: enum_begin failed (error 1): ?
2007-12-23 02:49:17 (0003ac03): Error: enum_begin failed (error 1): ?
2007-12-23 02:49:52 (0003b003): Error: enum_begin failed (error 1): ?
2007-12-23 02:50:28 (0003b403): Error: enum_begin failed (error 1): ?
2007-12-23 02:50:29 (00000400): Updating playlists
2007-12-23 02:51:03 (0003b803): Error: enum_begin failed (error 1): ?
2007-12-23 02:51:39 (0003bc03): Error: enum_begin failed (error 1): ?
2007-12-23 02:51:41 (00000400): Updating playlists
2007-12-23 02:51:42 (00000400): Updating playlists
2007-12-23 02:51:43 (00000400): Updating playlists
2007-12-23 02:52:14 (0003c003): Error: enum_begin failed (error 1): ?
2007-12-23 02:52:14 (00000400): Updating playlists
2007-12-23 02:52:15 (00000400): Updating playlists
2007-12-23 02:52:19 (00000400): Updating playlists
2007-12-23 02:52:50 (0003c403): Error: enum_begin failed (error 1): ?
2007-12-23 02:53:25 (0003c803): Error: enum_begin failed (error 1): ?
2007-12-23 02:54:00 (0003cc03): Error: enum_begin failed (error 1): ?
2007-12-23 02:54:36 (0003d003): Error: enum_begin failed (error 1): ?
2007-12-23 02:55:11 (0003d403): Error: enum_begin failed (error 1): ?
2007-12-23 02:55:47 (0003d803): Error: enum_begin failed (error 1): ?
2007-12-23 02:56:22 (0003dc03): Error: enum_begin failed (error 1): ?
2007-12-23 02:56:25 (00000400): Updating playlists
2007-12-23 02:56:26 (00000400): Updating playlists
2007-12-23 02:56:26 (00000400): Updating playlists
2007-12-23 02:56:57 (0003e003): Error: enum_begin failed (error 1): ?
2007-12-23 02:56:57 (00000400): Updating playlists
2007-12-23 02:56:58 (00000400): Updating playlists
2007-12-23 02:56:59 (00000400): Updating playlists
2007-12-23 02:57:00 (00000400): Updating playlists
2007-12-23 02:57:33 (0003e403): Error: enum_begin failed (error 1): ?
2007-12-23 02:57:37 (00000400): Updating playlists
2007-12-23 02:58:08 (0003e803): Error: enum_begin failed (error 1): ?
2007-12-23 02:58:08 (00000400): Updating playlists
2007-12-23 02:58:09 (00000400): Updating playlists
2007-12-23 02:58:10 (00000400): Updating playlists
2007-12-23 02:58:11 (00000400): Updating playlists
2007-12-23 02:58:11 (00000400): Updating playlists
2007-12-23 02:58:24 (00000400): Updating playlists
2007-12-23 02:58:25 (00000400): Scanned 4974 songs (was 4974) in 1919 seconds
2007-12-23 06:17:06 (00455c03): Session 0: Streaming file ’01 Whatever Happened To Christmas.m4a’ to 192.168.1.100 (offset 0)
2007-12-23 06:19:43 (00456403): Session 0: Streaming file ’02 Christmas Song.m4a’ to 192.168.1.100 (offset 0)
2007-12-23 06:21:59 (00456804): Thread 4440: Entering ws_returnerror (401: Unauthorized)
2007-12-23 06:22:37 (00000400): Rescanning database
2007-12-23 06:23:03 (0045dc03): Session 0: Streaming file ’03 Christmastime.m4a’ to 192.168.1.100 (offset 0)
2007-12-23 06:24:27 (00000400): Starting playlist scan
2007-12-23 06:26:49 (0045ec03): Session 0: Streaming file ’04 I’ll Be Home For Christmas.m4a’ to 192.168.1.100 (offset 0)
2007-12-23 06:30:33 (00460007): Thread 4478: Entering ws_returnerror (401: Unauthorized)
2007-12-23 06:30:49 (0045f004): Error: enum_begin failed (error 1): Misc SQL Error: database is locked
2007-12-23 06:30:50 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
2007-12-23 06:30:50: Aborting