Page 1 of 2
R1.5
Posted: Fri Jun 24, 2011 10:32 am
by jlee
Hi,
We just upgraded from R1.2 to R1.5 and it lost all it time/date settings, and now it won't send out any email alerts. (but the test email does work).
any one else having the problems?
Re: R1.5
Posted: Fri Jun 24, 2011 2:59 pm
by mguthrie
You can make sure your system time is accurate with the following commands:
Code: Select all
yum install ntp
ntpdate pool.ntp.org
We'll keep our eyes peeled to see if anyone else is experiencing this.
Re: R1.5
Posted: Tue Jun 28, 2011 3:12 am
by jlee
I tried :
yum install ntp
ntpdate pool.ntp.org
but it didn't work.
I think our installed has died!
Reboot it and not it won't boot now

Re: R1.5
Posted: Tue Jun 28, 2011 11:38 am
by mguthrie
See if you can boot from a live cd and check the hard drive space. If it's completely full you would definitely have some problems.
Re: R1.5
Posted: Wed Jul 06, 2011 11:35 am
by jlee
Hi,
I had to reinstall R1.5 because everything I tried didnt work.
However, on the new install the time is wrong again.
i.e. Wed Jul 6 11:30:54 CDT 2011
the time is the uk is 17:35.
I have tried
yum install ntp
ntpdate pool.ntp.org
but it didn't work.
How can I change time zone and getthe right time for the uk?
Thanks,
James
Re: R1.5
Posted: Wed Jul 06, 2011 1:22 pm
by mguthrie
Can you elaborate on what you mean by "it didn't work." Are you able to install the yum package? Do you get an error when updating the time?
Re: R1.5
Posted: Wed Jul 06, 2011 4:03 pm
by jlee
The steps worked.. but the time is still wrong. i.e I am in the UK.
if my time is :17:35 in the uk.
Nagios is saying 11:30:54 CDT 2011
How can I correct this? so nagios is showing the correct UK time?
Thanks,
James
Re: R1.5
Posted: Wed Jul 06, 2011 4:17 pm
by mguthrie
What Linux distro is this on?
You may need to specify your timezone settings in your /etc/php.ini file.
You'll need to either edit or add:
with your appropriate timezone.
http://nz.php.net/manual/en/timezones.php
When you run the "date" command from the command-line, do you get the correct date and time?
Re: R1.5
Posted: Thu Jul 07, 2011 3:52 am
by jlee
Hi,
I have fixed the issue from running the following:
[root@linu-nag02 etc]# nano localtime
[root@linu-nag02 etc]# mv localtime localtime.old
[root@linu-nag02 etc]# ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
Thanks
James
Re: R1.5
Posted: Thu Jul 07, 2011 5:28 am
by jlee
Sorry another issue with the time.
Nagsoi now has the correct uk time.
However, when nagios sends out a email alert, the time on the email is incorrect.
How can I fix this?
Thanks,
James