Sponsored Content
Full Discussion: NTP issues
Operating Systems Linux Red Hat NTP issues Post 302418679 by jagsrao on Wednesday 5th of May 2010 04:59:30 AM
Old 05-05-2010
Data NTP issues

Hi,

I have gone through various sites describing on how to setup NTP and also troubleshooting. Even then, I have problems. It is described as under:
My NTP server is running on Windows 2003. It is also a PDC. It gets its time through a GPS based solution. While all my workstations running on XP / 2000 / Vista gets synchronized from the PDC, the problem lies in the linux based server(s).
One of them is a RedHat Fedora 3. As per the instructions, I have opened port 123 on the PDC and it is tagged as "Listening and Filtered".

When I ran ntpq -p on the linux box and here is the result :
Code:
 remote                       refid       st  t  when  poll  reach    delay    offset   jitter
==============================================================================
 192.168.1.30       .INIT.          16 u       -     1024     0        0.000     0.000  4000.00
 bhadra.appsoft. .INIT.16 u    -      1024     0     0.000     0.000  4000.00
 blaze.appsoft.a .INIT. 16 u       -      1024     0        0.000     0.000  4000.00
*LOCAL(0)           LOCAL(0)10 l      57       64    377       0.000     0.000    0.008
 192.168.1.30       .INIT.          16 u       -      1024    0         0.000      0.000  4000.00
 blaze.appsoft.a .LOCL.           1  u    253   1024  377      0.302  -195830 32207.7
 bhadra.appsoft. .LOCL.           1  u    249   1024  377    0.548  -195748 35514.7

_______________________________________________________________
Blaze happens to be the PDC.

When I restarted ntpd service, it got synched with a remote ntp server (0.in.pool.ntp.org).

But when I run ntpdate, I get the following :
Code:
 ntpdate -d 192.168.1.30
 5 May 14:19:46 ntpdate[30360]: ntpdate 4.2.0a@1.1190-r Mon Oct 11 09:10:21 EDT 2004 (1)
Looking for host 192.168.1.30 and service ntp
host found : 192.168.1.30
transmit(192.168.1.30)
transmit(192.168.1.30)
transmit(192.168.1.30)
transmit(192.168.1.30)
transmit(192.168.1.30)
192.168.1.30: Server dropped: no data
server 192.168.1.30, port 123
stratum 0, precision 0, leap 00, trust 000
refid [192.168.1.30], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  6:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  6:28:16.000
transmit timestamp:  cf8bfd05.ed7bb730  Wed, May  5 2010 14:19:49.927
filter delay:  0.00000  0.00000  0.00000  0.00000
         0.00000  0.00000  0.00000  0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

 5 May 14:19:50 ntpdate[30360]: no server suitable for synchronization found

--------------------------------------------------------

How do I solve this problem ?

Thanks

Regards

Jagdish

Last edited by pludi; 05-05-2010 at 06:12 AM.. Reason: code tags, please...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NTP and 11.i .....

Hi there! Does anybody know if HP-UX 11.i supports NTP? If yes, what version on NTP should be used? Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies

2. IP Networking

Ntp

How can I install ntp on AIX (4.3-5.1) ? thnx (1 Reply)
Discussion started by: Gismo
1 Replies

3. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

4. Solaris

Ntp

