how to reset date on server

rpm -qa | grep ntp .. (see if you have ntp even loaded)

If not .. load the package ..

Now it can get tricky here .. type each command and then follow the guide ..

ntpdate us.pool.ntp.org (Should sync up your time with the ntp round robin pool servers .. You can also use ca.pool.ntp.org "Less Mirrors")

date (make sure it matches up with the date your timezone is set to)

hwclock (Verify the bios clock matches the system clock)

"Optional Step"

hwclock --systohc (Set the bios clock to match the system clock)

Then you can go about setting up /etc/ntp.conf and starting and running the time daemon ..

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Restore SSH Config via WHM

Problem login to SSH or forget your SSH port on cPanel Server, don't worry you can run this tools...

change ssh port

1. Login into your server as a root user pico -w /etc/ssh/sshd_config Find the line...

Fixing WHM problems automatically using JUPITER Tools :-D

Now you have angel hands for solving your WHM  related (selected) problems using JUPITER Tools ....

Full site backup and restore using Shell

You can generate full site backup from individual cPanel account. However, for some reason if you...

Cpanel/WHM Script List

WARNING: These scripts may not be "safe", they are mostly in perl so you can view them and check...

Powered by WHMCompleteSolution