mt-daapd on Ubuntu and iTunes on Vista does not connect

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues mt-daapd on Ubuntu and iTunes on Vista does not connect

Viewing 10 posts - 1 through 10 (of 28 total)
  • Author
    Posts
  • #1478
    Brago
    Participant

    Hi there,
    First, if this is a double posting (yes I tried to search) please forgive me and just direct me to how I can solv my issues.

    Let’s start with some facts as asked for:

    mt-daapd/Firefly Version: svn-1376 (installed through .deb-package)
    Server Operating System: Ubuntu 7.04 server
    Server Hardware: AMD 1400+ etc.
    Client Device: iTunes 7.2.0.35 for Windows
    OS on computer: Vista home Premium
    Connection of clients: PC and server connected to D-Link DI-624. No problem with connection to internet or with direct file sharing between computers

    I just installed mt-daapd package throught the package. With the intention to get a Soundbridge set up in my house. But before investing in the soundbridge, I wanted to try out the Firefly/mt-daap and see if i could get that to work on my fresh installed server. Set up seems to go fine on Ubuntu server. I connect to the web interface from my PC. But iTunes does not find any shared library. I have no idea where to start… I did look at the iTunes guide on how to activate searching for shared libraries. Also tried from Windows Media Player and got into setting up Vista to share media files on my local network and look for other shares. Unfortunately it still does not work.

    Any ideas on where to start?

    Thanks
    Stefan

    #11158
    rpedde
    Participant

    @Brago wrote:

    Hi there,
    First, if this is a double posting (yes I tried to search) please forgive me and just direct me to how I can solv my issues.

    Let’s start with some facts as asked for:

    mt-daapd/Firefly Version: svn-1376 (installed through .deb-package)
    Server Operating System: Ubuntu 7.04 server
    Server Hardware: AMD 1400+ etc.
    Client Device: iTunes 7.2.0.35 for Windows
    OS on computer: Vista home Premium
    Connection of clients: PC and server connected to D-Link DI-624. No problem with connection to internet or with direct file sharing between computers

    I just installed mt-daapd package throught the package. With the intention to get a Soundbridge set up in my house. But before investing in the soundbridge, I wanted to try out the Firefly/mt-daap and see if i could get that to work on my fresh installed server. Set up seems to go fine on Ubuntu server. I connect to the web interface from my PC. But iTunes does not find any shared library. I have no idea where to start… I did look at the iTunes guide on how to activate searching for shared libraries. Also tried from Windows Media Player and got into setting up Vista to share media files on my local network and look for other shares. Unfortunately it still does not work.

    Any ideas on where to start?

    Thanks
    Stefan

    Stop mt-daapd. Edit /etc/default/avahi-daemon, and edit the line to allow it to start up. Don’t really remember what it says or what it’s called, but there is a line in there that stops avahi from running.

    Then start up avahi-daemon with “/etc/init.d/avahi-daemon start”, then start up mt-daapd.

    It should pop up then.

    — Ron

    #11159
    Brago
    Participant

    @rpedde wrote:

    Stop mt-daapd. Edit /etc/default/avahi-daemon, and edit the line to allow it to start up. Don’t really remember what it says or what it’s called, but there is a line in there that stops avahi from running.

    Then start up avahi-daemon with “/etc/init.d/avahi-daemon start”, then start up mt-daapd.

    It should pop up then.

    — Ron

    Hi,
    My /etc/default/avahi-daemon says:

    # 0 = don’t start, 1 = start
    AVAHI_DAEMON_START=1

    so it seems alright. I tried instead to start as you said and the following happend:


    stefan@server:/$ sudo /etc/init.d/avahi-daemon start
    Password:
    * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
    * avahi-daemon disabled because there is a unicast .local domain
    stefan@server:/$

    I searched for the error message and on http://ubuntuforums.org/archive/index.php/t-425379.html I was suggested to:


    stefan@server:/$ sudo rm /var/run/avahi-daemon/disabled-for-unicast-local
    stefan@server:/$ sudo /etc/init.d/avahi-daemon start
    * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ OK ]
    stefan@server:/$

    Avahi is aparantly up and running so I did:


    stefan@server:/$
    stefan@server:/$ sudo mt-daapd start
    stefan@server:/$

    But still iTunes does not show anything. Correct me if I’m wrong, but the shared library should show up on the left hand side in iTunes under a new heading called “Shared”? (I’m using Swedish version of iTunes so forgive me if the terminology is slightly other in English). But what I mean is that I was expecting this shared library to show up under or over my own library, play lists, iTunes store etc.

    /Stefan

    #11160
    rpedde
    Participant


    stefan@server:/$
    stefan@server:/$ sudo mt-daapd start
    stefan@server:/$

    That should be “sudo /etc/init.d/mt-daapd start”, ya?

    Check to see if it’s running with something like

    ps auxw | grep -i “mt-daapd”

    And yeah, it should show up on th left side just as you describe. You might have to go into your prefs in iTunes and make sure you have the option on called “Look for shared libraries” or something, though.

    — Ron

    #11161
    Brago
    Participant

    Hi,


    stefan@server:/$ sudo rm /var/run/avahi-daemon/disabled-for-unicast-local
    Password:
    stefan@server:/$ sudo /etc/init.d/avahi-daemon start
    * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ OK ]
    stefan@server:/$ sudo /etc/init.d/mt-daapd start
    Starting mt-daapd:
    stefan@server:/$ ps auxw | grep -i "mt-daapd"
    mt-daapd 5369 0.5 0.3 36056 2560 ? Sl 09:40 1:19 /usr/sbin/mt-daapd
    stefan 8889 0.0 0.0 2880 760 pts/0 R+ 13:22 0:00 grep -i mt-daapd
    stefan@server:/$

    Unfortunately, it still does not seem to work. Is there another windows based program that I can use to see if I can locate the server on hte network, perhaps it is iTunes and WIndows Media player that does not work properly. Just trying to isolate the problem.

    /Stefan

    #11162
    rpedde
    Participant

    @Brago wrote:

    Hi,


    stefan@server:/$ sudo rm /var/run/avahi-daemon/disabled-for-unicast-local
    Password:
    stefan@server:/$ sudo /etc/init.d/avahi-daemon start
    * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ OK ]
    stefan@server:/$ sudo /etc/init.d/mt-daapd start
    Starting mt-daapd:
    stefan@server:/$ ps auxw | grep -i "mt-daapd"
    mt-daapd 5369 0.5 0.3 36056 2560 ? Sl 09:40 1:19 /usr/sbin/mt-daapd
    stefan 8889 0.0 0.0 2880 760 pts/0 R+ 13:22 0:00 grep -i mt-daapd
    stefan@server:/$

    Unfortunately, it still does not seem to work. Is there another windows based program that I can use to see if I can locate the server on hte network, perhaps it is iTunes and WIndows Media player that does not work properly. Just trying to isolate the problem.

    /Stefan

    Not really. There are some for mac, but I don’t really know any that are windowsy.

    Another thing you can do is to run it in the foreground and see what errors you get:


    /usr/sbin/mt-daapd -d9 -f

    Then it should spew out a bunch of crap. Maybe it’s just still indexing. Who knows.

    Once you run it as root, you’ll have probably messed up the permissions on the database, so don’t forget fix up permissions on /var/cache/mt-daapd.

    — Ron

    #11163
    Brago
    Participant

    Hi Ron,
    Thanks for keep helping!

    When running the comand you suggested I get the following session on the console, I do apologise if this is a too long text to post but hey, I do not know any other way of letting you know… 🙄


    stefan@server:/storage$ sudo /usr/sbin/mt-daapd -d9 -f
    Found 1 tokens in /music
    Token 1: /music
    Expanding precomments to 2048
    Expanding precomments to 4096
    Expanding precomments to 8192
    Found 2 tokens in rsp.so,ssc-ffmpeg.so
    Token 1: rsp.so
    Token 2: ssc-ffmpeg.so
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Checking existence of /usr/lib/mt-daapd/plugins
    Checking existence of /usr/lib/mt-daapd/plugins
    Loading new config file.
    Starting with debuglevel 9
    Attempting to load plugin /usr/lib/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/lib/mt-daapd/plugins/rsp.so (rsp/svn-1376)
    New transcode codec list:
    Attempting to load plugin /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so
    Loaded plugin /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so (ssc-ffmpeg/svn-1376)
    New transcode codec list: flac,alac,ogg,wma
    Starting rendezvous daemon
    Starting rendezvous services
    *** WARNING *** The programme 'mt-daapd' uses the HOWL compatiblity layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see
    Starting signal handler
    Opening database
    Signal handler started
    Executing: select value from config where term='version'
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    Executing: select value from config where term='rescan'
    Executing: vacuum
    Error initializing howl
    Got CLD signal. Reaping
    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
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Checking ssc-ffmpeg/svn-1376
    Checking rsp/svn-1376
    Registering _rsp._tcp
    Executing: select count(*) FROM songs
    Serving 8415 songs. Startup complete in 2 seconds
    Thread 0: Entering ws_dispatcher (Connection from 192.168.0.101)
    Thread 0: got request
    Request: GET /xml-rpc?method=stats HTTP/1.1
    Thread 0: Read: Accept: */*
    Thread 0: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 0: Read: Accept-Language: sv
    Thread 0: Adding header *Accept-Language=sv*
    Added *Accept-Language=sv*
    Thread 0: Read: x-prototype-version: 1.4.0
    Thread 0: Adding header *x-prototype-version=1.4.0*
    Added *x-prototype-version=1.4.0*
    Thread 0: Read: Referer: http://192.168.0.100:3689/index.html
    Thread 0: Adding header *Referer=http://192.168.0.100:3689/index.html*
    Added *Referer=http://192.168.0.100:3689/index.html*
    Thread 0: Read: x-requested-with: XMLHttpRequest
    Thread 0: Adding header *x-requested-with=XMLHttpRequest*
    Added *x-requested-with=XMLHttpRequest*
    Thread 0: Read: UA-CPU: x86
    Thread 0: Adding header *UA-CPU=x86*
    Added *UA-CPU=x86*
    Thread 0: Read: Accept-Encoding: gzip, deflate
    Thread 0: Adding header *Accept-Encoding=gzip, deflate*
    Added *Accept-Encoding=gzip, deflate*
    Thread 0: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
    Thread 0: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Thread 0: Read: Host: 192.168.0.100:3689
    Thread 0: Adding header *Host=192.168.0.100:3689*
    Added *Host=192.168.0.100:3689*
    Thread 0: Read: Connection: Keep-Alive
    Thread 0: Adding header *Connection=Keep-Alive*
    Added *Connection=Keep-Alive*
    Thread 0: Read: Authorization: Basic YWRtaW46cHlzZW43Mw==
    Thread 0: Adding header *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Added *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Thread 0: Read:
    Thread 0: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 0: Connection type HTTP/1.1
    : Connection: persist
    Thread 0: parsing GET args
    Thread 0: Entering ws_getgetvars (method=stats)
    Thread 0: Adding arg method = stats
    Added *method=stats*
    Thread 0: Done parsing GET/POST args!
    Thread 0: Original URI: /xml-rpc
    Thread 0: Translated URI: /xml-rpc
    Thread 0: Preparing to find handler
    Thread 0: URI Match!
    Thread 0: Time is 1182361078 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Wed, 20 Jun 2007 17:37:58 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1376*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Preparing to decode YWRtaW46cHlzZW43Mw==
    Decoded admin:XXX
    Decoded user=admin, pw=XXX
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Added *HTTP_USER=admin*
    Added *HTTP_PASSWD=XXX*
    in main_handler
    Entering candispatch
    Dispatching /xml-rpc to config handler
    Entering config_handler
    Entering config_set_status
    Exiting config_set_status
    Updating Connection from keep-alive to close
    Entering config_set_status
    Exiting config_set_status
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Updating Content-Type from text/html to text/xml; charset=utf-8
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/xml; charset=utf-8
    Emitting reponse header Server: mt-daapd/svn-1376
    Emitting reponse header Connection: close
    Emitting reponse header Date: Wed, 20 Jun 2007 17:37:58 GMT
    Status inquiry
    Returning status -1
    Executing: select count(*) FROM songs
    Thread 0: xml-rpc served
    Entering config_set_status
    Exiting config_set_status
    Thread 0: Terminating
    Thread 0: Freeing request headers
    Thread 0: Freeing response headers
    Thread 0: Freeing request vars
    Thread 0: Closing fd
    With thread 0 exiting, 0 are still running
    Thread 1: Entering ws_dispatcher (Connection from 192.168.0.101)
    Thread 1: got request
    Request: GET /xml-rpc?method=stats HTTP/1.1
    Thread 1: Read: Accept: */*
    Thread 1: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 1: Read: Accept-Language: sv
    Thread 1: Adding header *Accept-Language=sv*
    Added *Accept-Language=sv*
    Thread 1: Read: x-prototype-version: 1.4.0
    Thread 1: Adding header *x-prototype-version=1.4.0*
    Added *x-prototype-version=1.4.0*
    Thread 1: Read: Referer: http://192.168.0.100:3689/index.html
    Thread 1: Adding header *Referer=http://192.168.0.100:3689/index.html*
    Added *Referer=http://192.168.0.100:3689/index.html*
    Thread 1: Read: x-requested-with: XMLHttpRequest
    Thread 1: Adding header *x-requested-with=XMLHttpRequest*
    Added *x-requested-with=XMLHttpRequest*
    Thread 1: Read: UA-CPU: x86
    Thread 1: Adding header *UA-CPU=x86*
    Added *UA-CPU=x86*
    Thread 1: Read: Accept-Encoding: gzip, deflate
    Thread 1: Adding header *Accept-Encoding=gzip, deflate*
    Added *Accept-Encoding=gzip, deflate*
    Thread 1: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
    Thread 1: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Thread 1: Read: Host: 192.168.0.100:3689
    Thread 1: Adding header *Host=192.168.0.100:3689*
    Added *Host=192.168.0.100:3689*
    Thread 1: Read: Connection: Keep-Alive
    Thread 1: Adding header *Connection=Keep-Alive*
    Added *Connection=Keep-Alive*
    Thread 1: Read: Authorization: Basic YWRtaW46cHlzZW43Mw==
    Thread 1: Adding header *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Added *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Thread 1: Read:
    Thread 1: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 1: Connection type HTTP/1.1
    : Connection: persist
    Thread 1: parsing GET args
    Thread 1: Entering ws_getgetvars (method=stats)
    Thread 1: Adding arg method = stats
    Added *method=stats*
    Thread 1: Done parsing GET/POST args!
    Thread 1: Original URI: /xml-rpc
    Thread 1: Translated URI: /xml-rpc
    Thread 1: Preparing to find handler
    Thread 1: URI Match!
    Thread 1: Time is 1182361084 seconds after epoch
    Thread 1: Setting time header
    Added *Date=Wed, 20 Jun 2007 17:38:04 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1376*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 1: Using non-default handler
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Preparing to decode YWRtaW46cHlzZW43Mw==
    Decoded admin:XXX
    Decoded user=admin, pw=XXX
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Added *HTTP_USER=admin*
    Added *HTTP_PASSWD=XXX*
    in main_handler
    Entering candispatch
    Dispatching /xml-rpc to config handler
    Entering config_handler
    Entering config_set_status
    Exiting config_set_status
    Updating Connection from keep-alive to close
    Entering config_set_status
    Exiting config_set_status
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Updating Content-Type from text/html to text/xml; charset=utf-8
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/xml; charset=utf-8
    Emitting reponse header Server: mt-daapd/svn-1376
    Emitting reponse header Connection: close
    Emitting reponse header Date: Wed, 20 Jun 2007 17:38:04 GMT
    Status inquiry
    Returning status -1
    Executing: select count(*) FROM songs
    Thread 1: xml-rpc served
    Entering config_set_status
    Exiting config_set_status
    Thread 1: Terminating
    Thread 1: Freeing request headers
    Thread 1: Freeing response headers
    Thread 1: Freeing request vars
    Thread 1: Closing fd
    With thread 1 exiting, 0 are still running
    ^AThread 2: Entering ws_dispatcher (Connection from 192.168.0.101)
    Thread 2: got request
    Request: GET /xml-rpc?method=stats HTTP/1.1
    Thread 2: Read: Accept: */*
    Thread 2: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 2: Read: Accept-Language: sv
    Thread 2: Adding header *Accept-Language=sv*
    Added *Accept-Language=sv*
    Thread 2: Read: x-prototype-version: 1.4.0
    Thread 2: Adding header *x-prototype-version=1.4.0*
    Added *x-prototype-version=1.4.0*
    Thread 2: Read: Referer: http://192.168.0.100:3689/index.html
    Thread 2: Adding header *Referer=http://192.168.0.100:3689/index.html*
    Added *Referer=http://192.168.0.100:3689/index.html*
    Thread 2: Read: x-requested-with: XMLHttpRequest
    Thread 2: Adding header *x-requested-with=XMLHttpRequest*
    Added *x-requested-with=XMLHttpRequest*
    Thread 2: Read: UA-CPU: x86
    Thread 2: Adding header *UA-CPU=x86*
    Added *UA-CPU=x86*
    Thread 2: Read: Accept-Encoding: gzip, deflate
    Thread 2: Adding header *Accept-Encoding=gzip, deflate*
    Added *Accept-Encoding=gzip, deflate*
    Thread 2: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
    Thread 2: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Thread 2: Read: Host: 192.168.0.100:3689
    Thread 2: Adding header *Host=192.168.0.100:3689*
    Added *Host=192.168.0.100:3689*
    Thread 2: Read: Connection: Keep-Alive
    Thread 2: Adding header *Connection=Keep-Alive*
    Added *Connection=Keep-Alive*
    Thread 2: Read: Authorization: Basic YWRtaW46cHlzZW43Mw==
    Thread 2: Adding header *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Added *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Thread 2: Read:
    Thread 2: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 2: Connection type HTTP/1.1
    : Connection: persist
    Thread 2: parsing GET args
    Thread 2: Entering ws_getgetvars (method=stats)
    Thread 2: Adding arg method = stats
    Added *method=stats*
    Thread 2: Done parsing GET/POST args!
    Thread 2: Original URI: /xml-rpc
    Thread 2: Translated URI: /xml-rpc
    Thread 2: Preparing to find handler
    Thread 2: URI Match!
    Thread 2: Time is 1182361089 seconds after epoch
    Thread 2: Setting time header
    Added *Date=Wed, 20 Jun 2007 17:38:09 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1376*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 2: Using non-default handler
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Preparing to decode YWRtaW46cHlzZW43Mw==
    Decoded admin:XXX
    Decoded user=admin, pw=XXX
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Added *HTTP_USER=admin*
    Added *HTTP_PASSWD=XXX*
    in main_handler
    Entering candispatch
    Dispatching /xml-rpc to config handler
    Entering config_handler
    Entering config_set_status
    Exiting config_set_status
    Updating Connection from keep-alive to close
    Entering config_set_status
    Exiting config_set_status
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Updating Content-Type from text/html to text/xml; charset=utf-8
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/xml; charset=utf-8
    Emitting reponse header Server: mt-daapd/svn-1376
    Emitting reponse header Connection: close
    Emitting reponse header Date: Wed, 20 Jun 2007 17:38:09 GMT
    Status inquiry
    Returning status -1
    Executing: select count(*) FROM songs
    Thread 2: xml-rpc served
    Entering config_set_status
    Exiting config_set_status
    Thread 2: Terminating
    Thread 2: Freeing request headers
    Thread 2: Freeing response headers
    Thread 2: Freeing request vars
    Thread 2: Closing fd
    With thread 2 exiting, 0 are still running
    Thread 3: Entering ws_dispatcher (Connection from 192.168.0.101)
    Thread 3: got request
    Request: GET /xml-rpc?method=stats HTTP/1.1
    Thread 3: Read: Accept: */*
    Thread 3: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 3: Read: Accept-Language: sv
    Thread 3: Adding header *Accept-Language=sv*
    Added *Accept-Language=sv*
    Thread 3: Read: x-prototype-version: 1.4.0
    Thread 3: Adding header *x-prototype-version=1.4.0*
    Added *x-prototype-version=1.4.0*
    Thread 3: Read: Referer: http://192.168.0.100:3689/index.html
    Thread 3: Adding header *Referer=http://192.168.0.100:3689/index.html*
    Added *Referer=http://192.168.0.100:3689/index.html*
    Thread 3: Read: x-requested-with: XMLHttpRequest
    Thread 3: Adding header *x-requested-with=XMLHttpRequest*
    Added *x-requested-with=XMLHttpRequest*
    Thread 3: Read: UA-CPU: x86
    Thread 3: Adding header *UA-CPU=x86*
    Added *UA-CPU=x86*
    Thread 3: Read: Accept-Encoding: gzip, deflate
    Thread 3: Adding header *Accept-Encoding=gzip, deflate*
    Added *Accept-Encoding=gzip, deflate*
    Thread 3: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
    Thread 3: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Thread 3: Read: Host: 192.168.0.100:3689
    Thread 3: Adding header *Host=192.168.0.100:3689*
    Added *Host=192.168.0.100:3689*
    Thread 3: Read: Connection: Keep-Alive
    Thread 3: Adding header *Connection=Keep-Alive*
    Added *Connection=Keep-Alive*
    Thread 3: Read: Authorization: Basic YWRtaW46cHlzZW43Mw==
    Thread 3: Adding header *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Added *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Thread 3: Read:
    Thread 3: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 3: Connection type HTTP/1.1
    : Connection: persist
    Thread 3: parsing GET args
    Thread 3: Entering ws_getgetvars (method=stats)
    Thread 3: Adding arg method = stats
    Added *method=stats*
    Thread 3: Done parsing GET/POST args!
    Thread 3: Original URI: /xml-rpc
    Thread 3: Translated URI: /xml-rpc
    Thread 3: Preparing to find handler
    Thread 3: URI Match!
    Thread 3: Time is 1182361094 seconds after epoch
    Thread 3: Setting time header
    Added *Date=Wed, 20 Jun 2007 17:38:14 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1376*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 3: Using non-default handler
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Preparing to decode YWRtaW46cHlzZW43Mw==
    Decoded admin:XXX
    Decoded user=admin, pw=XXX
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Added *HTTP_USER=admin*
    Added *HTTP_PASSWD=XXX*
    in main_handler
    Entering candispatch
    Dispatching /xml-rpc to config handler
    Entering config_handler
    Entering config_set_status
    Exiting config_set_status
    Updating Connection from keep-alive to close
    Entering config_set_status
    Exiting config_set_status
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Updating Content-Type from text/html to text/xml; charset=utf-8
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/xml; charset=utf-8
    Emitting reponse header Server: mt-daapd/svn-1376
    Emitting reponse header Connection: close
    Emitting reponse header Date: Wed, 20 Jun 2007 17:38:14 GMT
    Status inquiry
    Returning status -1
    Executing: select count(*) FROM songs
    Thread 3: xml-rpc served
    Entering config_set_status
    Exiting config_set_status
    Thread 3: Terminating
    Thread 3: Freeing request headers
    Thread 3: Freeing response headers
    Thread 3: Freeing request vars
    Thread 3: Closing fd
    With thread 3 exiting, 0 are still running
    Thread 4: Entering ws_dispatcher (Connection from 192.168.0.101)
    Thread 4: got request
    Request: GET /xml-rpc?method=stats HTTP/1.1
    Thread 4: Read: Accept: */*
    Thread 4: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 4: Read: Accept-Language: sv
    Thread 4: Adding header *Accept-Language=sv*
    Added *Accept-Language=sv*
    Thread 4: Read: x-prototype-version: 1.4.0
    Thread 4: Adding header *x-prototype-version=1.4.0*
    Added *x-prototype-version=1.4.0*
    Thread 4: Read: Referer: http://192.168.0.100:3689/index.html
    Thread 4: Adding header *Referer=http://192.168.0.100:3689/index.html*
    Added *Referer=http://192.168.0.100:3689/index.html*
    Thread 4: Read: x-requested-with: XMLHttpRequest
    Thread 4: Adding header *x-requested-with=XMLHttpRequest*
    Added *x-requested-with=XMLHttpRequest*
    Thread 4: Read: UA-CPU: x86
    Thread 4: Adding header *UA-CPU=x86*
    Added *UA-CPU=x86*
    Thread 4: Read: Accept-Encoding: gzip, deflate
    Thread 4: Adding header *Accept-Encoding=gzip, deflate*
    Added *Accept-Encoding=gzip, deflate*
    Thread 4: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
    Thread 4: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Thread 4: Read: Host: 192.168.0.100:3689
    Thread 4: Adding header *Host=192.168.0.100:3689*
    Added *Host=192.168.0.100:3689*
    Thread 4: Read: Connection: Keep-Alive
    Thread 4: Adding header *Connection=Keep-Alive*
    Added *Connection=Keep-Alive*
    Thread 4: Read: Authorization: Basic YWRtaW46cHlzZW43Mw==
    Thread 4: Adding header *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Added *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Thread 4: Read:
    Thread 4: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 4: Connection type HTTP/1.1
    : Connection: persist
    Thread 4: parsing GET args
    Thread 4: Entering ws_getgetvars (method=stats)
    Thread 4: Adding arg method = stats
    Added *method=stats*
    Thread 4: Done parsing GET/POST args!
    Thread 4: Original URI: /xml-rpc
    Thread 4: Translated URI: /xml-rpc
    Thread 4: Preparing to find handler
    Thread 4: URI Match!
    Thread 4: Time is 1182361099 seconds after epoch
    Thread 4: Setting time header
    Added *Date=Wed, 20 Jun 2007 17:38:19 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1376*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 4: Using non-default handler
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Preparing to decode YWRtaW46cHlzZW43Mw==
    Decoded admin:XXX
    Decoded user=admin, pw=XXX
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Added *HTTP_USER=admin*
    Added *HTTP_PASSWD=XXX*
    in main_handler
    Entering candispatch
    Dispatching /xml-rpc to config handler
    Entering config_handler
    Entering config_set_status
    Exiting config_set_status
    Updating Connection from keep-alive to close
    Entering config_set_status
    Exiting config_set_status
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Updating Content-Type from text/html to text/xml; charset=utf-8
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/xml; charset=utf-8
    Emitting reponse header Server: mt-daapd/svn-1376
    Emitting reponse header Connection: close
    Emitting reponse header Date: Wed, 20 Jun 2007 17:38:19 GMT
    Status inquiry
    Returning status -1
    Executing: select count(*) FROM songs
    Thread 4: xml-rpc served
    Entering config_set_status
    Exiting config_set_status
    Thread 4: Terminating
    Thread 4: Freeing request headers
    Thread 4: Freeing response headers
    Thread 4: Freeing request vars
    Thread 4: Closing fd
    With thread 4 exiting, 0 are still running
    Thread 5: Entering ws_dispatcher (Connection from 192.168.0.101)
    Thread 5: got request
    Request: GET /xml-rpc?method=stats HTTP/1.1
    Thread 5: Read: Accept: */*
    Thread 5: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 5: Read: Accept-Language: sv
    Thread 5: Adding header *Accept-Language=sv*
    Added *Accept-Language=sv*
    Thread 5: Read: x-prototype-version: 1.4.0
    Thread 5: Adding header *x-prototype-version=1.4.0*
    Added *x-prototype-version=1.4.0*
    Thread 5: Read: Referer: http://192.168.0.100:3689/index.html
    Thread 5: Adding header *Referer=http://192.168.0.100:3689/index.html*
    Added *Referer=http://192.168.0.100:3689/index.html*
    Thread 5: Read: x-requested-with: XMLHttpRequest
    Thread 5: Adding header *x-requested-with=XMLHttpRequest*
    Added *x-requested-with=XMLHttpRequest*
    Thread 5: Read: UA-CPU: x86
    Thread 5: Adding header *UA-CPU=x86*
    Added *UA-CPU=x86*
    Thread 5: Read: Accept-Encoding: gzip, deflate
    Thread 5: Adding header *Accept-Encoding=gzip, deflate*
    Added *Accept-Encoding=gzip, deflate*
    Thread 5: Read: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
    Thread 5: Adding header *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Added *User-Agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)*
    Thread 5: Read: Host: 192.168.0.100:3689
    Thread 5: Adding header *Host=192.168.0.100:3689*
    Added *Host=192.168.0.100:3689*
    Thread 5: Read: Connection: Keep-Alive
    Thread 5: Adding header *Connection=Keep-Alive*
    Added *Connection=Keep-Alive*
    Thread 5: Read: Authorization: Basic YWRtaW46cHlzZW43Mw==
    Thread 5: Adding header *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Added *Authorization=Basic YWRtaW46cHlzZW43Mw==*
    Thread 5: Read:
    Thread 5: Headers parsed!
    Checking to see if connection matches close
    And it does NOT
    Thread 5: Connection type HTTP/1.1
    : Connection: persist
    Thread 5: parsing GET args
    Thread 5: Entering ws_getgetvars (method=stats)
    Thread 5: Adding arg method = stats
    Added *method=stats*
    Thread 5: Done parsing GET/POST args!
    Thread 5: Original URI: /xml-rpc
    Thread 5: Translated URI: /xml-rpc
    Thread 5: Preparing to find handler
    Thread 5: URI Match!
    Thread 5: Time is 1182361105 seconds after epoch
    Thread 5: Setting time header
    Added *Date=Wed, 20 Jun 2007 17:38:25 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1376*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 5: Using non-default handler
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Preparing to decode YWRtaW46cHlzZW43Mw==
    Decoded admin:XXX
    Decoded user=admin, pw=XXX
    in main_auth
    Entering candispatch
    Dispatching auth for /xml-rpc to config auth
    Added *HTTP_USER=admin*
    Added *HTTP_PASSWD=XXX*
    in main_handler
    Entering candispatch
    Dispatching /xml-rpc to config handler
    Entering config_handler
    Entering config_set_status
    Exiting config_set_status
    Updating Connection from keep-alive to close
    Entering config_set_status
    Exiting config_set_status
    Added *Cache-Control=no-cache*
    Added *Expires=-1*
    Updating Content-Type from text/html to text/xml; charset=utf-8
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/xml; charset=utf-8
    Emitting reponse header Server: mt-daapd/svn-1376
    Emitting reponse header Connection: close
    Emitting reponse header Date: Wed, 20 Jun 2007 17:38:25 GMT
    Status inquiry
    Returning status -1
    Executing: select count(*) FROM songs
    Thread 5: xml-rpc served
    Entering config_set_status
    Exiting config_set_status
    Thread 5: Terminating
    Thread 5: Freeing request headers
    Thread 5: Freeing response headers
    Thread 5: Freeing request vars
    Thread 5: Closing fd
    With thread 5 exiting, 0 are still running

    [1]+ Stopped sudo /usr/sbin/mt-daapd -d9 -f
    stefan@server:/storage$

    regarding permissions, do you mean on the file as such? If so, they look like this now:


    tefan@server:/storage$ ls -la /var/cache/mt-daapd
    total 4124
    drwxrwxr-x 2 mt-daapd root 4096 2007-06-20 19:37 .
    drwxr-xr-x 16 root root 4096 2007-06-15 20:45 ..
    -rw-r--r-- 1 mt-daapd nogroup 4210688 2007-06-20 19:37 songs3.db
    stefan@server:/storage$ ls -la /var/cache/mt-daapd/
    total 4124
    drwxrwxr-x 2 mt-daapd root 4096 2007-06-20 19:37 .
    drwxr-xr-x 16 root root 4096 2007-06-15 20:45 ..
    -rw-r--r-- 1 mt-daapd nogroup 4210688 2007-06-20 19:37 songs3.db
    stefan@server:/storage$ ls -la /var/cache/mt-daapd/*
    -rw-r--r-- 1 mt-daapd nogroup 4210688 2007-06-20 19:37 /var/cache/mt-daapd/songs3.db
    stefan@server:/storage$

    BR
    Stefan

    #11164
    rpedde
    Participant

    @Brago wrote:

    Error initializing howl
    Got CLD signal. Reaping
    [/code]

    That’s it. Have you tried the latest nightly at http://nightlies.mt-daapd.org? I have a feisty package there that’s build specifically for avahi, rather than with howl compat libs.

    regarding permissions, do you mean on the file as such? If so, they look like this now:


    tefan@server:/storage$ ls -la /var/cache/mt-daapd
    total 4124
    drwxrwxr-x 2 mt-daapd root 4096 2007-06-20 19:37 .
    drwxr-xr-x 16 root root 4096 2007-06-15 20:45 ..
    -rw-r--r-- 1 mt-daapd nogroup 4210688 2007-06-20 19:37 songs3.db
    stefan@server:/storage$ ls -la /var/cache/mt-daapd/
    total 4124
    drwxrwxr-x 2 mt-daapd root 4096 2007-06-20 19:37 .
    drwxr-xr-x 16 root root 4096 2007-06-15 20:45 ..
    -rw-r--r-- 1 mt-daapd nogroup 4210688 2007-06-20 19:37 songs3.db
    stefan@server:/storage$ ls -la /var/cache/mt-daapd/*
    -rw-r--r-- 1 mt-daapd nogroup 4210688 2007-06-20 19:37 /var/cache/mt-daapd/songs3.db
    stefan@server:/storage$

    that’s good. Sometimes root ends up owning the db, and then it won’t start as a daemon anymore.

    #11165
    Brago
    Participant

    @rpedde wrote:

    That’s it. Have you tried the latest nightly at http://nightlies.mt-daapd.org? I have a feisty package there that’s build specifically for avahi, rather than with howl compat libs.

    Great!
    No I have only tried the .deb-package you get from running Adept manager.

    Sorry to ask a stupid queston though, on the page you link to, I can only see packages to dapper, edgy, etc_arm, sarge, sarge_armeb, sarge_powerPC etc. I can not see a specific fiesty .deb package. Am I looking at the wrong place or should I use one of the other packages?

    Thanks
    Stefan

    #11166
    rpedde
    Participant

    @Brago wrote:

    Sorry to ask a stupid queston though, on the page you link to, I can only see packages to dapper, edgy, etc_arm, sarge, sarge_armeb, sarge_powerPC etc. I can not see a specific fiesty .deb package. Am I looking at the wrong place or should I use one of the other packages?

    Thanks
    Stefan

    ah, crap. I forgot. I installed it, but didn’t get the build runnig on it. Okay. I have to do an edgy build anyway, so I’ll go ahead and set up builds for edgy and feisty at the same time.

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