当前位置: 首页 > Linux > 正文

OL 7.4 :avahi-daemon

systemctl is-enabled avahi-daemon
systemctl enable avahi-daemon 
systemctl is-enabled avahi-daemon
systemctl start avahi-daemon.service
systemctl status avahi-daemon.service

# systemctl is-enabled avahi-daemon
disabled

# systemctl enable avahi-daemon 
Created symlink from /etc/systemd/system/dbus-org.freedesktop.Avahi.service to /usr/lib/systemd/system/avahi-daemon.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/avahi-daemon.service to /usr/lib/systemd/system/avahi-daemon.service.
Created symlink from /etc/systemd/system/sockets.target.wants/avahi-daemon.socket to /usr/lib/systemd/system/avahi-daemon.socket.

# systemctl is-enabled avahi-daemon
enabled


# /bin/systemctl start avahi-daemon.service
# /bin/systemctl status avahi-daemon.service
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled)
   Active: active (running) since 六 2018-03-03 19:11:20 CST; 5s ago
 Main PID: 7315 (avahi-daemon)
   Status: "avahi-daemon 0.6.31 starting up."
   CGroup: /system.slice/avahi-daemon.service
           ├─7315 avahi-daemon: running [hisdb02.local]
           └─7317 avahi-daemon: chroot helper

3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Joining mDNS multicast group on interface bond1.IPv4 with address 100.1.8.42.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: New relevant interface bond1.IPv4 for mDNS.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Network interface enumeration completed.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Registering new address record for fe80::250:56ff:fea1:3458 on bond0.*.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Registering new address record for 100.1.2.42 on bond0.IPv4.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Registering new address record for fe80::250:56ff:fea1:7cb9 on bond1.*.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Registering new address record for 100.1.8.42 on bond1.IPv4.
3月 03 19:11:20 hisdb02 avahi-daemon[7315]: Registering HINFO record with values 'X86_64'/'LINUX'.
3月 03 19:11:20 hisdb02 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
3月 03 19:11:21 hisdb02 avahi-daemon[7315]: Server startup complete. Host name is hisdb02.local. Local service cookie is 3...68598.
Hint: Some lines were ellipsized, use -l to show in full.


# systemctl list-unit-files|grep enabled
cups.path                                     enabled 
abrt-ccpp.service                             enabled 
abrt-oops.service                             enabled 
abrt-vmcore.service                           enabled 
abrt-xorg.service                             enabled 
abrtd.service                                 enabled 
accounts-daemon.service                       enabled 
atd.service                                   enabled 
auditd.service                                enabled 
autovt@.service                               enabled 
avahi-daemon.service                          enabled 
bluetooth.service                             enabled 
chronyd.service                               enabled 
crond.service                                 enabled 
cups.service                                  enabled 
dbus-org.bluez.service                        enabled 
dbus-org.freedesktop.Avahi.service            enabled 
dbus-org.freedesktop.ModemManager1.service    enabled 
dbus-org.freedesktop.NetworkManager.service   enabled 
dbus-org.freedesktop.nm-dispatcher.service    enabled 
display-manager.service                       enabled 
dmraid-activation.service                     enabled 
EmcpMond.service                              enabled 
gdm.service                                   enabled 
getty@.service                                enabled 
initial-setup-reconfiguration.service         enabled 
irqbalance.service                            enabled 
iscsi.service                                 enabled 
kdump.service                                 enabled 
ksm.service                                   enabled 
ksmtuned.service                              enabled 
libstoragemgmt.service                        enabled 
libvirtd.service                              enabled 
lvm2-monitor.service                          enabled 
mcelog.service                                enabled 
mdmonitor.service                             enabled 
microcode.service                             enabled 
ModemManager.service                          enabled 
named.service                                 enabled 
NetworkManager-dispatcher.service             enabled 
NetworkManager.service                        enabled 
nscd.service                                  enabled 
oracleasm.service                             enabled 
postfix.service                               enabled 
PowerPath.service                             enabled 
PowerPathPost-start.service                   enabled 
PowerPathPost-stop.service                    enabled 
qemu-guest-agent.service                      enabled 
rngd.service                                  enabled 
rsyslog.service                               enabled 
rtkit-daemon.service                          enabled 
smartd.service                                enabled 
spice-vdagentd.service                        enabled 
sshd.service                                  enabled 
sysstat.service                               enabled 
systemd-readahead-collect.service             enabled 
systemd-readahead-drop.service                enabled 
systemd-readahead-replay.service              enabled 
tuned.service                                 enabled 
vgauthd.service                               enabled 
vmtoolsd.service                              enabled 
avahi-daemon.socket                           enabled 
cups.socket                                   enabled 
dm-event.socket                               enabled 
iscsid.socket                                 enabled 
iscsiuio.socket                               enabled 
lvm2-lvmetad.socket                           enabled 
lvm2-lvmpolld.socket                          enabled 
nscd.socket                                   enabled 
rpcbind.socket                                enabled 
virtlockd.socket                              enabled 
virtlogd.socket                               enabled 
default.target                                enabled 
graphical.target                              enabled 
nfs-client.target                             enabled 
remote-fs.target                              enabled 
runlevel5.target                              enabled 
unbound-anchor.timer                          enabled 

本文固定链接: http://t.yjsec.com/index.php/2018/03/03/426/ | 下一站

该日志由 admin 于2018年03月03日发表在 Linux 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: OL 7.4 :avahi-daemon | 下一站

OL 7.4 :avahi-daemon:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter