Author Topic: dhcpd: Can't create PID file /var/run/dhcp3-server/dhcpd.pid: No such file or di  (Read 3502 times)

adblock

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hi,

i try to get familiar with Zentyal. Actually i work with 2.0.4.i386.

Everything seems to be fine but DHCP.  I configured a static NIC and defined in the DHCP Modul a Lease-Range.

After saving the settings i get the following entry in /var/log/syslog:

Code: [Select]
Aug 22 23:21:14 zentyal dhcpd: Can't create PID file /var/run/dhcp3-server/dhcpd.pid: No such file or directory.

I found on the internet the hint about the /etc/init/ebox.dhcpd3.conf file.

Code: [Select]
pre-start script
    invoke-rc.d dhcp3-server stop || true
end script
respawn
exec /usr/sbin/dhcpd3 -f -q

should be changed in

Code: [Select]
pre-start script
    invoke-rc.d dhcp3-server stop || true
end script
respawn
exec /usr/sbin/dhcpd3 -f -q -pf /var/run/dhcp3-server/dhcpd.pid

But it didn't work. Still no DHCP-OFFERs.

Even a
Code: [Select]
netstat -tpan  shows no LISTEN on Port 67.

What is to be done ?

Code: [Select]
root@zentyal:/home/administrator# dpkg -l | grep "ebox"
ii  ebox                                   2.0.22                                   Zentyal - Core
rc  ebox-ca                                2.0.5                                    Zentyal - Certification Authority
ii  ebox-dhcp                              2.0.6                                    Zentyal - DHCP Service
ii  ebox-firewall                          2.0.3                                    Zentyal - Firewall
ii  ebox-monitor                           2.0.5                                    Zentyal - Monitor
ii  ebox-network                           2.0.8                                    Zentyal - Network Configuration
ii  ebox-objects                           2.0                                      Zentyal - Network Objects
ii  ebox-services                          2.0                                      Zentyal - Network Services
ii  ebox-software                          2.0.12                                   Zentyal - Software Management
rc  john                                   1.7.6-1~ebox0~lucid0                     active password cracking tool
ii  libebox                                2.0.13                                   Zentyal - Common Library

Thanks in advance.

Ad Block