How to synchronize date/time with an NTP server in SynetoOS 5

Written By Christian Castagna (Administrator)

Updated at November 29th, 2024

→ Applies to: SynetoOS 5.x

 

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)

un sh

 

Step 3. Get root privileges

sudo su -

 

Step 4. Check the date and time

date

EXAMPLE OUTPUT

 

Step 5. Check reachability of the configured NTP server (replace <ntp_server> with the correct NTP server)

ping <ntp_server>

 

Step 6. Check the NTP service health

systemctl status chronyd

EXAMPLE OUTPUT

 

Step 7 (optional). If the “chronyd” service is not active, restart it

systemctl restart chronyd

 

Step 8. Manually force time synch

chronyc -a makestep

EXAMPLE OUTPUT

 

Step 9 (optional). Repeat the command if the date is not yet synced