我尝试avahi-daemon
在 CentOS 6.5 上运行,但是当我运行它时出现以下错误:
bash-4.1# avahi-daemon
Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
Successfully dropped root privileges.
avahi-daemon 0.6.25 starting up.
dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
WARNING: Failed to contact D-Bus daemon.
我尝试按照以下步骤操作这篇博文。一切似乎都按预期进行,直到这一次:
service messagebus start
但即使在运行系统消息总线(甚至手动使用dbus-daemon --system
)之后,我在运行 avahi 时仍然遇到相同的错误。