Time issues, logs in the future [message #14875] |
Thu, 12 July 2007 11:04 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
Hi,
There is weird behavior with some of my openvz servers, regarding time.
[root@ve~]# date
Thu Jul 12 06:59:15 EDT 2007
One log entry in maillog:
Jul 12 14:46:06 ve sm-msp-queue[30376]: starting daemon (8.13.1): queueing@01:00:00
Funny thing is that if I use logger, the date is OK.
Jul 12 07:00:26 vz01 ugob: hello!
Any ideas on how to diagnose this?
Thanks,
Ugo
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|
|
Re: Time issues, logs in the future [message #14916 is a reply to message #14910] |
Fri, 13 July 2007 11:11 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
Hi,
I found that there was
TZ='America/Montreal'; export TZ
in /etc/profile
of most of my VZ running on that server.
I deleted this line, restarted sendmail, same problem.
I restarted the VE, same problem,
I restarted the HN, same problem.
I remember playing with TZ in my beginnings with OpenVZ, because the clock wasn't set correctly, I think.
Thanks,
Ugo
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|