Solved

RH9 Time Zone

Posted on 2004-03-31
4
219 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now