Another time related issue...
Posted: Fri Oct 10, 2014 2:30 pm
For whatever reason the only issues I seem to run into on my NA server are with server time. Today, for some unknown reason, the date on the server changed and is very incorrect. We have NTP installed and it's been running and working fine for months. Is there anything I can check/restart to fix this issue? I've double checked my ntp.conf file and our servers are there, I've restarted ntpd, and I've checked everywhere I can think of.
Code: Select all
[root@lisl-ngna-01-pv etc]# php -r 'echo date("D M j G:i:s T Y")."\n";'
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in Command line code on line 1
Fri Oct 10 19:30:13 UTC 2014
[root@lisl-ngna-01-pv etc]#