Wrong Server Time

Currently have an issue with the server showing the wrong time… Correct UTC time via ssh, server time is 5 hours ahead. Using the default ntp server pool.ntp.org. Any ideas? Checked time zone settings etc…

Regards,

Hi!

Check if the time zone is ok in System Admin and if it is ok then check the time zone in php.ini.

Good luck and have a nice day!

Nick

SSH into the server.

Check the status of the ntpd service
service ntpd status

Is ntpd running ?

if not start the service and ntpd will start checking in for time updates.

If you want to update time now

service ntpd stop
ntpdate -s 0.centos.pool.ntp.org
date

service ntpd start

if you cant connect to your ntp server you should see the time change.

Thanks guys. all is well.

I am glad…

Just out of curiosity, what was the problem?

Thank you and have a nice day!

Nick