1696 on MSS+ Blank Configuration Screen in Web View

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues 1696 on MSS+ Blank Configuration Screen in Web View

Viewing 10 posts - 1 through 10 (of 11 total)
  • Author
    Posts
  • #1999
    squashuax
    Participant

    I was so happy with my MSS+ and Roku setup, that I went out and bought another for a friend. Mine is running 1673, and works perfectly. When I tried setting his up it automatically downloaded 1696, and I couldn’t get it working.

    Two observations: In the web configuration tool, the configuration tab is empty – nothing comes up. Another difference, on the server status tab, mine shows Bonjour “stoppped,” and his shows bonjour “running.”

    Can anyone explain to me how to switch his from 1696 to 1673? I think it might make it easier for me to get his system working. I’m using putty to telnet into the MSS+ and nano to edit, as described in the wiki.

    #14973
    rpedde
    Participant

    @squashuax wrote:

    I was so happy with my MSS+ and Roku setup, that I went out and bought another for a friend. Mine is running 1673, and works perfectly. When I tried setting his up it automatically downloaded 1696, and I couldn’t get it working.

    Two observations: In the web configuration tool, the configuration tab is empty – nothing comes up. Another difference, on the server status tab, mine shows Bonjour “stoppped,” and his shows bonjour “running.”

    Can anyone explain to me how to switch his from 1696 to 1673? I think it might make it easier for me to get his system working. I’m using putty to telnet into the MSS+ and nano to edit, as described in the wiki.

    Easiest way is to download the ipk manually and copy it over to the mss. Copy it to a share using a windows machine or whatever, and then do an ipkg install from the console of the mss+

    Not sure how the paths are on the mss+, but you should be able to get the ipkg from ipkg.mt-daapd.org, then save it in public on the mss.

    Then, from putty:

    cd /shares/mss-hdd/Public
    ipkg install mt-daapd_svn-1673-1_mipsel.ipk

    Or whatever the file is.

    — Ron

    #14974
    squashuax
    Participant

    Trying something new here. I upgraded to 1696, and I am running into some problems. I’m looking for help getting anything to work on MSS+. I now have two, my own, and one I bought for a friend, and neither is working. Any suggestions greatly appreciated!

    Here is the output from Putty:

    # opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-daapd/mt-daapd.conf -y &
    1110
    #
    # Config entry general/playlist is deprecated. Please review the sample config
    Firefly Version svn-1696: Starting with debuglevel 2
    Plugin loaded: rsp/svn-1696
    Plugin loaded: ssc-script/svn-1696
    Plugin loaded: daap/svn-1696
    Starting rendezvous daemon
    Starting signal handler
    Initializing database
    Starting web server from /shares/mss-hdd/__opt/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 4974 songs. Startup complete in 12 seconds
    Rescanning database
    Starting playlist scan
    Thread 0: Entering ws_returnerror (401: Unauthorized)
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): ?
    Error: enum_begin failed (error 1): Misc SQL Error: database is locked
    Error getting item count: Misc SQL Error: database is locked

    #
    # Error: enum_begin failed (error 1): ?

    #
    # ps
    PID Uid VmSize Stat Command
    1 root 296 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 48 S httpd
    107 root 20 S /usr/local/samba/sbin/smbd
    109 root 1528 S < /usr/local/samba/sbin/smbd
    110 root 528 S /usr/local/samba/sbin/nmbd
    197 root 128 S restore
    205 root 48 S hnscontrol
    211 root SW discoveryd
    213 root 232 S fanctl 47 65
    215 root 156 S utelnetd
    223 root 96 S netlink
    227 root 260 S mDNSResponderPosix -f /shares/mss-hdd/__bonjour/etc/r
    991 root 300 S /bin/sh
    1110 root 5640 S opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-
    1111 root 280 S opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-
    1112 root 5640 S opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-
    1113 root 5640 S opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-
    1198 root 5640 S opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-
    1199 root 648 R ps
    #

    #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

    #14976
    sonichouse
    Participant

    My guess (and it is only a hunch) is that this is due to the rescan happening while playing tracks.

    I set my scan interval to 0, and force a scan from the web inteface after I have added stuff.

    #14977
    squashuax
    Participant

    Good suggestion – I’d like to try it, but I can’t even get the server to start now. I’ve tried rebooting the server, and when I try to start everything, here is what happens:

    # 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
    Starting signal handler
    Couldn’t lookup user = guest
    Error in drop_privs: No such file or directory
    Aborting
    #
    # Couldn’t lookup user = guest

    #14978
    sonichouse
    Participant

    If you do cat /etc/passwd do you see the guest account ?

    If not, set the runas to a user that is configured in that list.

    Hopefully, that might get you a bit further

    #14979
    squashuax
    Participant

    I think something broke last night when I was trying everything I could think of to make it work. At one point, the MSS froze completely, and I could not access through Putty to send “reboot,” nor could I power down by holding the button on the front, nor could I reset using the paper clip switch in the back, so I had to pull the plug. I have a feeling something went wrong when I was making all of the changes. It’s like the MSS+ freaked out and sent a self destruct. Whatever happened, it forced me to reset my Linksys WRT54G wifi router (kudos to the folks at Cisco that walked me through the process at 2:00 AM last night) in order to get the network running again.

    I ended up running “ipkg remove mt-daapd” and then “ipkg update” and “ipkg install mt-daapd,” then followed the wiki again, but set database to sqlite3, and rescan to 0. Started the server, ran the scan (crashed once during scan, but I was able to start it back up) and now I’m serving again. 5 songs so far… have to see if it keeps working. Keeping my fingers crossed.

    All I want for Christmas is for Firefly to keep working on my MSS+!!!!

    Thanks for your help.

    #14980
    squashuax
    Participant

    Ok – so I get svn-1696 working on the system at my house by switching to sqlite3 and setting scan interval to 0…

    Then I try to set the same deal up at my friend’s house, and I get it working, but for some reason, the “configuration” screen in the web interface is still blank.

    Does the web interface depend on qany other programs, e.g. java or bonjour, running on the PC?

    Here is the output from a d9:

    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 856 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]
    198 root 180 S restore
    206 root 108 S hnscontrol
    211 root 288 S fanctl 47 65
    213 root 68 S discoveryd
    216 root 300 S utelnetd
    224 root 168 S netlink
    249 root 700 S /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-da
    250 root 1056 S /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-da
    254 root 1056 S /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-da
    255 root 1056 S /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-da
    482 root 544 S udhcpc -i eth0 -r 192.168.0.100 -p /var/run/udhcpc.pi
    531 root 1332 S httpd
    575 root 1972 S /usr/local/samba/sbin/smbd
    577 root 1772 S /usr/local/samba/sbin/nmbd
    584 root 588 S /bin/sh
    585 root 648 R ps
    #
    # 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 (/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 (/opt/var/mt-daapd)
    Found existing section
    Got general/mp3_dir, convert to general/mp3_dir (/shares/mss-hdd/Compaq_Owner/My Music/JSK Transport)
    Found existing section
    Found 1 tokens in /shares/mss-hdd/Compaq_Owner/My Music/JSK Transport
    Token 1: /shares/mss-hdd/Compaq_Owner/My Music/JSK Transport
    Got general/servername, convert to general/servername (trythis 1696)
    Found existing section
    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
    Expanding precomments to 2048
    Got general/rescan_interval, convert to general/rescan_interval (0)
    Found existing section
    Got general/always_scan, convert to general/always_scan (0)
    Found existing section
    Expanding precomments to 4096
    Got plugins/plugin_dir, convert to plugins/plugin_dir (/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
    Checking existence of /opt/share/mt-daapd/admin-root
    Checking existence of /opt/share/mt-daapd/admin-root
    Checking existence of /opt/var/mt-daapd
    Checking existence of /opt/var/mt-daapd
    Config entry general/playlist is deprecated. Please review the sample config
    Checking existence of /opt/share/mt-daapd/plugins
    Checking existence of /opt/share/mt-daapd/plugins
    Loading new config file.
    Firefly 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
    Starting signal handler
    Opening database
    Executing: select value from config where term=’version’
    Creating new db handle
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    Executing: select value from config where term=’rescan’
    Executing: vacuum
    Rows: 0
    Executing: create index idx_path on songs(path,idx)
    Query: create index idx_path on songs(path,idx)
    Error: index idx_path already exists
    Executing: create index idx_songid on playlistitems(songid)
    Query: create index idx_songid on playlistitems(songid)
    Error: index idx_songid already exists
    Executing: create index idx_playlistid on playlistitems(playlistid,songid)
    Query: create index idx_playlistid on playlistitems(playlistid,songid)
    Error: index idx_playlistid already exists
    Executing: select count(*) FROM songs
    Starting web server from /shares/mss-hdd/__opt/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Opening listen://3689
    Checking handler for listen
    opening 3689
    Doing io_listen_open
    Socket opened
    Error binding socket
    Listen port: socket/port in use
    Error starting web server
    Aborting
    # Processing rendezvous message
    Rendezvous socket closed (daap server crashed?) Aborting.
    Aborting

    #14981
    rpedde
    Participant

    @squashuax wrote:

    Error binding socket
    Listen port: socket/port in use
    Error starting web server

    This means you already have it running.

    Stop it completely (killall -9 mt-daapd), then probably get rid of the db for safety measures (rm /opt/var/mt-daapd/songs*) (is that the right path?). Then start it again, making sure that the scan_interval is set to 0.

    That should set you right.

    — Ron

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