Server timezone changed to PHT but logs still written in MST?

Peter Snow asked:

A couple of days ago, I updated the timezone on an Ubuntu 12.04 LTS server using $ sudo dpkg-reconfigure tzdata.

Today I noticed while tailing the mail log, that the times were still 15 hours behind. I immediately checked the server date but it’s set to PHT as expected.

The following shows the last line of the terminated, tailed log (written just seconds earlier), followed by the data command.

Sep 20 01:24:07 s2 postfix/smtpd[13740]: disconnect from[]
root@s2:~# date
Fri Sep 20 16:24:12 PHT 2013

I’ve tried reloading Postfix, to no avail.

My answer:

After changing the system time zone, you need to restart the system logger (or any other service that uses the timezone).

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.