LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with Time Zone Configuration (https://www.linuxquestions.org/questions/linux-software-2/problem-with-time-zone-configuration-78749/)

chamanrana 08-03-2003 11:23 PM

Problem with Time Zone Configuration
 
HI,
I installed Red Hat Linux 9 on IBM Intellistation M Pro. There seems to be slight problem with time. During boot time it shows the bios time but when the system logs on to X mode it offsets the time from UTC to IST(Indian Standard Time). So if Bios time is 5:00 PM and on X windows it shows 10:30 pm IST. I have not set the time to UTC. If I set to UTC then I have problem in Windows since it is dual booting PC. I tried running setup command. I get the screen where time zone configuration option is there but if I select it nothing happens. I won't be able to open the time zone configuration screen. The program seems to be corrupted. I tried to go through many websites and books but no solutions. Since I am novice user pls let me know how can I reinstall or correct that setup package. It is urgent.
Thanks,
Chaman

ppuru 08-04-2003 01:03 AM

what does /etc/sysconfig/clock say

Have you tried reinstalling the redhat-config-date rpm?

chamanrana 08-04-2003 05:00 AM

Hi,
The content of /etc/sysconfig/clock is

ZONE="Asia/Calcutta"
UTC=false
ARC=false

and redhat-config-date is working fine. Time zone configuration from setup command is not working pls kindly help me out

Corin 08-04-2003 03:26 PM

1) When you computer first boots up, go into the BIOS and make sure
that the system clock is showing the correct local time.

2) After booting up run as user root

/usr/sbin/redhat-config-time

3) Click to the second tab, labeled "Time Zone", on the window which appears.

4) Ensure that the box at the bottom of the window next to the text

"System Clock Uses UTC"

does not have a cross or check mark in it, by clicking on it, if it does.

chamanrana 08-04-2003 09:48 PM

HI Corin,
Thanks for ur reply. I tried what u have told me to but since my system is dual boot b/w Win2k and Linux my windows date is getting affected and I don't want the date to come on GMT. I want it to come on IST(Indian Standard Time). If I type setup from the terminal I am not able to open Time zone configuration window. Can u pls tell me how can I correct that particular package.
Regards,
Chaman

Corin 08-04-2003 10:33 PM

You failed to comprehend what I wrote above.

In order to keep your XP happy, and you happy, we want the time in the BIOS to be IST not UTC (or GMT).

In order to run the configuration program for time, you run as root at the command line prompt the command

# redhat-config-time

not

# setup

And once you run this program, we make sure that the program is told
that the BIOS is not set to UTC.

If you cannot run the program redhat-config-time, then you need to install the package

redhat-config-date

from your RedHat cdroms.

chamanrana 08-04-2003 11:54 PM

hi,
I want to know if we r not running x windows in which we install redhat-config-time then i think setup command leads to time zone configuration which is corrupt can u tell me how can I again install that or troubleshoot it.
Thanks,
Chaman

Corin 08-05-2003 02:27 PM

$ rpm -qf /usr/bin/setup

setuptool-1.12-1

So you need to reinstall the setuptool package as user root with

# rpm -Uvh --force setuptool-1.12.1.i386.rpm

Once that is reinstalled, fire up setup and go to TimeZone Selection,
select the appropriate time zone, and ensure that the box

System Clock Uses UTC

is NOT checked.

chamanrana 08-06-2003 08:58 AM

Thanks for ur advice
 
Dear Corin,
Thanks a lot for ur effort and time to help me out. I am sure this will definately work and let u know on the same.
Thanks again,
Chaman


All times are GMT -5. The time now is 05:27 AM.