I do not plan to configure NTP client to sync with the NTP servers for my Solaris servers.

Is it possible that I connect to this NTP servers and sync the time on an ad-hoc basis?

  • 1
    Why are you setting out on the wrong path? It's trivial to configure NTP (whether ntpd or xntpd) to synchronise to a local server. – roaima May 17 '18 at 10:35
  • I am not familiar with the configuration of NTP client/service for Solaris. – ilovetolearn May 17 '18 at 10:36
  • What about google.com/… – roaima May 17 '18 at 10:38
  • looks kind of confusing for me. – ilovetolearn May 17 '18 at 10:38
  • You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock. – roaima May 17 '18 at 10:41

The ntpdate command will have the answer of your question.



You could manually sync on an adhoc basis, but based on the simplicity of setting up NTP, you might as well set it up for your servers.

You didn't note your version of Solaris, but the configuration file is going to be similar across the majority of the platforms since most vendors use the same source code for NTP.

Sample simple configuration file for an NTP client below. You'll also usually see vendor samples in that same directory.


server <NTP_SERVER1> prefer  
server <NTP_SERVER2>


slewalways yes

driftfile /var/ntp/ntp.drift 
statsdir /var/ntp/ntpstats/

You can also refer to NTP.org's faq:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.