Thread View: news.software.nntp
4 messages
4 total messages
Started by Pierfrancesco Caci
Tue, 14 May 2002 07:55
Weird TIMEZONE problem with INN on HPUX
Author: Pierfrancesco Caci
Date: Tue, 14 May 2002 07:55
Date: Tue, 14 May 2002 07:55
46 lines
2734 bytes
2734 bytes
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
Re: Weird TIMEZONE problem with INN on HPUX
Author: Russ Allbery
Date: Wed, 15 May 2002 03:42
Date: Wed, 15 May 2002 03:42
24 lines
2015 bytes
2015 bytes
Pierfrancesco Caci <pieffe@paperino.noc.seabone.net> writes:
> 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
Times in syslog aren't supplied by the application; they're supplied I
believe by libc on behalf of the application. I'm guessing that what
*might* be happening is that inndstart and startinnfeed are wiping out the
time zone environment settings, but I'm not positive there.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Weird TIMEZONE problem with INN on HPUX
Author: Pierfrancesco Caci
Date: Wed, 15 May 2002 07:26
Date: Wed, 15 May 2002 07:26
22 lines
2101 bytes
2101 bytes
:-> "Russ" == Russ Allbery <rra@stanford.edu> writes:
> Times in syslog aren't supplied by the application; they're supplied I
> believe by libc on behalf of the application. I'm guessing that what
> *might* be happening is that inndstart and startinnfeed are
> wiping out the
> time zone environment settings, but I'm not positive there.
I always thought that the time was supplied by syslogd but it seems
not to be the case.
I wish I could patch it myself :-(
--
-------------------------------------------------------------------------------
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
Re: Weird TIMEZONE problem with INN on HPUX
Author: 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 > $
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads