You are here: Home » Topic » Build firefly nightly on WL-500gpage 4

Build firefly nightly on WL-500g

This topic contains 79 replies, has 8 voices, and was last updated by  rpedde 11 years, 9 months ago.

Viewing 15 posts - 46 through 60 (of 80 total)
  • Author
    Posts
  • #8872

    rpedde
    Participant

    @Aborigine wrote:

    Just installed but after modifying the .conf when I run it by

    /opt/etc/init.d/S60mt-daapd

    I get the error:

    /opt/sbin/mt-daapd: linked against GNU libc!

    and no sign of a running process.

    The only ref to this I can find from the Asus forums is that the Asus uses uClibc rather than Glibc

    Hmm.. it should be linked against uclibc. Are you sure some of the dependant libraries aren’t actually the problem?

    Does your machine have “ldd”? Can you check them that way?

    #8873

    Anonymous

    @rpedde wrote:

    Does your machine have “ldd”? Can you check them that way?

    No I don’t have ldd. Are there particular libraries I should check for?

    #8874

    rpedde
    Participant

    @Aborigine wrote:

    @rpedde wrote:

    Does your machine have “ldd”? Can you check them that way?

    No I don’t have ldd. Are there particular libraries I should check for?

    No, just wondering where the flac, ogg, sqlite, and related packages came from. I’m wondering if *those* are the ones that are from a gnu libc. Do you remember wehre they came from?

    #8875

    gusdesigns
    Participant

    I took mine (my missing dependancies) from http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/Packages

    #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!!!!

    #8877

    gusdesigns
    Participant

    Ron,

    This is the contents of the /etc/passwd file:


    admin:< <>>:0:0:root:/usr/local/root:/bin/sh
    nobody:x:99:99:nobody:/:/sbin/nologin

    Does this help?

    Thanks!

    #8878

    Anonymous

    I would have thought they were all from http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/Packages but I sequentially removed and reinstalled them and it was sqlite2 that was the problem. Now got mt-daapd running but I’m still getting the “read error: is a directory” in the log 🙁 .

    I’ll up the debug level and see what I get

    Update:
    I’m now at the same place as gusdesigns. Run as a foreground process everything works fine (web, iTunes, Roku can all access firefly). But run as a daemon it just doesn’t.

    I think the “is a directory” is because it is actually trying to serve the directory rather than a file from it when running as a daemon. If if use 192.168.1.1:3689 the browser hangs and I get the error in the log. If I use 102.168.1.1:3689/index.html it serves that file successfully and I see a web page but buttons are non-functional.

    If firefly is run in foreground then 192.168.1.1:3689 works fine.

    Run in foreground or background “admin” is shown as the uid

    I’ve tried ensuring universal permissions on the songs.db and it’s folder and on /opt/share/mt-daapd and its subfolders. No effect.

    The uid of my admin account is 0.

    #8879

    gusdesigns
    Participant

    @Aborigine wrote:

    I’m now at the same place as gusdesigns. Run as a foreground process everything works fine (web, iTunes, Roku can all access firefly). But run as a daemon it just doesn’t.

    I think the “is a directory” is because it is actually trying to serve the directory rather than a file from it when running as a daemon. If if use 192.168.1.1:3689 the browser hangs and I get the error in the log. If I use 102.168.1.1:3689/index.html it serves that file successfully and I see a web page but buttons are non-functional.

    If firefly is run in foreground then 192.168.1.1:3689 works fine.

    Run in foreground or background “admin” is shown as the uid

    I’ve tried ensuring universal permissions on the songs.db and it’s folder and on /opt/share/mt-daapd and its subfolders. No effect.

    The uid of my admin account is 0.

    Couldn’t put it better… 🙂 Hope there is a solution 8)

    #8880

    rpedde
    Participant

    I think the “is a directory” is because it is actually trying to serve the directory rather than a file from it when running as a daemon. If if use 192.168.1.1:3689 the browser hangs and I get the error in the log. If I use 102.168.1.1:3689/index.html it serves that file successfully and I see a web page but buttons are non-functional.

    Correct. That’s fixed in svn (I think). So the “is a directory” isn’t the *real* problem. There is another problem, obviously.

    But you say it works when you run it in the foreground?

    What *doesn’t* work when you run it as a daemon? And how doesn’t it work.

    1. Does it appear in iTunes
    2. Does it connect when you select it in the iTunes browser
    3. Does it return any items
    4. Does it return playlists
    5. Do the items it return play?

    6. Does it appear in SB
    7. Do playlists appear
    8. … etc …

    When you say that the buttons don’t work, are they greyed out? Or are they ungray, but don’t seem to do anything when you press them?

    Does the “shutdown” button work?

    #8881

    Anonymous

    When run as a daemon it doesn’t do any of 1-8. All function when run in the foreground.

    What it does do as a daemon is create 4 processes, scan for songs and build a db and it will serve a file to a browser. When I browse to 192.168.1.1/index.html I get the following in the log at -d9:

    2007-04-15 21:54:26 (00000803): Thread 0: Entering ws_dispatcher (Connection from 192.168.1.58)
    2007-04-15 21:54:26 (00000803): Thread 0: got request
    2007-04-15 21:54:26 (00000803): Request: GET /index.html HTTP/1.1
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Host: 192.168.1.1:3689
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Host=192.168.1.1:3689*
    2007-04-15 21:54:26 (00000803): Added *Host=192.168.1.1:3689*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3*
    2007-04-15 21:54:26 (00000803): Added *User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5*
    2007-04-15 21:54:26 (00000803): Added *Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Accept-Language: en-gb,en;q=0.5
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Accept-Language=en-gb,en;q=0.5*
    2007-04-15 21:54:26 (00000803): Added *Accept-Language=en-gb,en;q=0.5*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Accept-Encoding: gzip,deflate
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Accept-Encoding=gzip,deflate*
    2007-04-15 21:54:26 (00000803): Added *Accept-Encoding=gzip,deflate*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7*
    2007-04-15 21:54:26 (00000803): Added *Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Keep-Alive: 300
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Keep-Alive=300*
    2007-04-15 21:54:26 (00000803): Added *Keep-Alive=300*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Connection: keep-alive
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Connection=keep-alive*
    2007-04-15 21:54:26 (00000803): Added *Connection=keep-alive*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Authorization: Basic YWRtaW46SXNhYmVs
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Authorization=Basic YWRtaW46SXNhYmVs*
    2007-04-15 21:54:26 (00000803): Added *Authorization=Basic YWRtaW46SXNhYmVs*
    2007-04-15 21:54:26 (00000803): Thread 0: Read: Cache-Control: max-age=0
    2007-04-15 21:54:26 (00000803): Thread 0: Adding header *Cache-Control=max-age=0*
    2007-04-15 21:54:26 (00000803): Added *Cache-Control=max-age=0*
    2007-04-15 21:54:26 (00000803): Thread 0: Read:
    2007-04-15 21:54:26 (00000803): Thread 0: Headers parsed!
    2007-04-15 21:54:26 (00000803): Checking to see if connection matches close
    2007-04-15 21:54:26 (00000803): And it does NOT
    2007-04-15 21:54:26 (00000803): Thread 0: Connection type HTTP/1.1
    : Connection: persist
    2007-04-15 21:54:26 (00000803): Thread 0: Original URI: /index.html
    2007-04-15 21:54:26 (00000803): Thread 0: Translated URI: /index.html
    2007-04-15 21:54:26 (00000803): Thread 0: Preparing to find handler
    2007-04-15 21:54:26 (00000803): Thread 0: Time is 1176670466 seconds after epoch
    2007-04-15 21:54:26 (00000803): Thread 0: Setting time header
    2007-04-15 21:54:26 (00000803): Added *Date=Sun, 15 Apr 2007 20:54:26 GMT*
    2007-04-15 21:54:26 (00000803): Added *Connection=keep-alive*
    2007-04-15 21:54:26 (00000803): Added *Server=mt-daapd/svn-1529*
    2007-04-15 21:54:26 (00000803): Added *Content-Type=text/html*
    2007-04-15 21:54:26 (00000803): Added *Content-Language=en_us*
    2007-04-15 21:54:26 (00000803): Thread 0: Using default handler.
    2007-04-15 21:54:26 (00000803): Thread 0: Preparing to serve /opt/share/mt-daapd/admin-root/index.html
    2007-04-15 21:54:26 (00000803): Length of file is 1781
    2007-04-15 21:54:26 (00000803): Added *Content-Length=1781*
    2007-04-15 21:54:26 (00000803): Emitting reponse header Content-Length: 1781
    2007-04-15 21:54:26 (00000803): Emitting reponse header Content-Language: en_us
    2007-04-15 21:54:26 (00000803): Emitting reponse header Content-Type: text/html
    2007-04-15 21:54:26 (00000803): Emitting reponse header Server: mt-daapd/svn-1529
    2007-04-15 21:54:26 (00000803): Emitting reponse header Connection: keep-alive
    2007-04-15 21:54:26 (00000803): Emitting reponse header Date: Sun, 15 Apr 2007 20:54:26 GMT
    2007-04-15 21:54:26 (00000803): Exiting ws_defaulthandler: Thread 0: Served successfully
    2007-04-15 21:54:26 (00000803): Thread 0: Terminating
    2007-04-15 21:54:26 (00000803): Thread 0: Freeing request headers
    2007-04-15 21:54:26 (00000803): Thread 0: Freeing response headers
    2007-04-15 21:54:26 (00000803): Thread 0: Freeing request vars

    and then a bit later:

    2007-04-15 21:59:33 (00000803): Thread 0:  could not read: Invalid argument
    2007-04-15 21:59:33 (00000803): Thread 0: Terminating
    2007-04-15 21:59:33 (00000803): Thread 0: Freeing request headers
    2007-04-15 21:59:33 (00000803): Thread 0: Freeing response headers
    2007-04-15 21:59:33 (00000803): Thread 0: Freeing request vars
    2007-04-15 21:59:33 (00000803): Thread 0: Closing fd
    2007-04-15 21:59:33 (00000803): With thread 0 exiting, 0 are still running

    The buttons are not greyed and depress when clicked but nothing happens in the browser or log. When I click the stop server button, the processes continue, nothing happens.

    #8882

    rpedde
    Participant

    @Aborigine wrote:

    2007-04-15 21:54:26 (00000803): Thread 0: Using default handler.

    Ahh… that’s the culprit.

    It looks to be a regex problem, although I don’t know why it would work in the foreground. (bad lib path?)

    Either way, I’ve pulled out the regex stuff in r1537, so next nightlies (tonight?) should fix it.

    — Ron

    #8883

    gusdesigns
    Participant

    Ron,

    During installation/upgrade, I get the following message:


    chown: unknown user name: guest
    chown: unknown user name: guest

    Can this be the cause (I don’t know from what you want to change the owner…)

    Maybe this helps, more feedback in some minutes…

    #8884

    gusdesigns
    Participant

    Ron,

    Bad news 😥

    Same problems still persists.

    2007-04-16 18:17:21 (00000400): Firefly Version svn-1539: Starting with debuglevel 9
    2007-04-16 18:17:21 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/rsp.so
    2007-04-16 18:17:21 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/rsp.so (rsp/svn-1539)
    2007-04-16 18:17:21 (00000400): New transcode codec list:
    2007-04-16 18:17:21 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/out-daap.so
    2007-04-16 18:17:21 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/out-daap.so (daap/svn-1539)
    2007-04-16 18:17:21 (00000400): New transcode codec list:
    2007-04-16 18:17:21 (00000400): Attempting to load plugin /opt/share/mt-daapd/plugins/ssc-script.so
    2007-04-16 18:17:21 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1539)
    2007-04-16 18:17:21 (00000400): New transcode codec list: ogg,flac,alac
    2007-04-16 18:17:21 (00000400): Plugin loaded: ssc-script/svn-1539
    2007-04-16 18:17:21 (00000400): Plugin loaded: daap/svn-1539
    2007-04-16 18:17:21 (00000400): Plugin loaded: rsp/svn-1539
    2007-04-16 18:17:21 (00000400): Starting rendezvous daemon
    2007-04-16 18:17:21 (00000400): Starting signal handler
    2007-04-16 18:17:21 (00000400): Pid: 110
    2007-04-16 18:17:21 (00000400): Opening database
    2007-04-16 18:17:21 (00000400): select(9, 0.000976)
    2007-04-16 18:17:21 (00000400): select(9, 0.225585)
    2007-04-16 18:17:21 (00000400): Executing: select value from config where term='version'
    2007-04-16 18:17:21 (00000400): Results: 0
    2007-04-16 18:17:21 (00000400): Initializing database
    2007-04-16 18:17:21 (00000400): Executing: select count(*) FROM songs
    2007-04-16 18:17:21 (00000400): select(9, 0.097656)
    2007-04-16 18:17:21 (00000400): select(9, 0.095703)
    < << same lines as above >>>
    2007-04-16 18:17:22 (00000400): select(9, 0.882812)
    2007-04-16 18:17:23 (00000400): select(9, 0.099609)
    2007-04-16 18:17:23 (00000400): select(9, 0.097656)
    2007-04-16 18:17:23 (00000400): select(9, 1.899414)
    2007-04-16 18:17:24 (00000400): Executing: select value from config where term='rescan'
    2007-04-16 18:17:24 (00000400): Executing: vacuum
    2007-04-16 18:17:25 (00000400): select(9, 0.099609)
    < << same lines as above >>>
    2007-04-16 18:26:03 (00000400): select(9, 5.000000)
    2007-04-16 18:26:09 (00000400): select(9, 4.952148)
    2007-04-16 18:26:14 (00000400): select(9, 5.000000)
    2007-04-16 18:26:20 (00000400): select(9, 4.806640)
    2007-04-16 18:26:25 (00000400): select(9, 4.907226)
    2007-04-16 18:26:27 (00000400): Rows: 0
    2007-04-16 18:26:27 (00000400): Executing: create index idx_path on songs(path,idx)
    2007-04-16 18:26:27 (00000400): Query: create index idx_path on songs(path,idx)
    2007-04-16 18:26:27 (00000400): Error: index idx_path already exists
    2007-04-16 18:26:27 (00000400): Executing: create index idx_songid on playlistitems(songid)
    2007-04-16 18:26:27 (00000400): Query: create index idx_songid on playlistitems(songid)
    2007-04-16 18:26:27 (00000400): Error: index idx_songid already exists
    2007-04-16 18:26:27 (00000400): Executing: create index idx_playlistid on playlistitems(playlistid,songid)
    2007-04-16 18:26:27 (00000400): Query: create index idx_playlistid on playlistitems(playlistid,songid)
    2007-04-16 18:26:27 (00000400): Error: index idx_playlistid already exists
    2007-04-16 18:26:27 (00000400): Starting web server from /opt/share/mt-daapd/admin-root on port 3689
    2007-04-16 18:26:28 (00000400): Listening on port 3689
    2007-04-16 18:26:28 (00000400): Starting server thread
    2007-04-16 18:26:31 (00000400): select(9, 4.948242)
    2007-04-16 18:26:36 (00000400): select(9, 5.000000)
    2007-04-16 18:26:41 (00000400): select(9, 5.000000)
    < << same lines as above >>>
    2007-04-16 18:35:32 (00000803): Thread 0: Entering ws_dispatcher (Connection from 192.168.1.108)
    2007-04-16 18:35:32 (00000803): Thread 0: got request
    2007-04-16 18:35:32 (00000803): Request: GET / HTTP/1.1
    2007-04-16 18:35:32 (00000803): Thread 0: Read: Accept: */*
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *Accept=*/**
    2007-04-16 18:35:32 (00000803): Added *Accept=*/**
    2007-04-16 18:35:32 (00000803): Thread 0: Read: Accept-Language: en-us,en;q=0.5
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *Accept-Language=en-us,en;q=0.5*
    2007-04-16 18:35:32 (00000803): Added *Accept-Language=en-us,en;q=0.5*
    2007-04-16 18:35:32 (00000803): Thread 0: Read: UA-CPU: x86
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *UA-CPU=x86*
    2007-04-16 18:35:32 (00000803): Added *UA-CPU=x86*
    2007-04-16 18:35:32 (00000803): Thread 0: Read: Accept-Encoding: gzip, deflate
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *Accept-Encoding=gzip, deflate*
    2007-04-16 18:35:32 (00000803): Added *Accept-Encoding=gzip, deflate*
    2007-04-16 18:35:32 (00000803): Thread 0: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW6$
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5$
    2007-04-16 18:35:32 (00000803): Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CL$
    2007-04-16 18:35:32 (00000803): Thread 0: Read: Host: 192.168.1.2:3689
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *Host=192.168.1.2:3689*
    2007-04-16 18:35:32 (00000803): Added *Host=192.168.1.2:3689*
    2007-04-16 18:35:32 (00000803): Thread 0: Read: Connection: Keep-Alive
    2007-04-16 18:35:32 (00000803): Thread 0: Adding header *Connection=Keep-Alive*
    2007-04-16 18:35:32 (00000803): Added *Connection=Keep-Alive*
    2007-04-16 18:35:32 (00000803): Thread 0: Read:
    2007-04-16 18:35:32 (00000803): Thread 0: Headers parsed!
    2007-04-16 18:35:32 (00000803): Checking to see if connection matches close
    2007-04-16 18:35:32 (00000803): And it does NOT
    2007-04-16 18:35:32 (00000803): Thread 0: Connection type HTTP/1.1
    : Connection: persist
    2007-04-16 18:35:32 (00000803): Thread 0: Original URI: /
    2007-04-16 18:35:32 (00000803): Thread 0: Translated URI: /
    2007-04-16 18:35:32 (00000803): Thread 0: Preparing to find handler
    2007-04-16 18:35:32 (00000803): Thread 0: Time is 1176748532 seconds after epoch
    2007-04-16 18:35:32 (00000803): Thread 0: Setting time header
    2007-04-16 18:35:32 (00000803): Added *Date=Mon, 16 Apr 2007 18:35:32 GMT*
    2007-04-16 18:35:32 (00000803): Added *Connection=keep-alive*
    2007-04-16 18:35:32 (00000803): Added *Server=mt-daapd/svn-1539*
    2007-04-16 18:35:32 (00000803): Added *Content-Type=text/html*
    2007-04-16 18:35:32 (00000803): Added *Content-Language=en_us*
    2007-04-16 18:35:32 (00000803): Thread 0: Using default handler.
    2007-04-16 18:35:32 (00000803): Thread 0: Preparing to serve /opt/share/mt-daapd/admin-root
    2007-04-16 18:35:32 (00000803): Length of file is 4096
    2007-04-16 18:35:32 (00000803): Added *Content-Length=4096*
    2007-04-16 18:35:32 (00000803): Emitting reponse header Content-Length: 4096
    2007-04-16 18:35:32 (00000803): Emitting reponse header Content-Language: en_us
    2007-04-16 18:35:32 (00000803): Emitting reponse header Content-Type: text/html
    2007-04-16 18:35:32 (00000803): Emitting reponse header Server: mt-daapd/svn-1539
    2007-04-16 18:35:32 (00000803): Emitting reponse header Connection: keep-alive
    2007-04-16 18:35:32 (00000803): Emitting reponse header Date: Mon, 16 Apr 2007 18:35:32 GMT
    2007-04-16 18:35:32 (00000803): Read error: Is a directory
    2007-04-16 18:35:32 (00000803): Exiting ws_defaulthandler: Thread 0: Served successfully
    2007-04-16 18:35:32 (00000803): Thread 0: Terminating
    2007-04-16 18:35:32 (00000803): Thread 0: Freeing request headers
    2007-04-16 18:35:32 (00000803): Thread 0: Freeing response headers
    2007-04-16 18:35:32 (00000803): Thread 0: Freeing request vars
    2007-04-16 18:35:35 (00000400): select(9, 5.000000)
    2007-04-16 18:35:40 (00000400): select(9, 5.000000)
    2007-04-16 18:35:45 (00000400): select(9, 5.000000)
    2007-04-16 18:35:50 (00000400): select(9, 5.000000)

    Something to do with the chown command of the above reply (or with the guest account)?

    When I run in foreground, things still work perfectly…
    This is what I see then in the log:


    2007-04-16 18:48:08 (00000400): select(9, 4.887695)
    2007-04-16 18:48:13 (00000400): Rows: 0
    2007-04-16 18:48:13 (00000400): Executing: create index idx_path on songs(path,idx)
    2007-04-16 18:48:13 (00000400): select(9, 4.972656)
    2007-04-16 18:48:14 (00000400): Query: create index idx_path on songs(path,idx)
    2007-04-16 18:48:14 (00000400): Error: index idx_path already exists
    2007-04-16 18:48:14 (00000400): Executing: create index idx_songid on playlistitems(songid)
    2007-04-16 18:48:14 (00000400): Query: create index idx_songid on playlistitems(songid)
    2007-04-16 18:48:14 (00000400): Error: index idx_songid already exists
    2007-04-16 18:48:14 (00000400): Executing: create index idx_playlistid on playlistitems(playlistid,songid)
    2007-04-16 18:48:14 (00000400): Query: create index idx_playlistid on playlistitems(playlistid,songid)
    2007-04-16 18:48:14 (00000400): Error: index idx_playlistid already exists
    2007-04-16 18:48:14 (00000400): Starting web server from /opt/share/mt-daapd/admin-root on port 3689
    2007-04-16 18:48:15 (00000400): Listening on port 3689
    2007-04-16 18:48:15 (00000400): Starting server thread
    2007-04-16 18:48:16 (00000400): Registering rendezvous names
    2007-04-16 18:48:16 (00000400): Processing rendezvous message
    2007-04-16 18:48:16 (00000400): Registering gMusic._http._tcp (3689)
    2007-04-16 18:48:16 (00000400): Registered service 0, name 'gMusic', type '_http._tcp', domain 'local.', port 3689
    2007-04-16 18:48:16 (00000400): select(9, 0.216796)
    2007-04-16 18:48:16 (00000400): Checking ssc-script/svn-1539
    2007-04-16 18:48:16 (00000400): Checking daap/svn-1539
    2007-04-16 18:48:16 (00000400): Registering _daap._tcp
    2007-04-16 18:48:16 (00000400): Processing rendezvous message
    2007-04-16 18:48:16 (00000400): Registering gMusic._daap._tcp (3689)
    2007-04-16 18:48:16 (00000400): Registered service 1, name 'gMusic', type '_daap._tcp', domain 'local.', port 3689
    2007-04-16 18:48:16 (00000400): select(9, 0.182617)
    2007-04-16 18:48:16 (00000400): Checking rsp/svn-1539
    2007-04-16 18:48:16 (00000400): Registering _rsp._tcp
    2007-04-16 18:48:16 (00000400): Processing rendezvous message
    2007-04-16 18:48:16 (00000400): Registering gMusic._rsp._tcp (3689)
    2007-04-16 18:48:16 (00000400): Registered service 2, name 'gMusic', type '_rsp._tcp', domain 'local.', port 3689
    2007-04-16 18:48:16 (00000400): select(9, 0.165039)
    2007-04-16 18:48:16 (00000400): Executing: select count(*) FROM songs
    2007-04-16 18:48:16 (00000400): select(9, 0.065429)

    💡 ?????

    Thanks!

    #8885

    Anonymous

    I’m getting exactly the same outcome as gusdesigns i.e. 1539 is just the same as the previous one.

    By including the -f option in my /opt/etc/init.d/S60mt-daap file I can get firefly running ok and visible in iTunes, soundbridge etc. Is there any real reason not to run it with this parameter as it seems to work??

    #8886

    rpedde
    Participant

    @Aborigine wrote:

    I’m getting exactly the same outcome as gusdesigns i.e. 1539 is just the same as the previous one.

    By including the -f option in my /opt/etc/init.d/S60mt-daap file I can get firefly running ok and visible in iTunes, soundbridge etc. Is there any real reason not to run it with this parameter as it seems to work??

    Not really. It’s broken, though, and I’m not sure why. I’ve added some more debugging in svn, so next version should tell more. It would be a lot easier if I had access to one of these for testing.

    What platforms support this firmware?

Viewing 15 posts - 46 through 60 (of 80 total)

The forum ‘Nightlies Feedback’ is closed to new topics and replies.