LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-16-2016, 05:52 PM   #1
djevo1
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Rep: Reputation: Disabled
Unable to start DHCP server CentOS


I have configured the DHCp server but it refuses to start. Attached is what comes out of the log and the configuration file. I have also attempted to configure through webmin with no luck.

http://dropbox.com/s/a18xtghfic90evw/dhcpd.conf?dl=0

Code:
Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; enabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since Thu 2016-07-14 19:29:04 EDT; 1min 1s ago
        Docs: man:dhcpd(8)
              man:dhcpd.conf(5)
     Process: 32589 ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid (code=exited, status=1/FAILURE)
    Main PID: 32589 (code=exited, status=1/FAILURE)

Jul 14 19:29:04 drangonsden dhcpd[32589]: it work better with this distribution.
Jul 14 19:29:04 drangonsden dhcpd[32589]: 
Jul 14 19:29:04 drangonsden dhcpd[32589]: Please report for this software via the CentOS Bugs Database:
Jul 14 19:29:04 drangonsden dhcpd[32589]:     http://bugs.centos.org/
Jul 14 19:29:04 drangonsden dhcpd[32589]: 
Jul 14 19:29:04 drangonsden dhcpd[32589]: exiting.
Jul 14 19:29:04 drangonsden systemd[1]: dhcpd.service: main process exited, code=exited, status=1/FAILURE
Jul 14 19:29:04 drangonsden systemd[1]: Failed to start DHCPv4 Server Daemon.
Jul 14 19:29:04 drangonsden systemd[1]: Unit dhcpd.service entered failed state.
Jul 14 19:29:04 drangonsden systemd[1]: dhcpd.service failed.
 
Old 07-17-2016, 11:07 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Run the command from the ExecStart line and see what the error is
 
Old 07-17-2016, 12:02 PM   #3
djevo1
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
I get

systemctl: invalid option -- 'c'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start DHCP server divyashree Linux - Server 5 05-25-2013 10:07 AM
Apache/2.2.21 unable to start on CentOS 6.2 glowe Linux - Networking 7 06-11-2012 08:36 AM
Unable to Start X in Centos mselvaprakash Linux - Server 2 10-20-2010 03:07 AM
CentOS v5.2 - Unable to start udev Arty Ziff Linux - Server 3 12-03-2008 08:16 AM
Unable to start DHCP server krytenuk1971 Linux - Networking 2 06-25-2006 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration