Re: Timing issues after upgrade 2014R1.3
Posted: Fri Aug 15, 2014 1:28 pm
So I looked at this issue and found two problems that others may have to deal with.
Problem #1: /etc/sysconfig/clock was set to Zone="UTC"
Problems #2: /etc/localtime was some wierd version of UTC
I have no idea how this got in there or if it was a mutant from space (happens you know) , but it was some form of UTC.
Solution:
We changed the /etc/sysconfig/clock to America?New_York and copied the /usr/share/zoneinfo/America/New_York over the old /etc/localtime.
We shut down Nagios and removed the /usr/local/nagios/var/retention.dat and also restarted httpd, mysqld, postgresql and nagios.
Presto...all is working fine. I guess if you are having problems with this issue first go to Admin/System Profile to see if your Date/Time is exactly the same with the system and the PHP, if not you are likely to have problems. So you can close this.
Problem #1: /etc/sysconfig/clock was set to Zone="UTC"
Problems #2: /etc/localtime was some wierd version of UTC
I have no idea how this got in there or if it was a mutant from space (happens you know) , but it was some form of UTC.
Solution:
We changed the /etc/sysconfig/clock to America?New_York and copied the /usr/share/zoneinfo/America/New_York over the old /etc/localtime.
We shut down Nagios and removed the /usr/local/nagios/var/retention.dat and also restarted httpd, mysqld, postgresql and nagios.
Presto...all is working fine. I guess if you are having problems with this issue first go to Admin/System Profile to see if your Date/Time is exactly the same with the system and the PHP, if not you are likely to have problems. So you can close this.