Linux system hangs giving ntp errors

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Linux system hangs giving ntp errors
# 1  
Old 01-21-2011
Linux system hangs giving ntp errors

Hi folks,
I am facing issue of my system (host1) getting hanged after throwing following ntpd messages. I am not able to ssh to the server there after. only option is to restart the host:
Dec 29 02:58:51 host1 ntpd[991]: time reset -0.207907 s
Dec 29 02:58:51 host1 ntpd[991]: synchronisation lost
Dec 29 04:20:20 host1 ntpd[991]: time reset 1.018233 s
Dec 29 04:20:20 host1 ntpd[991]: synchronisation lost
Dec 29 04:35:44 host1 ntpd[991]: time reset -0.468052 s
Dec 29 04:35:44 host1 ntpd[991]: synchronisation lost
Dec 29 08:27:47 host1 ntpd[991]: time reset 0.249744 s
Dec 29 08:27:47 host1 ntpd[991]: synchronisation lost
Dec 29 11:42:50 host1 syslogd 1.4.1: restart.
Dec 29 11:42:50 host1 syslog: syslogd startup succeeded

I checked the time of my client(host1) which is getting hanged and the ntp server and found that both are having same time.
ntpq -p output gives following:
[root@host1 log]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*server1.example.c server02.exampl 4 u 976 1024 377 0.701 10.092 0.886

[root@host1 log]# ntpstat
synchronised to NTP server (172.15.16.167) at stratum 5
time correct to within 99 ms
polling server every 1024 s

Please advice. Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Solaris script using awk giving errors - please advise

I'm using solaris 10 Scenario as follows I have a logfile with 2 columns: column 1 = source directory + filename column 2 = destination directory + filename Using cron, my script polls for new files and adds them to the logfile ($ELOG) as described above. Using sed, the distination... (2 Replies)
Discussion started by: davidra
2 Replies

2. Red Hat

system freezes / hangs

Hi, We're using - openldap-2.3.43-12.el5_6.5 nss_ldap-253-25.el5 on RHEL-5.5 Intermittently the entire system hangs, no message is present in any of the log files, login to the system fails, ssh fails, ping fails, the only way to recover is to hard-boot the system. We consulted... (3 Replies)
Discussion started by: TheRock
3 Replies

3. Solaris

Solaris 10 system hangs

Solaris 10 (Sun V210) System hangs every couple of months. Have to go into ALOM to reset. I did a consolehistory report and seen this in it. Failed to exec inetd_start method of instance svc:/network/bootps/udp:default: I/O error WARNING: /pci@1c,600000/scsi@2 (glm0): Resetting... (3 Replies)
Discussion started by: Joeentech
3 Replies

4. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

5. UNIX for Dummies Questions & Answers

machine hangs for some time after giving password.

Hi I m trying to take a console of linux machine using putty. Whenever i connect to the machine and give password details to log into the machine it hangs for some time and then it allow the login. I m totally clueless why it is happening suddenly . ---------- Post updated at 01:14 AM... (1 Reply)
Discussion started by: pinga123
1 Replies

6. Solaris

System hangs (freezes) on system bell/beep

I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600. Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays. I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
Discussion started by: DeadBadger
3 Replies

7. BSD

dmesg giving errors

When running dmesg, the output is a long list of the following: ACPI Error: No object attached to node 0xffffff00016622e0 20090521 exresnte-211 ACPI Error (uteval-0329): Method execution failed (Node 0xffffff00016622e0), AE_AML_NO_OPERAND As a workaround I resort to sysctl, which gives... (0 Replies)
Discussion started by: figaro
0 Replies

8. Solaris

System hangs

Hi, today when i started the OS Sun Solaris 10 it hangs on initialization. Following was shown in the end of the screen Initializing system Please wait.... * Please help? (3 Replies)
Discussion started by: malikshahid85
3 Replies

9. UNIX for Advanced & Expert Users

NTP errors

im getting errors on all of my NTP clients. Oct 27 14:44:15 cms2 ntpd: synchronisation lost Oct 27 15:08:25 cms2 ntpd: time reset 0.688591 s Oct 27 15:08:25 cms2 ntpd: synchronisation lost Oct 27 15:28:45 cms2 ntpd: time reset 0.462257 s i checked several things: ntpq> rv status=0644... (3 Replies)
Discussion started by: modcan
3 Replies

10. Programming

gcc Compiler Switches: giving Illogical Errors

Hi, Has anyone used gcc compiler and know alot about it? I am compiling a file with: gcc -o xyz xyz.c abc.o -lsocket -lnsl it compiles pretty fine. But whe I use switches gcc -o -Wall -pedantic -ansi xyz xyz.c abc.o -lsocket -lnsl it starts giving illogical, rather I should say stupid... (1 Reply)
Discussion started by: Ahsan
1 Replies
Login or Register to Ask a Question
NTPD(8) 						      System Manager's Manual							   NTPD(8)

NAME
ntpd - "Network Time Protocol daemon" SYNOPSIS
ntpd [-dnSsv] [-f file] DESCRIPTION
The ntpd daemon synchronizes the local clock to one or more remote NTP servers or local timedelta sensors. ntpd can also act as an NTP server itself, redistributing the local time. It implements the Simple Network Time Protocol version 4, as described in RFC 2030, and the Network Time Protocol version 3, as described in RFC 1305. ntpd uses the adjtime(2) system call to correct the local system time without causing time jumps. Adjustments larger than 128ms are logged using syslog(3) with LOG_INFO priority. The threshold value is chosen to avoid having local clock drift thrash the log files. Should ntpd be started with the -d option, all calls to adjtime(2) will be logged. When ntpd starts up, it reads settings from a configuration file, typically ntpd.conf(5). The options are as follows: -d Do not daemonize. If this option is specified, ntpd will run in the foreground and log to stderr. -f file Use file as the configuration file, instead of the default /etc/openntpd/ntpd.conf. -n Configtest mode. Only check the configuration file for validity. -S Do not set the time immediately at startup. This is the default. -s Set the time immediately at startup if the local clock is off by more than 180 seconds. Allows for a large time correction, elimi- nating the need to run rdate(8) before starting . -v This option allows ntpd to send DEBUG priority messages to syslog. When ntpd receives a SIGINFO signal, it will write its peer and sensor status to syslog. FILES
/etc/openntpd/ntpd.conf default ntpd configuration file /var/lib/openntpd/ntpd.drift drift file, written by ntpd periodically and used at startup to get the initial clock drift SEE ALSO
date(1), adjfreq(2), adjtime(2), ntpd.conf(5), rdate(8), timed(8) , Network Time Protocol (Version 3), March 1992. , Simple Network Time Protocol (SNTP) Version 4, October 1996. HISTORY
The ntpd program first appeared in OpenBSD 3.6 . $Mdocdate: November 10 2007 $ NTPD(8)