Reply To: Build firefly nightly on WL-500g

#8876
gusdesigns
Participant

@rpedde wrote:

What’s the uid of the admin account? Is it 0?

Make sure the db directory is world writable. Also, can you get a -d9 while you try and get the admin pages? Like, more detail around where it gives the “Read error: is a directory” or whatever error.

That would be helpful.

— Ron

Ron,

Where can I find the UID of the admin account?

Herunder the log of a startup; I end up with 4 running processes, but server cannot be reached from SB, iTunes or webinterface…


2007-04-14 07:39:46 (00000400): Firefly Version svn-1529: Starting with debuglevel 9
2007-04-14 07:39:46 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/rsp.so
2007-04-14 07:39:46 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/rsp.so (rsp/svn-1529)
2007-04-14 07:39:46 (00000400): New transcode codec list:
2007-04-14 07:39:46 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/out-daap.so
2007-04-14 07:39:46 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/out-daap.so (daap/svn-1529)
2007-04-14 07:39:46 (00000400): New transcode codec list:
2007-04-14 07:39:46 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/ssc-script.so
2007-04-14 07:39:46 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1529)
2007-04-14 07:39:46 (00000400): New transcode codec list: ogg,flac,alac
2007-04-14 07:39:46 (00000400): Plugin loaded: ssc-script/svn-1529
2007-04-14 07:39:46 (00000400): Plugin loaded: daap/svn-1529
2007-04-14 07:39:46 (00000400): Plugin loaded: rsp/svn-1529
2007-04-14 07:39:46 (00000400): Starting rendezvous daemon
2007-04-14 07:39:46 (00000400): Starting signal handler
2007-04-14 07:39:46 (00000400): select(9, 0.000976)
2007-04-14 07:39:46 (00000400): select(9, 0.232421)
2007-04-14 07:39:46 (00000400): Pid: 203
2007-04-14 07:39:46 (00000400): Opening database
2007-04-14 07:39:46 (00000400): Executing: select value from config where term='version'
2007-04-14 07:39:46 (00000400): Results: 0
2007-04-14 07:39:46 (00000400): Initializing database
2007-04-14 07:39:46 (00000400): Executing: select count(*) FROM songs
2007-04-14 07:39:46 (00000400): select(9, 0.098632)
2007-04-14 07:39:46 (00000400): select(9, 0.095703)
2007-04-14 07:39:46 (00000400): select(9, 0.000976)
2007-04-14 07:39:46 (00000400): select(9, 0.140625)
2007-04-14 07:39:47 (00000400): select(9, 0.099609)
2007-04-14 07:39:47 (00000400): select(9, 0.097656)
2007-04-14 07:39:47 (00000400): select(9, 0.000976)
2007-04-14 07:39:47 (00000400): select(9, 0.139648)
2007-04-14 07:39:47 (00000400): select(9, 0.099609)
2007-04-14 07:39:47 (00000400): select(9, 0.098632)
2007-04-14 07:39:47 (00000400): select(9, 0.000976)
2007-04-14 07:39:47 (00000400): select(9, 0.139648)
2007-04-14 07:39:47 (00000400): select(9, 0.000976)
2007-04-14 07:39:47 (00000400): select(9, 0.078125)
2007-04-14 07:39:47 (00000400): select(9, 0.895507)
2007-04-14 07:39:48 (00000400): select(9, 0.099609)
2007-04-14 07:39:48 (00000400): select(9, 0.098632)
2007-04-14 07:39:48 (00000400): select(9, 0.000976)
2007-04-14 07:39:48 (00000400): select(9, 1.889648)
2007-04-14 07:39:49 (00000400): Executing: select value from config where term='rescan'
2007-04-14 07:39:49 (00000400): Executing: vacuum
2007-04-14 07:39:50 (00000400): select(9, 0.099609)
2007-04-14 07:39:50 (00000400): select(9, 0.098632)
2007-04-14 07:39:50 (00000400): select(9, 0.000976)
2007-04-14 07:39:50 (00000400): select(9, 3.889648)
2007-04-14 07:39:54 (00000400): select(9, 0.099609)
2007-04-14 07:39:54 (00000400): select(9, 0.098632)
2007-04-14 07:39:54 (00000400): select(9, 0.000976)
2007-04-14 07:39:54 (00000400): select(9, 5.000000)
<<< this goes on for a while >>>
2007-04-14 08:15:51 (00000400): select(9, 4.999023)
2007-04-14 08:15:56 (00000400): select(9, 4.999023)
2007-04-14 08:16:02 (00000400): select(9, 4.889648)
2007-04-14 08:16:07 (00000400): select(9, 5.000000)
2007-04-14 08:16:10 (00000400): Rows: 0
2007-04-14 08:16:11 (00000400): Executing: create index idx_path on songs(path,idx)
2007-04-14 08:16:11 (00000400): Query: create index idx_path on songs(path,idx)
2007-04-14 08:16:11 (00000400): Error: index idx_path already exists
2007-04-14 08:16:11 (00000400): Executing: create index idx_songid on playlistitems(songid)
2007-04-14 08:16:11 (00000400): Query: create index idx_songid on playlistitems(songid)
2007-04-14 08:16:11 (00000400): Error: index idx_songid already exists
2007-04-14 08:16:11 (00000400): Executing: create index idx_playlistid on playlistitems(playlistid,songid)
2007-04-14 08:16:11 (00000400): Query: create index idx_playlistid on playlistitems(playlistid,songid)
2007-04-14 08:16:11 (00000400): Error: index idx_playlistid already exists
2007-04-14 08:16:11 (00000400): Starting web server from /opt/share/mt-daapd/admin-root on port 3689
2007-04-14 08:16:11 (00000400): Listening on port 3689
2007-04-14 08:16:12 (00000400): Starting server thread
2007-04-14 08:16:12 (00000400): select(9, 4.985351)
2007-04-14 08:16:17 (00000400): select(9, 5.000000)
<<< again for a while >>>
2007-04-14 08:19:22 (00000400): select(9, 5.000000)
2007-04-14 08:19:27 (00000400): select(9, 5.000000)
2007-04-14 08:19:28 (00000803): Thread 0: Entering ws_dispatcher (Connection from 192.168.1.108)
2007-04-14 08:19:28 (00000803): Thread 0: got request
2007-04-14 08:19:28 (00000803): Request: GET / HTTP/1.1
2007-04-14 08:19:28 (00000803): Thread 0: Read: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, applic$
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash$
2007-04-14 08:19:28 (00000803): Added *Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.$
2007-04-14 08:19:28 (00000803): Thread 0: Read: Accept-Language: en-us,en;q=0.5
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *Accept-Language=en-us,en;q=0.5*
2007-04-14 08:19:28 (00000803): Added *Accept-Language=en-us,en;q=0.5*
2007-04-14 08:19:28 (00000803): Thread 0: Read: UA-CPU: x86
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *UA-CPU=x86*
2007-04-14 08:19:28 (00000803): Added *UA-CPU=x86*
2007-04-14 08:19:28 (00000803): Thread 0: Read: Accept-Encoding: gzip, deflate
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *Accept-Encoding=gzip, deflate*
2007-04-14 08:19:28 (00000803): Added *Accept-Encoding=gzip, deflate*
2007-04-14 08:19:28 (00000803): Thread 0: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; InfoPath$
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; $
2007-04-14 08:19:28 (00000803): Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; InfoPath.1; .NET C$
2007-04-14 08:19:28 (00000803): Thread 0: Read: Host: 192.168.1.2:3689
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *Host=192.168.1.2:3689*
2007-04-14 08:19:28 (00000803): Added *Host=192.168.1.2:3689*
2007-04-14 08:19:28 (00000803): Thread 0: Read: Connection: Keep-Alive
2007-04-14 08:19:28 (00000803): Thread 0: Adding header *Connection=Keep-Alive*
2007-04-14 08:19:28 (00000803): Added *Connection=Keep-Alive*
2007-04-14 08:19:28 (00000803): Thread 0: Read:
2007-04-14 08:19:28 (00000803): Thread 0: Headers parsed!
2007-04-14 08:19:28 (00000803): Checking to see if connection matches close
2007-04-14 08:19:28 (00000803): And it does NOT
2007-04-14 08:19:28 (00000803): Thread 0: Connection type HTTP/1.1
: Connection: persist
2007-04-14 08:19:28 (00000803): Thread 0: Original URI: /
2007-04-14 08:19:28 (00000803): Thread 0: Translated URI: /
2007-04-14 08:19:28 (00000803): Thread 0: Preparing to find handler
2007-04-14 08:19:28 (00000803): Thread 0: Time is 1176538768 seconds after epoch
2007-04-14 08:19:28 (00000803): Thread 0: Setting time header
2007-04-14 08:19:28 (00000803): Added *Date=Sat, 14 Apr 2007 08:19:28 GMT*
2007-04-14 08:19:28 (00000803): Added *Connection=keep-alive*
2007-04-14 08:19:28 (00000803): Added *Server=mt-daapd/svn-1529*
2007-04-14 08:19:28 (00000803): Added *Content-Type=text/html*
2007-04-14 08:19:28 (00000803): Added *Content-Language=en_us*
2007-04-14 08:19:28 (00000803): Thread 0: Using default handler.
2007-04-14 08:19:28 (00000803): Thread 0: Preparing to serve /opt/share/mt-daapd/admin-root
2007-04-14 08:19:28 (00000803): Length of file is 4096
2007-04-14 08:19:28 (00000803): Added *Content-Length=4096*
2007-04-14 08:19:28 (00000803): Emitting reponse header Content-Length: 4096
2007-04-14 08:19:28 (00000803): Emitting reponse header Content-Language: en_us
2007-04-14 08:19:28 (00000803): Emitting reponse header Content-Type: text/html
2007-04-14 08:19:28 (00000803): Emitting reponse header Server: mt-daapd/svn-1529
2007-04-14 08:19:28 (00000803): Emitting reponse header Connection: keep-alive
2007-04-14 08:19:28 (00000803): Emitting reponse header Date: Sat, 14 Apr 2007 08:19:28 GMT
2007-04-14 08:19:28 (00000803): Read error: Is a directory
2007-04-14 08:19:28 (00000803): Exiting ws_defaulthandler: Thread 0: Served successfully
2007-04-14 08:19:28 (00000803): Thread 0: Terminating
2007-04-14 08:19:28 (00000803): Thread 0: Freeing request headers
2007-04-14 08:19:28 (00000803): Thread 0: Freeing response headers
2007-04-14 08:19:28 (00000803): Thread 0: Freeing request vars
2007-04-14 08:19:32 (00000400): select(9, 5.000000)
2007-04-14 08:19:37 (00000400): select(9, 5.000000)
2007-04-14 08:19:42 (00000400): select(9, 5.000000)

I hope you can see the error from this…

Thanks!!!!