Running RHEL6
I copied my dhcpd.conf from my old server, now when trying to start dhcpd I get the following error in /var/log/messages and the service exits.
Jan 19 13:29:59 pldhcp1 dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Jan 19 13:29:59 pldhcp1 dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Jan 19 13:29:59 pldhcp1 dhcpd: All rights reserved.
Jan 19 13:29:59 pldhcp1 dhcpd: For info, please visit
https://www.isc.org/software/dhcp/
Jan 19 13:29:59 pldhcp1 dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in.
Jan 19 13:29:59 pldhcp1 dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Jan 19 13:29:59 pldhcp1 dhcpd: Wrote 0 deleted host decls to leases file.
Jan 19 13:29:59 pldhcp1 dhcpd: Wrote 0 new dynamic host decls to leases file.
Jan 19 13:29:59 pldhcp1 dhcpd: Wrote 0 leases to leases file.
Jan 19 13:29:59 pldhcp1 dhcpd: Listening on LPF/eth0/*****************************
Jan 19 13:29:59 pldhcp1 dhcpd: Sending on LPF/eth0/*****************************
Jan 19 13:29:59 pldhcp1 dhcpd: Sending on Socket/fallback/fallback-net
Jan 19 13:29:59 pldhcp1 dhcpd: setgroups: Operation not permitted
Jan 19 13:29:59 pldhcp1 dhcpd:
Jan 19 13:29:59 pldhcp1 dhcpd: This version of ISC DHCP is based on the release available
Jan 19 13:29:59 pldhcp1 dhcpd: on ftp.isc.org. Features have been added and other changes
Jan 19 13:29:59 pldhcp1 dhcpd: have been made to the base software release in order to make
Jan 19 13:29:59 pldhcp1 dhcpd: it work better with this distribution.
Jan 19 13:29:59 pldhcp1 dhcpd:
Jan 19 13:29:59 pldhcp1 dhcpd: Please report for this software via the Red Hat Bugzilla site:
Jan 19 13:29:59 pldhcp1 dhcpd:
http://bugzilla.redhat.com
Jan 19 13:29:59 pldhcp1 dhcpd:
Jan 19 13:29:59 pldhcp1 dhcpd: exiting.
Looks like this error is the fatal one:
Jan 19 13:29:59 pldhcp1 dhcpd: setgroups: Operation not permitted
Any ideas how to fix this?