DHCP works but the service keeps stopping every few hours
Ubuntu 9.10 2.6.31-17-generic
ISC DHCPd version 3.1.2 The DHCP service starts fine on boot and with manual start then works fine for about 4-5 hours. After that it just stops on its own. I start the service up and everything works fine for about 4-5 more hours untul it stops again. What do I need to do to ensure that the service will stay uo 24x7x365? Thanks Mike |
Look at your server logs to see why it crashes for a start. If you can't see anything, you can try running the server in a debugging foreground mode for extra output.
|
You can just stop it and start from console, and see what will be an output.
|
Below is my /var/log/messages output for " cat /var/log/messages | grep dhcp "
As you can see it just stops with no notification. I've sifted through the raw data for the messages files cnd cant see what may be causing it. I checked cron jobs too and cat see anything that would be stopping it there either. Also as you can see I started it up just a little bit ago with no errors. Feb 2 08:57:15 1upLinux dhcpd: Internet Systems Consortium DHCP Server V3.1.2 Feb 2 08:57:15 1upLinux dhcpd: Copyright 2004-2008 Internet Systems Consortium. Feb 2 08:57:15 1upLinux dhcpd: All rights reserved. Feb 2 08:57:15 1upLinux dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Feb 2 08:57:15 1upLinux dhcpd: Internet Systems Consortium DHCP Server V3.1.2 Feb 2 08:57:15 1upLinux dhcpd: Copyright 2004-2008 Internet Systems Consortium. Feb 2 08:57:15 1upLinux dhcpd: All rights reserved. Feb 2 08:57:15 1upLinux dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Feb 2 08:57:16 1upLinux dhcpd: Wrote 3 leases to leases file. Feb 2 08:57:16 1upLinux dhcpd: Feb 2 11:06:43 1upLinux dhcpd: Internet Systems Consortium DHCP Server V3.1.2 Feb 2 11:06:43 1upLinux dhcpd: Copyright 2004-2008 Internet Systems Consortium. Feb 2 11:06:43 1upLinux dhcpd: All rights reserved. Feb 2 11:06:43 1upLinux dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Feb 2 11:06:43 1upLinux dhcpd: Internet Systems Consortium DHCP Server V3.1.2 Feb 2 11:06:43 1upLinux dhcpd: Copyright 2004-2008 Internet Systems Consortium. Feb 2 11:06:43 1upLinux dhcpd: All rights reserved. Feb 2 11:06:43 1upLinux dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Feb 2 11:06:43 1upLinux dhcpd: Wrote 3 leases to leases file. Feb 2 11:09:36 1upLinux dhcpd: DHCPDISCOVER from 00:19:fd:48:d2:13 (Wii) via eth0 Feb 2 11:09:36 1upLinux dhcpd: DHCPOFFER on 10.245.10.51 to 00:19:fd:48:d2:13 (Wii) via eth0 Feb 2 11:09:37 1upLinux dhcpd: DHCPREQUEST for 10.245.10.51 (10.245.10.9) from 00:19:fd:48:d2:13 (Wii) via eth0 Feb 2 11:09:37 1upLinux dhcpd: DHCPACK on 10.245.10.51 to 00:19:fd:48:d2:13 (Wii) via eth0 |
What were others messages in all log files around Feb 2 08:57:16?
|
All times are GMT -5. The time now is 03:42 PM. |