Page 1 of 1

Changing the time

Posted: Wed May 23, 2012 12:43 pm
by benningtonr
I have gotten lots of help here lately.
My latest issue is with the time, and time zone, I am in Norfolk Virginia, i have tried several different things to change the time, I am not sure which one it was, but that is how I blew up my last VM.
So correct guidance, not me guessing would be much appreciated.

Re: Changing the time

Posted: Wed May 23, 2012 1:52 pm
by scottwilkerson
For time I would recommend installing NTP

Code: Select all

yum install ntp -y
Then run the following to force the date to current

Code: Select all

ntpdate pool.ntp.org
ntpdate pool.ntp.org
ntpdate pool.ntp.org
For setting machine timezone there is a good post here
http://support.nagios.com/forum/viewtop ... 962#p24962
and you also need to set the timezone in the /etc/php.ini, instructions are here
http://support.nagios.com/wiki/index.ph ... e.22_Error

Re: Changing the time

Posted: Thu May 24, 2012 7:56 am
by benningtonr
thank you for the info, time is matched now.