Article View: news.software.nntp
Article #59049Re: Weird TIMEZONE problem with INN on HPUX
From: Frank Slootweg
Date: Fri, 31 May 2002 10:08
Date: Fri, 31 May 2002 10:08
59 lines
3090 bytes
3090 bytes
On May 14, Pierfrancesco Caci <pieffe@paperino.noc.seabone.net> wrote: > > Hi.... > > I have a strange problem now, one which I think is related to a > misconfiguration at compile time, I suppose. > > INN (2.3.3, compiled with GCC on HPUX 11.00) thinks it's on the east > coast instead than in central europe: > > (it's morning here, I started the server at 8.52 localtime) > > May 14 02:52:34 seanews2 inndstart: Reading config from /opt/inn/etc/inn.conf > May 14 02:52:34 seanews2 innd: Reading config from /opt/inn/etc/inn.conf > [...] > May 14 02:52:42 seanews2 innfeed[20869]: Reading config from /opt/inn/etc/inn.conf > [...] > May 14 08:52:42 seanews2.seabone.net controlchan[20870]: starting > [...] > May 14 08:53:35 seanews2.seabone.net cnfsstat[20862]: Class ITALIA for groups matching "it.*" Buffer BUFF02, len: 2047 Mbytes, used: 9.33 Mbytes ( 0.5%) 0 cycles > [...] > > > apparently, only innd and innfeed think to be on the other side of the > ocean... > > I've tried both with the standard HPUX setting of the timezone > (METDST) and with one defined by me (CEST), but it seems to have no > effect on the behaviour of INN. > > Looking at the output of ./configure in the source directory I > understand that it tries to guess how to interpret the OS time, but I > don't understand how to force it to get it right. > > Can you help me please ? > > Pf > > > -- > > ------------------------------------------------------------------------------- > Pierfrancesco Caci | System Administrator @ seabone.net > p.caci@seabone.net | Telecom Italia S.p.A. - International Wholesale Svcs > Linux paperino 2.4.18-rc1 #1 Thu Feb 14 15:55:54 CET 2002 i686 unknown Is /etc/TIMEZONE set correctly (please post its content)? Can you put a "echo $TZ >>/tmp/TZ.innd" in the (rc?) scripts which start innd and innfeed? FWIW, I run INN 1.7.2 on HP-UX 10.20 and my timestamps, including those from innd (I do not have/run innfeed) are OK: > $ date > Fri May 31 12:05:12 METDST 2002 > $ grep innd log/news.notice | tail -1 > May 31 12:00:41 support innd: localhost.neth.hp.com:17 closed seconds 7 accepted 34 refused 0 rejected 0 > $
Technical Details
Message-ID:
<ad7i2l$5ck$1@support.neth.hp.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.isc.org!agilent.com!sdd.hp.com!fc.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mailReferences:
<87r8kfp3jf.fsf@paperino.noc.seabone.net>Show Full Headers
Complete Article Headers
Message-ID: <ad7i2l$5ck$1@support.neth.hp.com>
Subject: Re: Weird TIMEZONE problem with INN on HPUX
Date: Fri, 31 May 2002 10:08:21 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <87r8kfp3jf.fsf@paperino.noc.seabone.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.isc.org!agilent.com!sdd.hp.com!fc.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail
Newsgroups: news.software.nntp
Organization: NOYB
Lines: 58
Reply-To: Frank Slootweg <franks@support.neth.hp.com>
NNTP-Posting-Host: support.neth.hp.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800))