The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sync Time/date with NTP server Sunguy222 UNIX for Advanced & Expert Users 2 05-15-2008 06:04 AM
Sync AIX system time with Windows Domain Controller murderfly AIX 1 01-18-2008 07:05 AM
How To Provide Time Sync Using Nts-150 Time Server On Unix Network? pesty UNIX for Advanced & Expert Users 2 03-21-2007 10:20 PM
Unable to display the date-time in seconds on AIX me_haroon AIX 6 07-11-2006 06:18 AM
TIME SYNC (NTP) SmartJuniorUnix UNIX for Dummies Questions & Answers 3 01-19-2001 01:56 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2008
Registered User
 

Join Date: Nov 2007
Posts: 14
Thumbs up unable to sync the time with ntp server

Hi folks,

The server time is no tgetiing synched up with the NTP server.
I tried ntpdate -u <ipadress> this is not working. please help out.

regards,
Sag.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-01-2008
Registered User
 

Join Date: Feb 2008
Location: The Netherlands
Posts: 38
Are you getting an error message?
What OS are you using?
Are you able to "reach" the timeserver?
Reply With Quote
  #3 (permalink)  
Old 04-02-2008
Registered User
 

Join Date: Feb 2008
Posts: 47
You can contact BTOI

You can contact prakash from BTOI...! He is very Brilliant
Reply With Quote
  #4 (permalink)  
Old 04-02-2008
Registered User
 

Join Date: Mar 2008
Posts: 2
Unhappy

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
Reply With Quote
  #5 (permalink)  
Old 04-02-2008
Registered User
 

Join Date: Feb 2008
Location: The Netherlands
Posts: 38
Are you able to run ntpdate in debug mode?
maybe a clue is given....
ntpdate -d -u <ntpserver>
or maybe try different ntp server, and see what happens

maybe (non suse and non redhat) this can help
HOWTO NTP - Gentoo Linux Wiki

Last edited by rvegmond; 04-02-2008 at 10:58 AM. Reason: adding gentoo docs
Reply With Quote
  #6 (permalink)  
Old 04-03-2008
Registered User
 

Join Date: Mar 2008
Posts: 2
I tried in debug mode no error but the server is not getting synced up with the NTP server. Any more suggestions.
Reply With Quote
  #7 (permalink)  
Old 04-03-2008
Registered User
 

Join Date: Feb 2008
Location: The Netherlands
Posts: 38
Can you post the output of the debug ntp sync run?
Maybe there is some clue what is happening.
(cause no error usually means it works...)
Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0