June 20th, 2011, 11:36 AM
Dhcpd can't create dhcpd.pid Ubuntu 11.04 (natty)
I've found a lot of pages of how to fix the issue on older releases of dhcpd and ubuntu.
#> Can't create PID file /var/run/dhcpd.pid: Permission denied.
I have tried creating the file and giving it permissions to be accessed, but that isn't solving the issue. I tried to go through some of the older fixes, and one was really close to working but lacked the same folders as I have.
Thanks in advance
EDIT: one solution that worked was to use
ln -s /var/run/dhcp3-server/dhcpd.pid /var/run/dhcpd.pid
dhcpd3 -cf /etc/dhcp3/dhcpd.conf at0
June 20th, 2011, 01:05 PM
As bad as it is, I ended up giving all out permission to the file i.e.
chmod 777 /var/run/dhcpd.pid
and got it to start.