LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2003, 08:28 PM   #1
Flipper
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Unhappy timeconfig problem


I am using RedHat 9.0 and very new to linux... when I set it up, I put int the wrong timezone... the installation that I chose was a server setup... when I run "timeconfig" to try and fix the problem, I get the following error:

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/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ?

runtimeerror: could not open display

Could someone please help me and tell me why this won't work... the installation seemed to run just fine... no errors or anything... is there something that is not installed and that is why I cannot run TIMECONFIG without getting this error?

Thanks,
Flip
 
Old 07-09-2003, 10:09 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
are you running it from a terminal or a vertual terminal? the difference is that the vt is ctrl+alt+f?, and the terminal is in x. looks like the last line, timeconfig is trying to open up the x and your not in it. try it from the terminal in x.

good luck.
 
Old 07-09-2003, 10:24 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Here is a work around way to set the timezone.

Find the location of your zone file in the folder /usr/share/zoneinfo/

Note that some zonefiles are in subfolders of the zoneinfo folder

Once you find the zonefile you wish to use, create a link to it in /etc the link is named /etc/localtime

ln -sf /usr/share/zoneinfo/US/Central /etc/localtime
 
Old 07-10-2003, 11:09 AM   #4
Flipper
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I do not have X installed... I just did the server install minus the GUI... so, is this error a normal thing... do I have to install X in order for TIMECONFIG to work... I didn't want to install the GUI functionality, so how do I do this without it?

Thanks...
Flip
 
Old 07-10-2003, 08:33 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you don't need timeconfig

see above


Happy Birthday!
 
Old 07-16-2004, 03:09 PM   #6
gerardoricardo
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Just need to update redhat-config-date to a newer version. There is one available at ftp://ftp.redhat.com/pub/redhat/linu...5-1.noarch.rpm

Greetengs...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I specify a GMT offset with timeconfig in RHES3 Aij Red Hat 0 03-17-2004 07:34 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM
timeconfig? LiquidIce Linux - General 0 02-02-2002 01:01 AM


All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration