OpenVZ Forum


Home » General » Support » Time issues, logs in the future
Time issues, logs in the future [message #14875] Thu, 12 July 2007 11:04 Go to next message
ugob is currently offline  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 #14910 is a reply to message #14875] Fri, 13 July 2007 06:40 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

have you (re)set you timezone in VE, after your sendmail has started ?

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
ugob is currently offline  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
Previous Topic: *SOLVED* Slow Network
Next Topic: *SOLVED* vzctl 3.0.18 for debian?
Goto Forum:
  


Current Time: Mon Aug 26 03:28:25 GMT 2024

Total time taken to generate the page: 0.04050 seconds