?
Solved

Dhcp Server Error

Posted on 2003-03-16
8
Medium Priority
?
416 Views
Last Modified: 2010-03-18
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
Comment
Question by:jomelvicente
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 

Expert Comment

by:mik0rz
ID: 8150292

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
 

Expert Comment

by:depike
ID: 8151061
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
 
LVL 1

Expert Comment

by:Jaem
ID: 8152550
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jomelvicente
ID: 8158139
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
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 8168867
please ask for points refund and close this question.

Regards
0
 

Author Comment

by:jomelvicente
ID: 8179223
Administrator, I ask for a refund for my question..(",)....
0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 8179291
maybe it should be done in the community suport forums, with your question id, for reference :-)
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 8221912
Points refunded and placed in PAQ

Computer101
E-E Admin
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question