With ntp service running, 'ntpdate -u pdc.sonicle.com' should work; if you stop ntp, then "ntpdate pdc.sonicle.com" should work.
On Thu, Jun 21, 2018 at 8:19 AM, Gabriele Bulfon <[email protected]> wrote: > Hi, > > I have often problems of time sync problems with illumos/CIFS and the > joined AD. > I usually configure the AD as the time server, and issue time sync > commands before joining, but often it doesn't sync correctly, if not always. > > An example shell session : > > sonicle@xstreamstorage:~$ ntpdate -d pdc.sonicle.com > 21 Jun 12:10:58 ntpdate[759]: ntpdate [email protected] Mon Jan 26 > 10:26:08 CET 2015 (1) > Looking for host pdc.sonicle.com and service ntp > host found : 192.168.1.239 > transmit(192.168.1.239) > receive(192.168.1.239) > transmit(192.168.1.239) > receive(192.168.1.239) > transmit(192.168.1.239) > receive(192.168.1.239) > transmit(192.168.1.239) > receive(192.168.1.239) > transmit(192.168.1.239) > server 192.168.1.239, port 123 > stratum 1, precision -6, leap 00, trust 000 > refid [LOCL], delay 0.04149, dispersion 0.00055 > transmitted 4, in filter 4 > reference time: ded612e7.6bce4217 Thu, Jun 21 2018 14:04:55.421 > originate timestamp: ded61452.57d6733e Thu, Jun 21 2018 14:10:58.343 > transmit timestamp: ded5f832.8076afe9 Thu, Jun 21 2018 12:10:58.501 > filter delay: 0.04176 0.04161 0.04149 0.04202 > 0.00000 0.00000 0.00000 0.00000 > filter offset: 7199.842 7199.841 7199.841 7199.840 > 0.000000 0.000000 0.000000 0.000000 > delay 0.04149, dispersion 0.00055 > offset 7199.841508 > > 21 Jun 12:10:58 ntpdate[759]: step time server 192.168.1.239 offset > 7199.841508 sec > sonicle@xstreamstorage:~$ date > June 21, 2018 at 12:11:32 PM CEST > sonicle@xstreamstorage:~$ ntpdate pdc.sonicle.com > 21 Jun 12:12:13 ntpdate[766]: no server suitable for synchronization found > sonicle@xstreamstorage:~$ > > and this the ntp.conf > > sonicle@xstreamstorage:~$ cat /etc/inet/ntp.conf > server pdc.sonicle.com iburst > driftfile /var/ntp/ntp.drift > statsdir /var/ntp/ntpstats/ > filegen peerstats file peerstats type day enable > filegen loopstats file loopstats type day enable > > Why isn't the pdc syncing the time to my illumos? > > Gabriele > > > > *Sonicle S.r.l. *: http://www.sonicle.com > *Music: *http://www.gabrielebulfon.com > *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon > *illumos <https://illumos.topicbox.com/latest>* / illumos-discuss / see > discussions <https://illumos.topicbox.com/groups/discuss> + participants > <https://illumos.topicbox.com/groups/discuss/members> + delivery options > <https://illumos.topicbox.com/groups> Permalink > <https://illumos.topicbox.com/groups/discuss/T25b23402bc677469-Mb441ede3b70e7f7beba84b45> > ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/T25b23402bc677469-M7f8ea32b49f07ec7a8b5ad48 Delivery options: https://illumos.topicbox.com/groups
