Operating System - HP-UX
1826061 Members
3990 Online
109690 Solutions
New Discussion

ntpdate command gives error

 
SANTOSH S. MHASKAR
Trusted Contributor

ntpdate command gives error

Hi,

I have configured ntp client/server and
when i use ntpdate command it gives following error.

/ # ntpdate 10.22.28.204
18 Nov 13:27:21 ntpdate[22959]: no server suitable for synchronization found

My configuration is as follows.

ntp server IP 10.22.28.204

server configuration in /etc/ntp.conf

server 127.127.1.1 # local clock
fudge 127.127.1.1 stratum 8

client IP 10.22.28.9

client conf in /etc/ntp.conf

## Configuration for cityfa server as ntp server

server 10.22.28.204
driftfile /var/adm/ntp.drift.client

when ntp daemon is not running on server
and if i issue ntpdate 10.22.28.204 on client
it gives above error.

I am not able to sinc the client time with server time, what is going wrong?

Pl. help.


-Santosh Mhaskar
5 REPLIES 5
RAC_1
Honored Contributor

Re: ntpdate command gives error

first check the time difference between them. If it is high, it may not work. Try setting it manually.
There is no substitute to HARDWORK
SANTOSH S. MHASKAR
Trusted Contributor

Re: ntpdate command gives error

The problem is solved,

I have to use -b option with ntpdate,

ntpdate -bv

Thanks RAC for ur help.


-Santosh
Gary Cantwell
Honored Contributor

Re: ntpdate command gives error

Hi Santosh,

Please take a moment to assign points to those who have take the time to assist you, here's how:

http://forums1.itrc.hp.com/service/forums/bizsupport/helptips.do?#33

Thanks,

Gary
Chris House
Frequent Advisor

Re: ntpdate command gives error

I get the same error -

root@caramello [/]
# ntpdate -b 0.us.pool.ntp.org
22 Dec 11:39:32 ntpdate[8567]: no server suitable for synchronization found

root@caramello [/]
# ntpq -p 0.us.pool.ntp.org
remote refid st t when poll reach delay offset disp
==============================================================================
*ONCORE(0) .GPS. 0 l - 16 377 0.00 -0.011 0.24
xnist1-ny.witime .ACTS. 1 u - 64 377 8.22 4.070 4.50

Why do I get the "no server suitable for synchronization found" ? xntpd is not running.
Chris House
Frequent Advisor

Re: ntpdate command gives error

I was able to get it to work using ntpdate -uv time-a.nist.gov

How can I instruct xntpd to do the same thing as ntpdate - use an unpriviledged port for outgoing packets (ntpdate -u)?