Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 435
  • Last Modified:

Dhcp Server Error

I'm too new with this OS. Redhat 8.0. I want to configure my Redhat to a Dhcp Server..I got this error when i try to start my dhcpd.conf. This is the error message.
---******** start **********
Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 leases to leases file.
Listening on LPF/eth0/00:08:74:92:63:09/192.168.100.0/24
Sending on   LPF/eth0/00:08:74:92:63:09/192.168.100.0/24
Can't bind to dhcp address: Address already in use
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf.   Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
                                                           [FAILED]
--****** End *********



This is my /etc/dhcpd.conf file.


ddns-update-style interim;
#ignore client-updates;

subnet 192.168.100.0 netmask 255.255.255.0 {

        range                           192.168.100.200  192.168.100.205;
        default-lease-time              6000;
        max-lease-time                  6000;
        option broadcast-address        192.168.100.255;
        option routers                  192.168.100.200;
        option subnet-mask              255.255.255.0;
        option domain-name-servers      192.168.100.200;
        option ip-forwarding            off;
#       range dynamic-bootp 192.168.100.30 192.168.100.50;

}

I checked all the possibilities but still nothing happened...Hope you can gave me idea how to solve this problem:)


0
jomelvicente
Asked:
jomelvicente
1 Solution
 
mik0rzCommented:

Two questions (which might be an answer to your problem):

1. Assuming you have more than one NIC, do you have your ethernet cable plugged into the correct NIC card?

2. What is your NIC card's IP address? (dbl-check it)

0
 
depikeCommented:
I think this problem is caused by your system's service.
you can use "netstat -an" to see if the udp port 67 is opened,this port is used by dhcpd. And then use lsof -i:67 to see what program is occupying this port,or use ps -ef|grep dhcp to see if dhcpd is already running.
 
0
 
JaemCommented:
As depike wrote, your port 67 seems already bound to a service (might be bootp, another dhcpd or...). Hence you have to find what does. So I'll just give you a few RH tips that might be useful.

"service" can be used to manually start/check/stop daemons such as dhcpd:
"service dhcpd status" will tell you if dhcpd has been statrted, "service dhcpd stop" will stop dhcpd, "service dhcpd start" will start it.

"chkconfig  --level 345 dhcpd on" activates dhcpd on runlevels 3 (text bootup) 4 (not used but included) and 5 (graphical bootup - X). Changes will be effective on the next boot. Use service to manually start the service directly.
"chkconfig --list dhcpd" gives you the current configuration of service dhcpd.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
jomelvicenteAuthor Commented:
Actually i got it already...First i re-installed a new Redhat and i go into the process. Same dhcpd.conf..and it works...Thanks guys you've shared me a lot...keep it up!!!
0
 
Gabriel OrozcoSolution ArchitectCommented:
please ask for points refund and close this question.

Regards
0
 
jomelvicenteAuthor Commented:
Administrator, I ask for a refund for my question..(",)....
0
 
Gabriel OrozcoSolution ArchitectCommented:
maybe it should be done in the community suport forums, with your question id, for reference :-)
0
 
Computer101Commented:
Points refunded and placed in PAQ

Computer101
E-E Admin
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now