Solved

RH9 Time Zone

Posted on 2004-03-31
4
222 Views
Last Modified: 2010-03-18
I am unable to change local Time to GMT. For example my date always shows;
Wed Mar 31 10:32:03 AST 2004.
So How do I get the system to output the following;
Wed Mar 31 10:32:03 GMT 2004

What I have done so far;
1) Sys clock os set to UTC.
2)/etc/sysconfig/clock:
*************
ZONE="GMT"
UTC=true
ARC=false
*************
3)Did not find any time zone selection in the bios.

Is there another file that needs to be configured or another service to be restarted? Any help in this matter would be greatly appreciated.
0
Comment
Question by:Fodder
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
pablouruguay earned 50 total points
ID: 10724739
2 ways....

first try to conect a ntp server.. for automatic time and date.. or another you have the wrong timezone

you need to make and change this
remove /etc/local and


ln -sf /usr/share/zoneinfo/<timezone output> /etc/localtime

for example

ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime

or another web example

ln -sf /usr/share/zoneinfo/Canada/Eastern /etc/localtime

0
 

Author Comment

by:Fodder
ID: 10726938
So for example I want my time to be
Wed Mar 31 20:23:28 GMT 2004

I would ln -sf /usr/share/zoneinfo/Greenwich /etc/localtime

So will this over ride the /etc/localtime or does this file have to be removed.
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 10727338
the file could be remove before you make the ls.

the ls -s option create a file /etc/localtime in this example.
0
 

Author Comment

by:Fodder
ID: 10732552
Sorry for not getting back to you sooner, I had a production server go down. Anyway that works very well and I have learned something new. Many thanks
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question