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
tickadj(1)						      General Commands Manual							tickadj(1)

NAME
tickadj - set time-related kernel variables SYNOPSIS
tickadj [ -Aqs ] [ -a tickadj ] [ -t tick ] DESCRIPTION
The tickadj program reads, and optionally modifies, several timekeeping-related variables in the running kernel in some machines, via /dev/kmem . The particular variables it is concerned with are tick , which is the number of microseconds added to the system time during a clock interrupt, tickadj , which sets the slew rate and resolution used by the adjtime system call, and dosynctodr , which indicates to the kernels on some machines whether they should internally adjust the system clock to keep it in line with time-of-day clock or not. By default, with no arguments, tickadj reads the variables of interest in the kernel and displays them. At the same time, it determines an "optimal" value for the value of the tickadj variable if the intent is to run the ntpd Network Time Protocol (NTP) daemon, and prints this as well. Since the operation of tickadj when reading the kernel mimics the operation of similar parts of the ntpd program fairly closely, this can be useful when debugging problems with ntpd . Note that tickadj should be run with some caution when being used for the first time on different types of machines. The operations which tickadj tries to perform are not guaranteed to work on all Unix machines and may in rare cases cause the kernel to crash. COMMAND LINE OPTIONS
-a tickadj Set the kernel variable tickadj to the value tickadj specified. -A Set the kernel variable tickadj to an internally computed "optimal" value. -t tick Set the kernel variable tick to the value tick specified. -s Set the kernel variable dosynctodr to zero, which disables the hardware time-of-year clock, a prerequisite for running the ntpd daemon under SunOS4. -q Normally, tickadj is quite verbose about what it is doing. The -q flag tells it to shut up about everything except errors. FILES
/vmunix /unix /dev/kmem BUGS
Fiddling with kernel variables at run time as a part of ordinary operations is a hideous practice which is only necessary to make up for deficiencies in the implementation of adjtime in many kernels and/or brokenness of the system clock in some vendors' kernels. It would be much better if the kernels were fixed and the tickadj program went away. SEE ALSO
More documentation is available in the package ntp-doc. AUTHOR
David L. Mills <mills@udel.edu> ntp 4.1.1b-r5 tickadj(1)
All times are GMT -4. The time now is 06:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy