[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DHCPd Failled to start, Permissions Error!

On Wed, 2006-02-08 at 11:07 +0000, Peter Thompson wrote:

Salient points of your error message:

> 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.

Is there something else using the same port as your intended DHCP
server?  Perhaps you should post the output of:  netstat -ntua

Do you have security permissions preventing it from running (e.g.

> Steps to Reproduce:  Using the downloaded DHCP.conf on Fedora Core 4,
> edited to reflect our server's IP adress, and attempting to start the
> DHCP server. 

Hmm, the second posting I've seen very recently about DHCP.  What
exactly is the downloaded DHCP.conf file?

I've attached a copy of what works on my server (my /etc/dhcpd.conf
file), with my domain name renamed to "example.com".  You don't need all
that I've got in mine, I like to experiment with things, but you might
spot some differences between yours and mine that gives you a clue.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

allow                   client-updates;

include			"/etc/rndc.key";  # (same key used by BIND, needed to update DNS records)

ddns-domainname		"example.com.";
ddns-rev-domainname	"in-addr.arpa.";
ddns-update-style	interim;
ddns-updates		on;

default-lease-time	21600;	# 2 hours
max-lease-time		43200;	# 24 hours
min-lease-time		30;	# 30 seconds (might allow renewing experiments)

option domain-name	"example.com.";

option nntp-server	news.example.com;
option pop-server	pop3.example.com;
option smtp-server	smtp.example.com;
option wpad-curl	code 252 = text;
#option wpad-curl	"http://proxy.example.com/wpad.dat";;
option www-server	www.example.com;

option ntp-servers	time.example.com;
option time-offset	34200;	# Australian Central Standard Time
#option time-offset	37800;	# Central Australia Daylight Time

# Seem to be stupidly stuck with manually setting this!
# Daylight savings:  2am last Sun of Oct - 3am first Sun of Apr

option ip-forwarding	off;	# tell clients not to act as gateways (?)

shared-network example.com {

	option wpad-curl        "http://proxy.example.com/wpad.dat";;

	subnet netmask {


		option routers;  # default gateway
		option subnet-mask;
		option broadcast-address;
		option domain-name-servers;

		option netbios-dd-server;
		option netbios-name-servers;  # WINS
		option netbios-node-type 8;
		option netbios-scope "";

		option finger-server		finger.example.com;

		zone  1.168.192.in-addr.arpa. {
			key rndckey;

		zone example.com. { 
			key rndckey;

		# we want the nameserver to appear at a fixed address
		# (Any terminal saying it's ns.example.com will be
		# assigned this IP.)

		host ns {
			#next-server ns.example.com;

		host fixed {

                host fixme {

		#host flakey {
		#	hardware ethernet 00:00:21:25:92:fb; 
		#	fixed-address;
		#	option host-name "deadmeat";
		#	update-static-leases on;

#		host rover {
#			hardware ethernet 00:48:54:8e:8c:0c;
#			fixed-address;
#		#	set ddns-rev-name = "";
#			fixed-address rover.example.com;
#			option host-name "rover";
#		}


# ------------------ end of it all ---------------------------------------
# see http://www.arda.homeunix.net/dnssetup.shtml for some additional help

# removed while tidying:
# option nis-domain		"localdomain.";
# probably not needed, as don't use NIS
# range dynamic-bootp;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]