Find the answer to your Linux question:
Results 1 to 5 of 5
Hello All, Please help me in fixing the issue. I have installed dhcp on my redhat and installation was successful. If I try to start my dhcp its failing: Starting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6

    Not able to start dhcp on redhat 5.4


    Hello All,

    Please help me in fixing the issue.
    I have installed dhcp on my redhat and installation was successful.
    If I try to start my dhcp its failing:

    Starting dhcpd: [FAILED]

    Please help me out in starting the service.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Probably it misses its configuration.
    What does the log say?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Location
    Mumbai
    Posts
    1
    Please post the syslog for the dhcp message.

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    I am trying to start as root. But the error throws as permission denied.

    This is the content of the log file:



    Aug 24 17:10:32 test syslogd 1.4.1: restart (remote reception).
    Aug 24 17:10:32 test kernel: klogd 1.4.1, log source = /proc/kmsg started.
    Aug 24 17:10:32 test dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
    Aug 24 17:10:32 test dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Aug 24 17:10:32 test dhcpd: All rights reserved.
    Aug 24 17:10:32 test dhcpd: Can't open /etc/dhcpd.conf: Permission denied
    Aug 24 17:10:32 test dhcpd:
    Aug 24 17:10:32 test dhcpd: If you did not get this software from ftp.isc.org, please
    Aug 24 17:10:32 test dhcpd: requesting help.
    Aug 24 17:10:32 test dhcpd:
    Aug 24 17:10:32 test dhcpd: If you did get this software from ftp.isc.org and have not
    Aug 24 17:10:32 test dhcpd: yet read the README, please read it before requesting help.
    Aug 24 17:10:33 test dhcpd: mailing list, please read the section on the README about
    Aug 24 17:10:33 test dhcpd: submitting bug reports and requests for help.
    Aug 24 17:10:33 test dhcpd:
    Aug 24 17:10:33 test dhcpd: Please do not under any circumstances send requests for
    Aug 24 17:10:33 test dhcpd: help directly to the authors of this software - please
    Aug 24 17:10:33 test dhcpd: send them to the appropriate mailing list as described in
    Aug 24 17:10:33 test dhcpd: the README file.
    Aug 24 17:10:33 test dhcpd:
    Aug 24 17:10:33 test dhcpd: exiting.
    Aug 24 17:10:33 test setroubleshoot: SELinux is preventing the dhcpd from using potentially mislabeled files (./dhcpd.conf). For complete SELinux messages. run sealert -l dc7ac85b-837c-4804-8b2d-5b8a236fac5c
    Aug 24 17:10:33 test kernel: Kernel logging (proc) stopped.
    Aug 24 17:10:33 test kernel: Kernel log daemon terminating.
    Aug 24 17:10:34 test exiting on signal 15

  5. #5
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Note the SELinux error in the log. Try disabling SELinux to see if that is the culprit:
    Code:
    setenforce 0
    Then try starting it again. If that's the problem, then maybe some SELinux guru here can tell you what command you need to run make it happy (or just disable SELinux like I do, if you don't need it).

    Are you sure you are root when you start it?

    What is the exact command you are using to start it?

    You can run it in the foreground, in debug mode, too:
    Code:
    /usr/sbin/dhcpd -d -f

Posting Permissions

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