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.CONF(5)							File Formats Manual						      NTPD.CONF(5)

NAME
ntpd.conf - Network Time Protocol daemon configuration file DESCRIPTION
This manual page describes the format of the ntpd(8) configuration file. The optional weight keyword permits finer control over the relative importance of time sources (servers or sensor devices). Weights are specified in the range 1 to 10; if no weight is given, the default is 1. A server with a weight of 5, for example, will have five times more influence on time offset calculation than a server with a weight of 1. ntpd.conf has the following format: Empty lines and lines beginning with the `#' character are ignored. Keywords may be specified multiple times within the configuration file. They are as follows: listen on address OpenNTPd has the ability to sync the local clock to remote NTP servers and, if this directive is specified, can act as NTP server itself, redistributing the local clock. Specify a local IP address or a hostname the ntpd(8) daemon should listen on to enable remote clients synchronization. If it appears multiple times, ntpd(8) will listen on each given address. If `*' is given as an address, ntpd(8) will listen on all local addresses. ntpd(8) does not listen on any address by default. For example: listen on * or listen on 127.0.0.1 listen on ::1 sensor device [correction microseconds] [weight weight-value] Specify a timedelta sensor device ntpd(8) should use. The sensor can be specified multiple times: ntpd(8) will use each given sen- sor that actually exists. Non-existent sensors are ignored. If `*' is given as device name, ntpd(8) will use all timedelta sensors it finds. ntpd(8) does not use any timedelta sensor by default. For example: sensor * sensor udcf0 An optional correction in microseconds can be given to compensate for the sensor's offset. The maximum correction is 127 seconds. For example, if a DCF77 receiver is lagging 15ms behind actual time: sensor udcf0 correction 15000 server address [weight weight-value] Specify the IP address or the hostname of an NTP server to synchronize to. If it appears multiple times, ntpd(8) will try to syn- chronize to all of the servers specified. If a hostname resolves to multiple IPv4 and/or IPv6 addresses, ntpd(8) uses the first address. If it does not get a reply, ntpd(8) retries with the next address and continues to do so until a working address is found. For example: server 10.0.0.2 weight 5 server ntp.example.org weight 1 To provide redundancy, it is good practice to configure multiple servers. In general, best accuracy is obtained by using servers that have a low network latency. servers address [weight weight-value] As with server, specify the IP address or hostname of an NTP server to synchronize to. If it appears multiple times, ntpd(8) will try to synchronize to all of the servers specified. Should the hostname resolve to multiple IP addresses, ntpd(8) will try to syn- chronize to all of them. For example: servers pool.ntp.org FILES
/etc/openntpd/ntpd.conf default ntpd(8) configuration file SEE ALSO
ntpd(8), sysctl(8) HISTORY
The ntpd.conf file format first appeared in OpenBSD 3.6 . $Mdocdate: October 2 2007 $ NTPD.CONF(5)