LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2009, 09:51 AM   #1
Curtor
Member
 
Registered: Feb 2008
Posts: 65

Rep: Reputation: 16
ntp server repeatedly stopping/starting


After booting ubuntu server 9.04, and after I login on the terminal, I am getting the message over my terminal "Stopping NTP server ntpd" immediately followed by "Starting NTP server ntpd" about every 20 seconds.

What is causing this? How do I stop it without disabling the ntp server? Is there a more useful log than /var/log/daemon.log that I could be looking at?

This is a section of the output from daemon.log:
Quote:
Jul 20 13:39:02 cyclops-9999 ntpd[3569]: ntpd exiting on signal 15
Jul 20 13:39:02 cyclops-9999 ntpdate[3605]: adjust time server 91.189.94.4 offset -0.071625 sec
Jul 20 13:39:02 cyclops-9999 ntpd[3633]: ntpd 4.2.4p4@1.1520-o Wed May 13 21:10:45 UTC 2009 (1)
I have a wild theory that is based on my editing of the /etc/network/interfaces file. The total number of times that it prints to my terminal seems to be the same as the number of active network devices I have.
 
Old 07-20-2009, 10:56 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Hello Curtor
Quote:
Originally Posted by Curtor View Post
After booting ubuntu server 9.04, and after I login on the terminal, I am getting the message over my terminal "Stopping NTP server ntpd" immediately followed by "Starting NTP server ntpd" about every 20 seconds.

What is causing this? How do I stop it without disabling the ntp server? Is there a more useful log than /var/log/daemon.log that I could be looking at?

This is a section of the output from daemon.log:


I have a wild theory that is based on my editing of the /etc/network/interfaces file. The total number of times that it prints to my terminal seems to be the same as the number of active network devices I have.
Is the system still booting when this happens? If so your theory is promising. Have a look in /etc/network/if-up.d/. The scripts there are run every time a network interface is brought up.

On my personal desktop computer, network interfaces are seldom brought up except at boot time and I'm happy to (re)start whatever is necessary when bringing up a network interface any other time -- either manually or scripted.

Here are my notes. YMMV
  • avahi-autoipd Only useful for 169.254.0.0/16 networks. Deleted.
  • avahi-daemon The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). Deleted.
  • mountnfs During boot, NFS is started by /etc/rc.S/S44nfs-common so not needed here. Deleted.
  • ntpdate During boot, NTP is started by /etc/rc2.d/S23ntp so not needed here. Deleted.
  • openssh-server Not used here. Deleted.
  • postfix During boot, postfix is started by /etc/rc2.d/ S20postfix so not needed here. Deleted.
  • uml-utilities May be needed during boot because /etc/network/interfaces includes tunctl_user lines for tap0 and tap1 after the up line. Not changed
  • wpasupplicant Only useful for wireless networks. Not used here. Deleted.
The deletions speeded up the boot usefully.

Best

Charles
 
  


Reply


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
System boot hangs at Starting NTP server: ntpd. WHY? duyuyang Linux - Newbie 7 10-02-2016 10:17 AM
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 08:35 PM
10.1, server crashing repeatedly wheel Mandriva 1 04-04-2006 04:39 PM
Stopping X server from starting up Graham_UK Fedora 4 04-19-2005 03:39 PM
X server repeatedly crashes Draylath Linux - Newbie 2 07-17-2004 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration