Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I configure dhcpd service on my Red Hat Enterprise Linux 6.0 and try to start the service by service dhcpd start, it gives me the FAILED error. But the same service starts when I give the command dhcpd -cf /etc/dhcpd.conf eth0. Why is that?

share|improve this question
Are there any entries pertaining to dhcpd in /var/log/messages right after you try to start it up? –  cjc Mar 20 '12 at 19:49
@cjc: Well, when I try and start dhcpd service, messages file says: 1) No subnet declaration for eth0(192.168.1.x) 2) Not configured to listen on any interfaces! Even though my /etc/sysconfig/dhcpd says DHCPARGS=eth0, and My subnet declaration is very much there in the /etc/dhcpd.conf file subnet netmask { option routers 192.168.1.y; option subnet-mask; option domain-name "<my domain name>" option domain-name-servers 192.168.1.z default-lease-time 21600; max-lease-time 43200; range 192.168.1.a 192.168.1.b; } –  Anshuman Mar 20 '12 at 20:58
dhcpd service works fine but after issuing the 'dhcpd -cf /etc/dhcpd.conf eth0' command and not thru 'service dhcpd start' –  Anshuman Mar 20 '12 at 20:59
For sanity, can you run "/etc/init.d/dhcpd start" ? Something might be borked in Upstart (I don't know if RHEL6 puts dhcpd in Upstart, though. The file /etc/init.d/dhcpd is a shell script, right?) –  cjc Mar 20 '12 at 21:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.