server times wrong :/

gaz0r

Verified User
Joined
Aug 27, 2004
Messages
36
my server times are wrong and when I try setup as root it just says this when trying to set up the time...

[root@server root]# setup
Traceback (most recent call last):
File "/usr/share/redhat-config-date/timeconfig.py", line 29, in ?
from timezone_map_gui import ZoneTab
File "/usr/share/redhat-config-date/timezone_map_gui.py", line 18, in ?
import gtk
File "/usr/src/build/218821-i386/install/usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ?
RuntimeError: could not open display


anyone know whats yp ?
 
py is a python script.

I'm not sure about RedHat, but it should be somewhat similar to FreeBSD. Isn't there a time command of some sort that you can change it through without going through the installation again?

try something like man time and if there is a time command if it allows you to change the time through that.
 
use the date command

if you need to change timezones config this file:
/etc/sysconfig/clock
 
dr3w said:
use the date command

if you need to change timezones config this file:
/etc/sysconfig/clock

You don't need to "config it", just make a soft link to the time zone.
 
Schaap said:
You don't need to "config it", just make a soft link to the time zone.

you need to configure the contents of the file. a "soft link" would be a link to another file.

it will look like this;

ZONE="America/New_York"
UTC=false
ARC=false

you change the obvious.
 
What Schaap was referring to was this:

[jeff@of1 zoneinfo]$ ls -al /etc/localtime
lrwxrwxrwx 1 root root 39 Apr 6 17:40 /etc/localtime -> /usr/share/zoneinfo/America/Los_Angeles

Changing the link works for us.

Jeff
 
jlasman said:
What Schaap was referring to was this:

[jeff@of1 zoneinfo]$ ls -al /etc/localtime
lrwxrwxrwx 1 root root 39 Apr 6 17:40 /etc/localtime -> /usr/share/zoneinfo/America/Los_Angeles

Changing the link works for us.

Jeff

Yes indeed!

Only for me its /Europe/Brussels :)
 
Back
Top