LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting Time (https://www.linuxquestions.org/questions/linux-software-2/setting-time-67750/)

monte 06-24-2003 01:51 PM

Setting Time
 
My clock is all screwed up. I can't run the gui because it doesn't work. I'm using RH9.
When I run this command, /usr/bin/redhat-config-date
I get back this:

Traceback (most recent call last):
File "/usr/share/redhat-config-date/redhat-config-date.py", line 48, in ?
mainWindow.mainWindow().stand_alone()
File "/usr/share/redhat-config-date/mainWindow.py", line 190, in __init__
self.timezonePage = timezone_gui.timezonePage()
File "/usr/share/redhat-config-date/timezone_gui.py", line 50, in __init__
self.tz = TimezoneMap(zonetab, self.default, map=path)
File "/usr/share/redhat-config-date/timezone_map_gui.py", line 139, in __init__
self.setCurrent(self.currentEntry)
File "/usr/share/redhat-config-date/timezone_map_gui.py", line 180, in setCurrent
self.markers[self.currentEntry.tz].show()
AttributeError: 'NoneType' object has no attribute 'tz'

DrOzz 06-24-2003 02:05 PM

you can't go to system settings->date/time or right click the clock on your taskbar and go to adjust date/time?

monte 06-24-2003 03:25 PM

Nope.

Anmar 08-05-2003 07:13 AM

So you are saying something strange !!!

Corin 08-05-2003 08:31 AM

Do you have a file called

/etc/timezone

This is a binary file belonging to the glibc package.

Run

rpm -V glibc

to verify that this package is correctly installed.

Do you have a file /etc/sysconfig/clock?

This is a configuration file.

Make sure you have only the following lines present in your file --

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


All times are GMT -5. The time now is 01:13 AM.