DHCPd Failled to start, Permissions Error!
Tim
ignored_mailbox at yahoo.com.au
Wed Feb 8 11:35:21 UTC 2006
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.
SELinux)?
> 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.
-------------- next part --------------
authoritative;
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 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.2; # default gateway
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option domain-name-servers 192.168.1.2;
option netbios-dd-server 192.168.1.2;
option netbios-name-servers 192.168.1.2; # WINS
option netbios-node-type 8;
option netbios-scope "";
option finger-server finger.example.com;
zone 1.168.192.in-addr.arpa. {
primary 192.168.1.2;
key rndckey;
}
zone example.com. {
primary 192.168.1.2;
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;
fixed-address 192.168.1.2;
}
host fixed {
fixed-address 192.168.1.99;
}
host fixme {
fixed-address 192.168.1.150;
}
#host flakey {
# hardware ethernet 00:00:21:25:92:fb;
# fixed-address 192.168.1.180;
# option host-name "deadmeat";
# update-static-leases on;
#}
# host rover {
# hardware ethernet 00:48:54:8e:8c:0c;
# fixed-address 192.168.1.18;
# # set ddns-rev-name = "101.1.168.192.in-addr.arpa.";
# 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 192.168.0.20 192.168.0.30;
More information about the fedora-list
mailing list