This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
isc-dhcp-server respawning too fast, stopped
Post Body
I'm trying to setup a dhcp server on ubuntu 12.04 server, but I keep getting this error and dhcp can't start:
Nov 4 18:24:45 localhost kernel: [ 1277.497785] init: isc-dhcp-server respawning too fast, stopped
I installed it with apt-get install dhcp3-server; when I run the
service isc-dhcp-server start
I get the following output in my log file(/var/log/syslog)
Nov 4 18:24:45 localhost dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
Nov 4 18:24:45 localhost dhcpd: ** Ignoring requests on eth0. If this is not what
Nov 4 18:24:45 localhost dhcpd: you want, please write a subnet declaration
Nov 4 18:24:45 localhost dhcpd: in your dhcpd.conf file for the network segment
Nov 4 18:24:45 localhost dhcpd: to which interface eth0 is attached. **
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd: Not configured to listen on any interfaces!
Nov 4 18:24:45 localhost kernel: [ 1277.274008] init: isc-dhcp-server main process (2389) terminated with status 1
Nov 4 18:24:45 localhost kernel: [ 1277.274072] init: isc-dhcp-server main process ended, respawning
Nov 4 18:24:45 localhost dhcpd: Wrote 0 leases to leases file.
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
Nov 4 18:24:45 localhost dhcpd: ** Ignoring requests on eth0. If this is not what
Nov 4 18:24:45 localhost dhcpd: you want, please write a subnet declaration
Nov 4 18:24:45 localhost dhcpd: in your dhcpd.conf file for the network segment
Nov 4 18:24:45 localhost dhcpd: to which interface eth0 is attached. **
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd: Not configured to listen on any interfaces!
Nov 4 18:24:45 localhost kernel: [ 1277.386126] init: isc-dhcp-server main process (2396) terminated with status 1
Nov 4 18:24:45 localhost kernel: [ 1277.386190] init: isc-dhcp-server main process ended, respawning
Nov 4 18:24:45 localhost dhcpd: Wrote 0 leases to leases file.
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
Nov 4 18:24:45 localhost dhcpd: ** Ignoring requests on eth0. If this is not what
Nov 4 18:24:45 localhost dhcpd: you want, please write a subnet declaration
Nov 4 18:24:45 localhost dhcpd: in your dhcpd.conf file for the network segment
Nov 4 18:24:45 localhost dhcpd: to which interface eth0 is attached. **
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd:
Nov 4 18:24:45 localhost dhcpd: Not configured to listen on any interfaces!
Nov 4 18:24:45 localhost kernel: [ 1277.497721] init: isc-dhcp-server main process (2403) terminated with status 1
Nov 4 18:24:45 localhost kernel: [ 1277.497785] init: isc-dhcp-server respawning too fast, stopped
I thought I configured my dhcp properly??
Here is my /etc/dhcp/dhcpd.conf :
ddns-update-style ad-hoc;
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.1;
range 10.0.0.50 10.0.0.70;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.254;
option domain-name-servers 10.0.0.1;
option netbios-name-servers 10.0.0.1;
option netbios-node-type 8;
}
allow booting;
allow bootp;
# Standard configuration directives...
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option domain-name-servers 10.0.0.1;
option routers 10.0.0.1;
default-lease-time 600;
max-lease-time 7200;
# Group the PXE bootable hosts together
group {
# PXE-specific configuration directives...
next-server 10.0.0.1;
filename "/tftpboot/ploplinux-netboot/pxelinux.0";
# You need an entry like this for every host
# unless you're using dynamic addresses
# host testpc {
# hardware ethernet 00:0C:6E:A6:1A:E6;
# fixed-address 10.0.0.250;
# }
}
Author
Account Strength
90%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,141
Link Karma
110
Comment Karma
4,031
Profile updated: 5 days ago
Posts updated: 9 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 12 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/linuxquesti...