试图浏览服务avahi-browse -alr
:
Failed to create client object: Daemon not running
实际上 avahi 守护进程有问题:
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2015-09-16 08:50:23 CEST; 4s ago
Process: 6888 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=255)
Main PID: 6888 (code=exited, status=255)
Status: "avahi-daemon 0.6.31 starting up."
Found user 'avahi' (UID 107) and group 'avahi' (GID 118).
Successfully dropped root privileges.
avahi-daemon 0.6.31 starting up.
Successfully called chroot().
Successfully dropped remaining capabilities.
Loading service file /services/udisks.service.
Started Avahi mDNS/DNS-SD Stack.
avahi-daemon.service: main process exited, code=exited, status=255/n/a
Unit avahi-daemon.service entered failed state.
avahi-daemon.service failed.
Ubuntu 15.04。所以,日志什么也没显示。可以做什么?
更新
今天日志显示Failed to create server: Invalid domain name
。搜索可以开始了。
我
avahi-daemon.conf
的搞砸了,知道为什么...无论如何,
domain-name
设置为alocal
,可能是在恐慌中修复一些 samba 共享问题。