Hello I use Solaris 10 and I have NTP packages arlrady installed pkginfo | grep -i ntp system SUNWntpr NTP, (Root) system SUNWntpu NTP, (Usr) How to configure NTP? thanks (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

5. UNIX for Dummies Questions & Answers

Ntp Error

Hi everybody. I'm not sure where to post this, so I hope here is OK. I have 4 name servers and on one of the slaves, my log files are filling up with this error: ntpd: sendto() (fd=20): Invalid argument It is always the same IP, and only on this name server. A quick google revealed that the... (1 Reply)
Discussion started by: Gumball Dad
1 Replies

6. Solaris

What are the NTP 3 vulnerabilities?

Hi Guru I need to know which version of NTP is install in Solaris 10 box. How can I check it. IF NTP 3 in implemented then somebody told me implement NTP 4 due to security reasons, for that I have to tell what are the vulnerabilities present in NTP 3 to higher authorities. I could not able... (5 Replies)
Discussion started by: amity
5 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. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

9. Red Hat

NTP Authentication Issues: Help Please!

Hello everyone, I've been trying to set up NTP authentication between a server and a workstation. Both point to the same NTP server which is on a different physical box with its own IP address. I followed the steps below but I get the following result. How can I get this working? Expected... (0 Replies)
Discussion started by: rchaud10
0 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
TIMESYNCD.CONF(5)						  timesyncd.conf						 TIMESYNCD.CONF(5)

NAME
timesyncd.conf, timesyncd.conf.d - Network Time Synchronization configuration files SYNOPSIS
/etc/systemd/timesyncd.conf /etc/systemd/timesyncd.conf.d/*.conf /run/systemd/timesyncd.conf.d/*.conf /usr/lib/systemd/timesyncd.conf.d/*.conf DESCRIPTION
These configuration files control NTP network time synchronization. CONFIGURATION DIRECTORIES AND PRECEDENCE
The default configuration is defined during compilation, so a configuration file is only needed when it is necessary to deviate from those defaults. By default, the configuration file in /etc/systemd/ contains commented out entries showing the defaults as a guide to the administrator. This file can be edited to create local overrides. When packages need to customize the configuration, they can install configuration snippets in /usr/lib/systemd/*.conf.d/. Files in /etc/ are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages. The main configuration file is read before any of the configuration directories, and has the lowest precedence; entries in a file in any configuration directory override entries in the single configuration file. Files in the *.conf.d/ configuration subdirectories are sorted by their filename in lexicographic order, regardless of which of the subdirectories they reside in. When multiple files specify the same option, for options which accept just a single value, the entry in the file with the lexicographically latest name takes precedence. For options which accept a list of values, entries are collected as they occur in files sorted lexicographically. It is recommended to prefix all filenames in those subdirectories with a two-digit number and a dash, to simplify the ordering of the files. To disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null in the configuration directory in /etc/, with the same filename as the vendor configuration file. OPTIONS
The following settings are configured in the "[Time]" section: NTP= A space-separated list of NTP server host names or IP addresses. During runtime this list is combined with any per-interface NTP servers acquired from systemd-networkd.service(8). systemd-timesyncd will contact all configured system or per-interface servers in turn until one is found that responds. When the empty string is assigned, the list of NTP servers is reset, and all assignments prior to this one will have no effect. This setting defaults to an empty list. FallbackNTP= A space-separated list of NTP server host names or IP addresses to be used as the fallback NTP servers. Any per-interface NTP servers obtained from systemd-networkd.service(8) take precedence over this setting, as do any servers set via NTP= above. This setting is hence only used if no other NTP server information is known. When the empty string is assigned, the list of NTP servers is reset, and all assignments prior to this one will have no effect. If this option is not given, a compiled-in list of NTP servers is used instead. RootDistanceMaxSec= Maximum acceptable root distance. Takes a time value (in seconds). Defaults to 5 seconds. PollIntervalMinSec=, PollIntervalMaxSec= The minimum and maximum poll intervals for NTP messages. Each setting takes a time value (in seconds). PollIntervalMinSec= must not be smaller than 16 seconds. PollIntervalMaxSec= must be larger than PollIntervalMinSec=. PollIntervalMinSec= defaults to 32 seconds, and PollIntervalMaxSec= defaults to 2048 seconds. SEE ALSO
systemd(1), systemd-timesyncd.service(8), systemd-networkd.service(8) systemd 237 TIMESYNCD.CONF(5)
All times are GMT -4. The time now is 06:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy