linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Andrew Lister" <andrew.lister@db.com>
To: sangel <sangel@eth.net>
Cc: linux-admin@vger.kernel.org
Subject: Re: Problem in clock setting
Date: Mon, 2 Jun 2003 16:46:48 +1000	[thread overview]
Message-ID: <OFFC0EC8BC.F1EB500F-ONCA256D39.00242397@db.com> (raw)


Just a guess but, is your root and /usr separate partitions and you have a sym link from /etc/localtime to /usr/share/zoneinfo/Asia/Calcutta?  If so, try copying the Calcutta file to /etc/localtime.  The usr partition probably isn't mounted when the time is set.

Please let me know if this works as I have exactly the same problem at home that needs fixing!

Andrew






   Hi,
         I have installed RedHat Linux 9.0 in my home PC. My BIOS clock
is set to local time. During installation of RH 9.0 I have selected my
time zone as Asia/Calcutta and the UTC box unchecked. But while booting
I am getting the message as if the hardware clock is set UTC and as a
result the system clock is set 5 hrs 30 minutes more to make it
IST(Asia/Calcutta). But since my hardware clock is already IST
localtime it results a wrong system clock. I am able to solve the
problem by adding the command  "/sbin/hwclock --hctosys  " at the end
of  /etc/rc.d/rc.sysinit file ( before the  " wait " ).

                   In rc.sysinit file there is one command
" /sbin/hwclock $CLOCKFLAGS "
  I have echoed the CLOCKFLAGS  variable and it shows as I expected
the following

            --hctosys  --localtime

                               My question is why the time is recognized
as UTC ?( Other OS in my PC does not have any problem in the clock.  I
have been installing all RH versions since 6.2 and this problem is for
the first time. Also, in my office PC I installed RH 9.0 and the clock
is fine)

                   Thanks in advance for any reply.

              Sorry if I am not properly conveying my problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html





--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



             reply	other threads:[~2003-06-02  6:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02  6:46 Andrew Lister [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-30 22:52 Problem in clock setting Karunambaran A
2003-06-03  8:56 ` Glynn Clements
2003-06-04 12:09   ` Karunambaran A

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFFC0EC8BC.F1EB500F-ONCA256D39.00242397@db.com \
    --to=andrew.lister@db.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=sangel@eth.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).