Hi
folks,
*
i*installed a
new server (squeeze)*with the new netinsall-iso. now i started setting time
and some issue turned up. here is a part of my console
output.
*
<quote>
root@xy:/#
tzselect
...
The following information has been
given:
*
*******
Germany
*
Therefore
TZ='Europe/Berlin' will be used.
Local time is
now:***** Mon Jun* 6 18:59:52 CEST
2011.
Universal Time is now:* Mon Jun* 6 16:59:52 UTC 2011.
Is
the above information OK?
1) Yes
2) No
#? 1
*
You can make
this change permanent for yourself by appending the
line
******* TZ='Europe/Berlin'; export
TZ
to the file '.profile' in your home directory; then log out and log in
again.
*
Here is that
TZ value again, this time on standard output so that you
can use the
/usr/bin/tzselect command in shell scripts:
Europe/Berlin
root@xy:/# hwclock
Mo 06 Jun 2011 16:59:56
CEST* -0.765840 seconds
root@xy:/#
date
Mo 6. Jun 18:59:59 CEST 2011
</quote>
*
after i've
done*some googling, i am a little confused.
*
UTC is
14:59:56
CEST is
16:59:56
*
why is my
debian-squeeze telling it's not?
honestly
s.hardt
06-06-2011, 04:00 PM
Camaleón
Time Issues
On Mon, 06 Jun 2011 17:03:50 +0200, Hardt, Sebastian (IV 1) wrote:
> i installed a new server (squeeze) with the new netinsall-iso. now i
> started setting time and some issue turned up. here is a part of my
> console output.
(...)
> root@xy:/# hwclock
> Mo 06 Jun 2011 16:59:56 CEST -0.765840 seconds
> root@xy:/# date
> Mo 6. Jun 18:59:59 CEST 2011
(...)
> after i've done some googling, i am a little confused.
>
> UTC is 14:59:56
> CEST is 16:59:56
>
> why is my debian-squeeze telling it's not?
So, you mean there is a shift of +2 hours from RTC clock and system time,
right?
Just a wild guess, but... at install time there is a question about your
RTC using "UTC" or "localtime". What did you select?
grep -i utc /etc/default/rcS
Besides, are you syncing the time using ntpd?
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.06.06.16.00.22@gmail.com">http://lists.debian.org/pan.2011.06.06.16.00.22@gmail.com
06-06-2011, 07:24 PM
Ralf Mardorf
Time Issues
On Mon, 2011-06-06 at 16:00 +0000, Camaleón wrote:
> On Mon, 06 Jun 2011 17:03:50 +0200, Hardt, Sebastian (IV 1) wrote:
>
> > i installed a new server (squeeze) with the new netinsall-iso. now i
> > started setting time and some issue turned up. here is a part of my
> > console output.
>
> (...)
>
> > root@xy:/# hwclock
> > Mo 06 Jun 2011 16:59:56 CEST -0.765840 seconds
> > root@xy:/# date
> > Mo 6. Jun 18:59:59 CEST 2011
>
> (...)
>
> > after i've done some googling, i am a little confused.
> >
> > UTC is 14:59:56
> > CEST is 16:59:56
> >
> > why is my debian-squeeze telling it's not?
>
> So, you mean there is a shift of +2 hours from RTC clock and system time,
> right?
>
> Just a wild guess, but... at install time there is a question about your
> RTC using "UTC" or "localtime". What did you select?
>
> grep -i utc /etc/default/rcS
>
> Besides, are you syncing the time using ntpd?
>
> Greetings,
>
> --
> Camaleón
After installing Debian I had to correct /etc/default/rcS too, I'm from the same time zone.
I'm not sure if I randomly made a mistake when the installer asked me, or if it's a bug.
-- Ralf
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1307388273.2322.6.camel@debian">http://lists.debian.org/1307388273.2322.6.camel@debian
06-07-2011, 07:49 AM
George Chelidze
Time Issues
On 06/06/2011 07:03 PM, Hardt, Sebastian (IV 1) wrote:
Hi folks,
i installed a new server (squeeze) with the new netinsall-iso. now i
started setting time and some issue turned up. here is a part of my
console output.
<quote>
root@xy:/ <mailto:root@xy:/># tzselect
I always use
dpkg-reconfigure tzdata
works like a charm.
Best Regards,
George Chelidze
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
El 2011-06-07 a las 07:47 +0200, Hardt, Sebastian (IV 1) escribió:
(resending to the list)
> At install i didn't select any special, except for language i took default on any.
>
> grep -i utc /etc/default/rcS
> says
> UTC=yes
That's right. I also have set the RTC to UTC.
sm01@stt008:~$ grep -i utc /etc/default/rcS
UTC=yes
sm01@stt008:~$ /sbin/hwclock
mar 07 jun 2011 12:53:25 CEST -0.130150 segundos
sm01@stt008:~$ date
mar jun 7 12:53:31 CEST 2011
> And no, time is not syncing by ntpd! So what's wrong?
Nothing wrong, ntpd is not enabled (neither installed) by default, but
I always set it up after the installation. Try and see if you get any
difference.
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110607110102.GB5457@stt008.linux.site">http://lists.debian.org/20110607110102.GB5457@stt008.linux.site
06-08-2011, 06:13 PM
Andrei POPESCU
Time Issues
On Lu, 06 iun 11, 21:24:33, Ralf Mardorf wrote:
>
> After installing Debian I had to correct /etc/default/rcS too, I'm
> from the same time zone.
> I'm not sure if I randomly made a mistake when the installer asked me,
> or if it's a bug.
On recent installers the question is not asked anymore (or maybe just in
expert mode?), but the answer is guessed instead. Since I still have the
Vista recovery partition on my laptop I get UTC=no in /etc/default/rcS
Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic