You are not logged in.

#1 2013-06-27 23:31:18

tladuke
Member
Registered: 2009-07-23
Posts: 176

avahi won't start. [solved]

how many years of using linux and I'm still too clueless to figure this out

systemctl status avahi-daemon.service
avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled)
   Active: failed (Result: exit-code) since Thu 2013-06-27 16:11:00 PDT; 15min ago
  Process: 2589 ExecStart=/usr/bin/avahi-daemon -s (code=exited, status=255)

Jun 27 16:11:00 ltv avahi-daemon[2589]: Found user 'avahi' (UID 84) and group 'avahi' (GID 84).
Jun 27 16:11:00 ltv avahi-daemon[2589]: Successfully dropped root privileges.
Jun 27 16:11:00 ltv avahi-daemon[2589]: open(/var/run/avahi-daemon//pid): Permission denied
Jun 27 16:11:00 ltv avahi-daemon[2589]: Failed to create PID file: Permission denied
/var/run/avahi-daemon # ls -la                                                        :(
total 8
drwxr-xr-x 2 avahi avahi 4096 Jun 27 16:24 ./
drwx------ 4 root  root  4096 Jun 27 16:02 ../
srw-rw-rw- 1 root  root     0 Jun 27 16:02 socket=
 stat /var/run/avahi-daemon
  File: ‘/var/run/avahi-daemon’
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: fe00h/65024d    Inode: 59301905    Links: 2
Access: (0755/drwxr-xr-x)  Uid: (   84/   avahi)   Gid: (   84/   avahi)
Access: 2013-06-27 16:24:31.374959136 -0700
Modify: 2013-06-27 16:24:30.448292531 -0700
Change: 2013-06-27 16:24:30.448292531 -0700
 Birth: -

somehow /var/run turned back into a directory...

https://www.archlinux.org/news/filesyst … equired-1/

Last edited by tladuke (2013-06-28 07:34:53)

Offline

Board footer

Powered by FluxBB