[avahi] avahi-daemon stops working after undetermined period of time

Brian McKee map at map-heb.com
Tue Dec 23 10:26:20 PST 2008


On 23-Dec-08, at 10:46 AM, Lennart Poettering wrote:

> On Tue, 23.12.08 10:35, Brian McKee (map at map-heb.com) wrote:
>
>>>> I know 'it quits working sometimes' isn't much of a bug report :-)
>>>> like some suggestions on how I can better determine what's  
>>>> making it
>>>> stop and when.
>>>
>>> Have you checked syslog?
>> and as of now (10.30) it's not working again.  There's no more avahi
>> related entries in the log
>
> Hmm, could you please run "avahi-daemon --debug" in a terminal (as
> root of course) and then let it run? As soon as Avahi
> crashes/terminates you should then see some kind of message in that
> terminal that explains what is going on.
>
> Even better would be to run it inside gdb and then get a backtrace
> when it crashes:

Well, it's stopped working again, but it hasn't crashed or exited.  When
I say 'stopped working' I mean the computer no longer shows up in either
Chicken of the VNC on OSX or Remote Desktop Client & nautilus in Ubuntu.
I ran it under debug this time.  Results below.  If I understand the
backtrace thing properly it will only produce useful information if the
daemon actually crashes - so doing that wouldn't be useful in this case?

It's still sitting there in this 'non working' state at the moment if
there's some other info I can check on?

Brian

| root at counter1:~# avahi-daemon --debug
| Found user 'avahi' (UID 109) and group 'avahi' (GID 120).
| Successfully dropped root privileges.
| chroot.c: chroot() helper started
| avahi-daemon 0.6.22 starting up.
| Successfully called chroot().
| Successfully dropped remaining capabilities.
| chroot.c: chroot() helper got command 02
| Loading service file /services/sftp-ssh.service.
| Loading service file /services/ssh.service.
| Loading service file /services/vnc.service.
| Joining mDNS multicast group on interface eth0.IPv4 with address  
192.168.1.114.
| New relevant interface eth0.IPv4 for mDNS.
| Network interface enumeration completed.
| Registering new address record for fe80::20b:cdff:fe67:7626 on eth0.*.
| Registering new address record for 192.168.1.114 on eth0.IPv4.
| Registering HINFO record with values 'I686'/'LINUX'.
| dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/,  
member=GetAPIVersion
| dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/,  
member=GetState
| Server startup complete. Host name is counter1.local. Local service  
cookie is 185304068.
| dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/,  
member=EntryGroupNew
| dbus-entry-group.c: interface=org.freedesktop.Avahi.EntryGroup,  
path=/Client0/EntryGroup1, member=GetState
| dbus-entry-group.c: interface=org.freedesktop.Avahi.EntryGroup,  
path=/Client0/EntryGroup1, member=AddService
| dbus-entry-group.c: interface=org.freedesktop.Avahi.EntryGroup,  
path=/Client0/EntryGroup1, member=Commit
| Service "counter1" (/services/vnc.service) successfully established.
| Service "counter1" (/services/ssh.service) successfully established.
| Service "counter1" (/services/sftp-ssh.service) successfully  
established.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 260 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/avahi/attachments/20081223/12d578ea/attachment.pgp 


More information about the avahi mailing list