DHCP Server Problem

Eric Shubert ejs at shubes.net
Thu Oct 1 17:39:40 MST 2009


Dazed_75 wrote:
> BTW, I send this to both lists (discussion and application) due to 
> renewed interest in getting the application list to be used though I 
> always felt that was more for end user applications.  I would be happy 
> to see that clarified.
> 
> This is on ubuntu 9.04 being changed to perhaps be a PXE server for 
> installfests.  The problem is that the DHCP Server which should be 
> started during bootup is failing.  After logging in I can start it 
> manually with "sudo /etc/init.d/dhcp3-server start".  FYI, that is what 
> is pointed to in rc?.d:
> 
> lrwxrwxrwx 1 root root  22 2009-09-30 11:56 S50dhcp3-server -> 
> ../init.d/dhcp3-server*
> 
> I suspect the failure is because the ethernet port has not finished 
> being set up.  and the only way I know that might fix that is to change 
> the S50 shown above to a higher number like S55 or S60.  I find the 
> following in syslog
> 
> Oct  1 15:07:40 ifserver kernel: [   18.638594] warning: `dhcpd3' uses 
> 32-bit capabilities (legacy support in use)
> Oct  1 15:07:40 ifserver dhcpd: Internet Systems Consortium DHCP Server 
> V3.1.1
> Oct  1 15:07:40 ifserver dhcpd: Copyright 2004-2008 Internet Systems 
> Consortium.
> Oct  1 15:07:40 ifserver dhcpd: All rights reserved.
> Oct  1 15:07:40 ifserver dhcpd: For info, please visit 
> http://www.isc.org/sw/dhcp/
> Oct  1 15:07:40 ifserver dhcpd: Internet Systems Consortium DHCP Server 
> V3.1.1
> Oct  1 15:07:40 ifserver dhcpd: Copyright 2004-2008 Internet Systems 
> Consortium.
> Oct  1 15:07:40 ifserver dhcpd: All rights reserved.
> Oct  1 15:07:40 ifserver dhcpd: For info, please visit 
> http://www.isc.org/sw/dhcp/
> Oct  1 15:07:41 ifserver dhcpd: Internet Systems Consortium DHCP Server 
> V3.1.1
> Oct  1 15:07:41 ifserver dhcpd: Copyright 2004-2008 Internet Systems 
> Consortium.
> Oct  1 15:07:41 ifserver dhcpd: All rights reserved.
> Oct  1 15:07:41 ifserver dhcpd: For info, please visit 
> http://www.isc.org/sw/dhcp/
> Oct  1 15:07:41 ifserver dhcpd: Wrote 0 deleted host decls to leases file.
> Oct  1 15:07:41 ifserver dhcpd: Wrote 0 new dynamic host decls to leases 
> file.
> Oct  1 15:07:41 ifserver dhcpd: Wrote 3 leases to leases file.
> Oct  1 15:07:41 ifserver dhcpd:
> Oct  1 15:07:41 ifserver dhcpd: Not configured to listen on any interfaces!
> Oct  1 15:07:43 ifserver anacron[2813]: Anacron 2.3 started on 2009-10-01
> Oct  1 15:07:43 ifserver anacron[2813]: Will run job `cron.daily' in 5 min.
> Oct  1 15:07:43 ifserver anacron[2813]: Jobs will be executed sequentially
> Oct  1 15:07:43 ifserver /usr/sbin/cron[2856]: (CRON) INFO (pidfile fd = 3)
> Oct  1 15:07:43 ifserver /usr/sbin/cron[2857]: (CRON) STARTUP (fork ok)
> Oct  1 15:07:43 ifserver /usr/sbin/cron[2857]: (CRON) INFO (Running 
> @reboot jobs)
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): device state 
> change: 1 -> 2
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): bringing up 
> device.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): preparing device.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): deactivating 
> device (reason: 2).
> Oct  1 15:07:44 ifserver kernel: [   21.702709] ADDRCONF(NETDEV_UP): 
> eth1: link is not ready
> Oct  1 15:07:44 ifserver kernel: [   21.704435] e1000: eth1: 
> e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow
>  Control: RX/TX
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): carrier now ON 
> (device state 2)
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): device state 
> change: 2 -> 3
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) 
> starting connection 'Auto eth1'
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): device state 
> change: 3 -> 4
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 1 of 5 (Device Prepare) scheduled...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 1 of 5 (Device Prepare) started...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 2 of 5 (Device Configure) scheduled...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 1 of 5 (Device Prepare) complete.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 2 of 5 (Device Configure) starting...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): device state 
> change: 4 -> 5
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 2 of 5 (Device Configure) successful.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 3 of 5 (IP Configure Start) scheduled.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 2 of 5 (Device Configure) complete.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 3 of 5 (IP Configure Start) started...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  (eth1): device state 
> change: 5 -> 7
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 4 of 5 (IP Configure Get) scheduled...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 3 of 5 (IP Configure Start) complete.
> Oct  1 15:07:44 ifserver kernel: [   21.716200] ADDRCONF(NETDEV_CHANGE): 
> eth1: link becomes ready
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 4 of 5 (IP Configure Get) started...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 5 of 5 (IP Configure Commit) scheduled...
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 4 of 5 (IP Configure Get) complete.
> Oct  1 15:07:44 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 5 of 5 (IP Configure Commit) started...
> Oct  1 15:07:44 ifserver avahi-daemon[2665]: Joining mDNS multicast 
> group on interface eth1.IPv4 with address 192.168.2.10.
> Oct  1 15:07:44 ifserver avahi-daemon[2665]: New relevant interface 
> eth1.IPv4 for mDNS.
> Oct  1 15:07:44 ifserver avahi-daemon[2665]: Registering new address 
> record for 192.168.2.10 on eth1.IPv4.
> Oct  1 15:07:45 ifserver NetworkManager: <info>  (eth1): device state 
> change: 7 -> 8
> Oct  1 15:07:45 ifserver NetworkManager: <info>  Policy set 'Auto eth1' 
> (eth1) as default for routing and DNS.
> Oct  1 15:07:45 ifserver NetworkManager: <info>  Activation (eth1) 
> successful, device activated.
> Oct  1 15:07:45 ifserver NetworkManager: <info>  Activation (eth1) Stage 
> 5 of 5 (IP Configure Commit) complete.
> Oct  1 15:07:45 ifserver avahi-daemon[2665]: Registering new address 
> record for fe80::20d:60ff:feb5:39a3 on eth1.*.
> 
> Is that (S55) my solution or is there a better one?  Or am I totally 
> missing something doing this task?
> -- 
> Dazed_75 a.k.a. Larry
> 
> The spirit of resistance to government is so valuable on certain 
> occasions, that I wish it always to be kept alive.
>  - Thomas Jefferson
> 
Oct  1 15:07:41 ifserver dhcpd: Not configured to listen on any interfaces!

What does your dhcpd configuration file contain?

-- 
-Eric 'shubes'



More information about the PLUG-discuss mailing list