Hi Sysgate,
Thanks for your reply.
Below are the comments to your questions.
1) Timezone - /usr/share/zoneinfo/Australia/Brisbane
Like I said earlier, using date returns the correct time.
2) This is the output I received typing date then - Fri Apr 9 11:48:52 EST 2010 - UTC is EST. Is that what you were after? (I am no unix guru, I am a software engineer helping a client - not a system administrator)
3) I have read
https://help.ubuntu.com/8.04/serverguide/C/NTP.html and not sure how this relates, as the time returned from date is correct, which uses NTP - doesn't it? I will suggest to the client that they add a cron job to run 'ntpdate ntp.ubuntu.com'.
4) Not sure - I was given a support account - which has given me permissions to create new files and browse. Do different users have different time configurations? The www-data user (web browser) is adding +18 hours to the time as well when a file is uploaded.
5) DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.2"
Regards,
Mark.
---------- Post updated at 09:13 PM ---------- Previous update was at 09:06 PM ----------
Also, I should add a quote I found when researching this issue on
Linux Tips - Linux, Clocks, and Time - however we are not running Red Hat which is the distro the articles states that is affected - we however did follow the articles suggestion and created a symbolic link.
"..
The time in some applications is wrong
If some applications (such as date) display the correct time, but others don't, and you are running Red Hat Linux 5.0 or 5.1, you most likely have run into a bug caused by a move of the timezone information from /usr/lib/zoneinfo to /usr/share/zoneinfo. The fix is to create a symbolic link from /usr/lib/zoneinfo to /usr/share/zoneinfo: ``ln -s ../share/zoneinfo /usr/lib/zoneinfo''.
.."