Sunday, 17 May 2015

[HOW TO] Fix isc-dhcp-server Bug

StarTech Team
This post will help you about to fix isc-dhcp-server bug.
I'am just upgrade my ubuntu 14.10 to ubuntu 15.04, and i got some error with isc-dhcp-server
The error message is :
dhcpd: Can't create PID file /run/dhcp-server/dhcpd.pid: Permission denied.

To fix it, you just have to edit some configuration. Here we go . . . .
just edit the file
nano /etc/init/isc-dhcp-server.conf

at the bottom of file change : (i'am just add command on the original line and then i add the new line)
#    exec dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES
      exec /usr/sbin/dhcpd -f -q -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES


0 comments:

Post a Comment