Debian Etch and 1586

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1585
    raungst
    Participant

    I’m assuming this is user error, but I still can’t get it up and running. I try to restart mt-daapd after changing the mp3_dir and I get:

    server:/home/robby# /etc/init.d/mt-daapd restart
    Restarting mt-daapd: mt-daapd: client.c:776: avahi_client_errno: Assertion `client' failed.
    /etc/init.d/mt-daapd: line 27: 4963 Aborted start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS

    Ideas?

    Thanks for your help,
    Robert

    #11832
    rpedde
    Participant

    @raungst wrote:

    I’m assuming this is user error, but I still can’t get it up and running. I try to restart mt-daapd after changing the mp3_dir and I get:

    server:/home/robby# /etc/init.d/mt-daapd restart
    Restarting mt-daapd: mt-daapd: client.c:776: avahi_client_errno: Assertion `client' failed.
    /etc/init.d/mt-daapd: line 27: 4963 Aborted start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS

    Ideas?

    Thanks for your help,
    Robert

    Avahi isn’t running.

    A nicer error message would be good, but that’s the problem. 🙂 Edit your /etc/default/avahi-server (?) and flip the setting to make it start at boot.

    — Ron

    #11833
    Anonymous
    Inactive

    I get the same error, while avahi daemon is running:

    [~]$ sudo service mt-daapd start
    Starting DAAP servermt-daapd: client.c:776: avahi_client_errno: Assertion `client' failed.
    /bin/bash: line 1: 5290 Aborted /usr/sbin/mt-daapd
    [FAILED]
    [~]$ sudo service avahi-daemon status
    Avahi daemon is running

    But then, I do get errors if I try to restart avahi:

    [tim@servy ~]$ sudo service avahi-daemon restart
    Shutting down Avahi daemon: [ OK ]
    Starting Avahi daemon... [FAILED]

    /var/log/messages indicates something about what happened:


    avahi-daemon[5423]: Found user 'avahi' (UID 498) and group 'avahi' (GID 494).
    avahi-daemon[5423]: Successfully dropped root privileges.
    avahi-daemon[5423]: avahi-daemon 0.6.22 starting up.
    avahi-daemon[5423]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
    avahi-daemon[5423]: dbus_bus_get_private(): An SELinux policy prevents this sender from sending this message to this recipient (rejected message had interface "org.freedesktop.DBus" member "Hello" error name "(unset)" destination "org.freedesktop.DBus")
    avahi-daemon[5423]: WARNING: Failed to contact D-Bus daemon.

    But I’m not sure how to proceed. SELinux has been in permissive mode the whole time and I thought that would be enough. Any ideas?

    BTW, Mt-daapd runs fine from command line (with or without -f option), but when I start as a service I always get the avahi error and mt-daapd aborts.

    Mt-daapd used to daemonize just fine but I recently upgraded from Fedora Core 8 to FC10. I haven’t been using the daapd server for a while, and it turned out I had a corrupt db. I just ran mt-daapd from command line with max logging -d 9 and watched it rebuild the db, then successfully tested the web server and connection/streaming from an iTunes client. Now I just need to get it to start as a service again…

    Any ideas? Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.