Sponsored Content
Operating Systems Linux SuSE unable to sync the time with ntp server Post 302181134 by sunil456 on Wednesday 2nd of April 2008 07:30:23 AM
Old 04-02-2008
Data

We are using suse-linux and we are not getting any error messages. we tried 1. adding ntp server in ntp.conf file and restarting xntpd
2. using ntpdate -u <ntpserver>
this also doesn't work .

In /var/log/ntp these are the following messages.



1 Apr 12:17:02 ntpd[26972]: sendto(10.188.0.21): Bad file descriptor
1 Apr 12:17:03 ntpd[26972]: sendto(10.188.0.20): Bad file descriptor
1 Apr 12:17:04 ntpd[26972]: sendto(10.188.0.21): Bad file descriptor
1 Apr 12:17:05 ntpd[26972]: sendto(10.188.0.20): Bad file descriptor
1 Apr 12:17:06 ntpd[26972]: sendto(10.188.0.21): Bad file descriptor
1 Apr 12:17:07 ntpd[26972]: sendto(10.188.0.20): Bad file descriptor
1 Apr 12:17:08 ntpd[26972]: sendto(10.188.0.21): Bad file descriptor
1 Apr 12:17:08 ntpd[26972]: ntpd exiting on signal 2
1 Apr 12:22:45 ntpd[24999]: no servers reachable
1 Apr 12:30:05 ntpd[24999]: synchronized to 10.188.0.20, stratum 3
1 Apr 12:33:13 ntpd[24999]: no servers reachable
1 Apr 12:40:47 ntpd[24999]: synchronized to 10.188.0.21, stratum 3
1 Apr 12:48:34 ntpd[24999]: synchronized to 10.188.0.20, stratum 3
1 Apr 12:48:38 ntpd[24999]: time reset +4.722232 s
1 Apr 12:49:27 ntpd[24999]: ntpd exiting on signal 15
1 Apr 12:50:45 ntpd[29152]: synchronized to 10.188.0.21, stratum 3
1 Apr 12:50:45 ntpd[29152]: kernel time sync disabled 0041
1 Apr 12:51:23 ntpd[29152]: ntpd exiting on signal 15
1 Apr 13:54:40 ntpd[29248]: synchronized to LOCAL(0), stratum 10
1 Apr 13:54:40 ntpd[29248]: kernel time sync disabled 0041
1 Apr 14:09:52 ntpd[29248]: kernel time sync enabled 0001
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

TIME SYNC (NTP)

Is there a utility which offers the ability to utilize NTP to sync time on machine. If so please point to man page or web site (3 Replies)
Discussion started by: SmartJuniorUnix
3 Replies

2. UNIX for Advanced & Expert Users

How To Provide Time Sync Using Nts-150 Time Server On Unix Network?

can anybody tel lme,how to instal NTS -150 on a unix network,it needs some patch to fetch time frm serve,,?? (2 Replies)
Discussion started by: pesty
2 Replies

3. UNIX for Advanced & Expert Users

Sync Time/date with NTP server

Hello all, What would be the most convienint and proper way on syncing up the time and date on Solaris 8 servers with an NTP server? Any help would be appreciated. Thanks (2 Replies)
Discussion started by: Sunguy222
2 Replies

4. UNIX for Advanced & Expert Users

How to set NTP server to +1 hour time?

Hello, colleges! I need to synchronize time on several thousands device (UTM-1 Edge Appliances - All inclusive, all secure, all branch offices.) which don`t understand summer time at all. But in my country summer time are used. I plan to sync it with NTP server with modificated time: plus one... (2 Replies)
Discussion started by: chmelvv
2 Replies

5. Solaris

NTP time sync in Solaris 10

Ok, I have 4 production systems. There is one NTP server for all four systems. In each system there is one Solaris 10 box that points to that NTP server. All of the other machines in the system point to the Solaris 10 machine to get their time sync. All four Solaris 10 machines have essentially... (2 Replies)
Discussion started by: DeCoTwc
2 Replies

6. Red Hat

ntp error: time sync and frequency error

Hi Expert, One on my server keep logging this error below, how to fix this issue? Thank you. Reggy. pluton02:/home/reggy --> sudo grep "ntpd" /var/log/messages | tail Oct 6 00:26:18 pluton02 ntpd: time reset -6.588403 s Oct 6 00:26:18 pluton02 ntpd: frequency error -512 PPM exceeds... (0 Replies)
Discussion started by: regmaster
0 Replies

7. 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

8. Fedora

NTP Clients not sync

hi guys I have several Red Hat 5.7(7) all of them sync time with two NTP Servers based on Windows but the issue is I configure the NTP service, I start the ntp service and use ntpdate -u to set the time the first time This is what I do 1. Configure /etc/ntp.conf restrict default kod... (2 Replies)
Discussion started by: karlochacon
2 Replies

9. Linux

Questions about the NTP time server sync

Hi folks, I have developed a Linux server for my customer. After migrating the server to my customer site, I was trying to sync its time to the NTP time servers at my customer site. Below is the ntp.conf: % vi /etc/ntp.conf # Permit time synchronization with our time source, but do not # permit... (2 Replies)
Discussion started by: kimurayuki
2 Replies

10. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
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)
All times are GMT -4. The time now is 12:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy