• este error
    setgroups: Operation not permitted

    • Hi luis,
      It just because of selinux . please disable selinux and reboot your machine and try again.

      #vim /etc/selinux/config
      find this line
      SELINUX=enforcing
      and replace with
      SELINUX=disabled

      and reboot your machine .

  • chris

    thanks for this article, it works, now i know where to start as i go deeper studies on dhcp server.

  • chris

    thanks for this article, it works, now i know where to start as i go deeper studies on dhcp server.

  • rosesa

    +1 for selinux troubleshooting comment

  • rosesa

    +1 for selinux troubleshooting comment

  • I have installed and configured dhcp,exactly as told in this post but when I am starting dhcpd service it’s getting failed …..can u please help me …and I also have disabled the selinux….but problem is still persisting……

  • I have installed and configured dhcp,exactly as told in this post but when I am starting dhcpd service it’s getting failed …..can u please help me …and I also have disabled the selinux….but problem is still persisting……

    • Yaseen Khan

      turn off your firewall and reboot your system

  • Daniel Raiche

    I’m having an odd problem, it keeps telling me semicolon expected when I start the dhcpd service, but I’m sitting here looking at the semicolon in the config file. I’ve re-created a few times and the same thing happens, won’t allow me to start the service.

  • Daniel Raiche

    I’m having an odd problem, it keeps telling me semicolon expected when I start the dhcpd service, but I’m sitting here looking at the semicolon in the config file. I’ve re-created a few times and the same thing happens, won’t allow me to start the service.

  • shell

    thank you very much for the information here..it really helps a lot..

  • shell

    thank you very much for the information here..it really helps a lot..

  • shell

    I have a problem in configuring my dhcp server…when i tried to service dhcpd restart it will always failed.

  • shell

    I have a problem in configuring my dhcp server…when i tried to service dhcpd restart it will always failed.

  • Christopher William Hawker

    I never needed to disable selinux on a fresh install of Centos 6.6, worked straight away after installing.

  • Miguel C

    the people that get “Fail” when restart the DHCP, delete the dhcpd and download and install again. I had that problem and i fixed that issue doing that. Later just backup the dhcp file in another folder. To download dhcp use this command: yum install dhcp
    and if you want to delete the dhcp folder use this command: yum remove dhcpd