NTP Client & Server doesn't synchronise!

Hi experts,

I'm trying to configure NTP Server and Clients on Solaris 5.8, but it doesn't synchronize when i test to change time clock in NTP Server.

In NTP Server i copy ntp.server to ntp.conf in /etc/inet/ and add below lines:

fudge stratum 10

broadcast ttl 4

peer main-ssp
peer spare-ssp2

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0

and in NTP Clients I copy ntp.client to ntp.conf and add below lines:

root@m2000svr # cd /etc/inet/
root@m2000svr # less ntp.conf
server prefer
fudge stratum 10

broadcast ttl 4

After then i issue cmd -> ntpdate ip-of-ntpserver from ntp clients. as the result the time clock is adjusted to be the same ntp-server. but when i test to change time clock in Ntp-server, the cient doesn't change follow ntp-server.
How to do it?

Here is the result of my query(both server and clients show the same result)
ntpq> peers
     remote           refid      st t when poll reach   delay   offset  jitter
*LOCAL(0)        LOCAL(0)        10 l   41   64  377    0.000    0.000  10.010         16 -    -   64    0    0.000    0.000 16000.0
ntpq> association
ind assID status  conf reach auth condition  last_event cnt
  1 33604  9614   yes   yes  none  sys.peer   reachable  1
  2 33605  8000   yes   yes  none    reject


Who is Participating?
yuzhConnect With a Mentor Commented:
Good to know you it is working, question close?

Have a nice weekend!
For Solaris 8, please have a look at the answer in http:Q_20879113.html

You can also use cron to run rdate to synchronise time.
see http:Q_21648501.html
ikhmerAuthor Commented:
Dear Yuzh,

I follow your quide line on both NTP server and client, but when i issue ntpq -p from ntp clients i
always get " timed out, nothing received " .

that mean it can't find the ntp server, right?  what should i do next?



Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Please have a look at the NTP trouble shooting doc: timed out, nothing received, ***Request timed out

No response was received within the timeout interval. Either the network did drop the request or the answer, or it delayed it considerably, or the server did not respond. One reason for the latter would be a configuration line like this:[3]

restrict default ignore


also http:Q_21190841.html

Good night!
ikhmerAuthor Commented:
Hello Yuzh,

I add this line once on ntp server but it doesn't work and ntp client also the same...

what is the next step?


> and in NTP Clients I copy ntp.client to ntp.conf and add below lines:
> server prefer
> fudge stratum 10

The IP addresses here should be the address of your NTP _server_; As it is, the client thinks it is its own NTP master
You need to specify your NTP server in your NTP client config files, have a look
at the following doc to learn more details:
ikhmerAuthor Commented:
Great!!! It work now. Many thank Yuzh!
and one more question, I am also required to install ntp client on Window to synchronize with NTP Server(above solaris). how can i do it? do i need to install any package?

Best Regards,

ikhmerAuthor Commented:
Dear Yuzh,

I try with NetTime, but it is always one hour ahead! I mean if NTP server is 1:00PM it show 2:00PM in client side :-(

Do i need to change something else?

kind regards,

ikhmerAuthor Commented:
From Client Window is "Arabic Daylight Time" zone. but i already change the time zone to be the same GMT. How can i know in Solaris is "Arabic Daylight Time" ?
how to enable it and wake it up without reboot server?
ikhmerAuthor Commented:
Well, from Window Box if i uncheck "Automatically Adjust Clock For DayLight saving changes" it work correctly. but i am required to keep this option.
what is ur idea? do i need to enable or disable in Solaris? how to check it status? and how to change without reboot server?


>>How can i know in Solaris is "Arabic Daylight Time" ?

In your Solaris box, type in:
The output sould give you the timezone infor.
To change the TIMEZONE for your box:

1. For a list of the TIMEZONE you can use have a look at:
   ls /usr/share/lib/zoneinfo
2. edit /etc/TIMEZONE file, change the TZ variable (I've done this)
  you might need to change the LC_TIME var if required


You can use "date" command to change the time to the local time.
man date
to learn more details.

PS: Not sure Solaris has "Arabic Daylight Time" zone, I have not work with the
      Arabic TIMEZONE before, it might comes with the Language support CD,
      You might endup need to use "Egypt" instead.

     To be fair, you should post new question instead of adding questions to
     this one. For Windows PC, the questions should go to the M$ Windows
     TAs, thank you.
Good luck!

ikhmerAuthor Commented:
Thank again Yuzh,
Now it work, i use NetTime to install on the Window platform and uncheck "Automatically Adjust Clock Daylight saving".
Solaris server is on production, can't boot in anyway!!!


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.