FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-06-2011, 03:03 PM
"Hardt, Sebastian (IV 1)"
 
Default Time Issues

Title: Nachricht



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
 
Old 06-06-2011, 04:00 PM
Camaleón
 
Default 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
 
Old 06-06-2011, 07:24 PM
Ralf Mardorf
 
Default 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
 
Old 06-07-2011, 07:49 AM
George Chelidze
 
Default 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

Archive: 4DEDD7FA.9020702@magticom.ge">http://lists.debian.org/4DEDD7FA.9020702@magticom.ge
 
Old 06-07-2011, 11:01 AM
Camaleón
 
Default Time Issues

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
 
Old 06-08-2011, 06:13 PM
Andrei POPESCU
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org