Find the answer to your Linux question:
Results 1 to 7 of 7
On my server Linux Redhat Enterprise 5.0 i want to configure dhcp server but when i check the dhcp status the dhcpd was stopped and i try to invoked or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Location
    South Africa
    Posts
    30

    Dhcp failed to start


    On my server Linux Redhat Enterprise 5.0 i want to configure dhcp server but when i check the dhcp status the dhcpd was stopped and i try to invoked or to start it failed. Even when open the graphical mode service configuration, check the box and click start the output error message is dhcp failed. the error: Starting dhcpd:Failed.
    How would i start the dhcpd service to run

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    There is probably an error somewhere in the configuration file. If you need help to find it post the contents here so we can check it. I think it will be located in /etc/dhcpd/ and will be called something like dhcpd.conf
    Linux User #453176

  3. #3
    Just Joined!
    Join Date
    May 2009
    Location
    South Africa
    Posts
    30
    the output of the /var/log/messages
    Jul 9 10:49:58 Graphics-Server dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
    Jul 9 10:49:58 Graphics-Server dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Jul 9 10:49:58 Graphics-Server dhcpd: All rights reserved.
    Jul 9 10:49:58 Graphics-Server dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: ** You must add a global ddns-update-style statement to /etc/dhcpd.conf.
    Jul 9 10:49:58 Graphics-Server dhcpd: To get the same behaviour as in 3.0b2pl11 and previous
    Jul 9 10:49:58 Graphics-Server dhcpd: versions, add a line that says "ddns-update-style ad-hoc;"
    Jul 9 10:49:58 Graphics-Server dhcpd: Please read the dhcpd.conf manual page for more information. **
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: If you did not get this software from ftp.isc.org, please
    Jul 9 10:49:58 Graphics-Server dhcpd: get the latest from ftp.isc.org and install that before
    Jul 9 10:49:58 Graphics-Server dhcpd: requesting help.
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: If you did get this software from ftp.isc.org and have not
    Jul 9 10:49:58 Graphics-Server dhcpd: yet read the README, please read it before requesting help.
    Jul 9 10:49:58 Graphics-Server dhcpd: If you intend to request help from the dhcp-server@isc.org
    Jul 9 10:49:58 Graphics-Server dhcpd: mailing list, please read the section on the README about
    Jul 9 10:49:58 Graphics-Server dhcpd: submitting bug reports and requests for help.
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: Please do not under any circumstances send requests for
    Jul 9 10:49:58 Graphics-Server dhcpd: help directly to the authors of this software - please
    Jul 9 10:49:58 Graphics-Server dhcpd: send them to the appropriate mailing list as described in
    Jul 9 10:49:58 Graphics-Server dhcpd: the README file.
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: exiting.
    [root@Graphics-Server ~]#
    and the output of the dhcp.conf
    # Graphics Department
    subnet 10.2.10.0 netmask 255.255.255.0 {
    ddns-update-style ad-hoc;
    ddns-updates on;
    option broadcast-address 10.2.10.255;
    range 10.2.10.10 10.2.10.254;
    }

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    Your /var/log/messages file has the message:

    Code:
    ** You must add a global ddns-update-style statement to /etc/dhcpd.conf
    But you say that you have showed us the output from dhcp.conf. Is this a typo or is this causing the error?
    Linux User #453176

  6. #5
    Just Joined!
    Join Date
    May 2009
    Location
    South Africa
    Posts
    30
    that is the output of the dhcp.conf which is causing the error. The dhcp.conf on the above post, I have added the ddns-update-style otherwise not on the right position. I will try to change it to different position maybe might work.

  7. #6
    Just Joined!
    Join Date
    Jun 2013
    Posts
    2

    DHCP failed to start

    Do you have solution for this problem..?



    Quote Originally Posted by perfectpol7 View Post
    the output of the /var/log/messages
    Jul 9 10:49:58 Graphics-Server dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
    Jul 9 10:49:58 Graphics-Server dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Jul 9 10:49:58 Graphics-Server dhcpd: All rights reserved.
    Jul 9 10:49:58 Graphics-Server dhcpd: For info, please visit Consortium | DHCP[/url]
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: ** You must add a global ddns-update-style statement to /etc/dhcpd.conf.
    Jul 9 10:49:58 Graphics-Server dhcpd: To get the same behaviour as in 3.0b2pl11 and previous
    Jul 9 10:49:58 Graphics-Server dhcpd: versions, add a line that says "ddns-update-style ad-hoc;"
    Jul 9 10:49:58 Graphics-Server dhcpd: Please read the dhcpd.conf manual page for more information. **
    Jul 9 10:49:58 Graphics-Server dhcpd:

    Jul 9 10:49:58 Graphics-Server dhcpd: get the latest from ftp.isc.org and install that before
    Jul 9 10:49:58 Graphics-Server dhcpd: requesting help.
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: If you did get this software from ftp.isc.org and have not
    Jul 9 10:49:58 Graphics-Server dhcpd: yet read the README, please read it before requesting help.

    Jul 9 10:49:58 Graphics-Server dhcpd: mailing list, please read the section on the README about
    Jul 9 10:49:58 Graphics-Server dhcpd: submitting bug reports and requests for help.
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: Please do not under any circumstances send requests for
    Jul 9 10:49:58 Graphics-Server dhcpd: help directly to the authors of this software - please
    Jul 9 10:49:58 Graphics-Server dhcpd: send them to the appropriate mailing list as described in
    Jul 9 10:49:58 Graphics-Server dhcpd: the README file.
    Jul 9 10:49:58 Graphics-Server dhcpd:
    Jul 9 10:49:58 Graphics-Server dhcpd: exiting.
    [root@Graphics-Server ~]#
    and the output of the dhcp.conf
    # Graphics Department
    subnet 10.2.10.0 netmask 255.255.255.0 {
    ddns-update-style ad-hoc;
    ddns-updates on;
    option broadcast-address 10.2.10.255;
    range 10.2.10.10 10.2.10.254;
    }

  8. #7
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Please start a new thread with all relevant info. This one is several years old. *Locking*
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •