LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-02-2010, 07:51 AM   #1
michael.smith
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Question 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
 
Old 02-02-2010, 11:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 02-02-2010, 11:16 AM   #3
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
You can just stop it and start from console, and see what will be an output.
 
Old 02-02-2010, 12:16 PM   #4
michael.smith
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 02-02-2010, 01:22 PM   #5
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
What were others messages in all log files around Feb 2 08:57:16?
 
  


Reply

Tags
dhcp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping a shell script from running after 24 hours kaplan71 Linux - Software 6 10-07-2009 03:45 AM
NAMED Service Not Stopping dsschanze Linux - Networking 3 08-06-2007 06:03 AM
Stopping exim service ginnotech Debian 2 11-03-2004 10:41 AM
starting/stopping a service from terminal samills70 Linux - Software 4 05-20-2004 11:42 AM
Stopping a startup service MrJoshua Linux - General 1 05-15-2002 03:03 PM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration