πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79679

Re: Some thoughts on times

#79679
From: John F. Morse
Date: Wed, 19 Nov 2008 03:16
160 lines
6809 bytes
Julien Γ‰LIE wrote:
> Hi Johnn
>
>> Yes, I realize that, and that is why I suggested picking off the date 
>> from the log instead of the system clock.  What I feel is important 
>> is the date of the logged events, and not the date when they were 
>> obtained nor when they were mailed.
>
> As I told you, the logs are not necessarily linked to a day.  They can
> be from 2008/05/01 to 2008/05/05 or, if for instance INN is stopped
> during 2 days, it can be 2008/05/01 *and* 2008/05/04.


Well, I guess you have a valid point. Somehow I thought everybody used 
their logs as I do, especially since I run a pretty tiny news server in 
comparison.

Thanks for bringing me back to "reality" Julien.


>>> The relevant line is:
>>>
>>>    ${PATHBIN}/innreport -f ${PATHETC}/innreport.conf ${OLD_SYSLOG} 
>>> ${OLD_LOG}
>>>
>>> ${OLD_SYSLOG} is "news.notice".
>>> ${OLD_LOG} is "news".
>
> It was the syntax you should have used (with the absolute path to 
> innreport.conf).


You will read in my reply to Ray that I had tried that, and it is not 
the whole cause.


>>> Maybe you ran innreport by end.
>>
>> Typo? Did you mean: "Maybe you ran innreport by *hand*."?
>
> Yep!!
> I'm sorry I do not always proof-read what I write...
> At least, you can assume that I do not pronounce initial "h" letters :-)
> I thought "hand" and wrote "end"...


I would have understood "mano" but not "main." ;-)


>> news@news7:/usr/lib/news/bin$ innreport -f /etc/news
>> WARNING: can't make graphs as required.
>>         Install GD.pm or disable this option.
>
> You can put "html: false" in your config file to suppress this warning.
>
> Otherwise, install GD.pm on your box:  it is the package "libgd-perl" 
> for Debian
> (if you manage to find a repository for Sarge...).


Well, I did want the HTML, but was not looking for the graph, which is 
to what that error refers.

Interesting:

news@news7:/var/log/news$ apt-cache show libgd-perl
Package: libgd-perl
Priority: extra
Section: oldlibs
Installed-Size: 52
Maintainer: Jonas Smedegaard <dr@jones.dk>
Architecture: all
Version: 1.41-13
Depends: libgd-gd1-perl (= 1.41-13)
Filename: pool/main/libg/libgd-perl/libgd-perl_1.41-13_all.deb
Size: 17038
MD5sum: 6fbc7c74af93b986606d7404ee0de4bb
SHA1: a68a30b509fdcc48ec8b7f80340ba9b14e7ee1f8
SHA256: a0bd8e60df021365d4e04ef0c160ee4e3861542a294b25a64949c9b5dae42267
Description: Perl module wrapper for libgd
 GD is a graphics library...
 .
 This is a transitional package, provided for backwards compatibility
 only. You can safely remove this package when no other package depend
 on it.
 .
 In addition, the use of libgd-gd1-* packages is discouraged, as they
 are no longer maintained upstream. Please use libgd-gd2-* instead if
 at all possible.
Tag: devel::lang:perl, devel::library, implemented-in::perl, 
use::editing, works-with::image, works-with::image:raster

news@news7:/var/log/news$ apt-cache policy libgd-perl
libgd-perl:
  Installed: (none)
  Candidate: 1.41-13
  Version Table:
     1.41-13 0
        500 ftp://debian.mirrors.tds.net stable/main Packages

I could probably change the sources from stable/main to sarge/main and 
get it.

I have several Etch boxes running but haven't "moved" INN. I was waiting 
for Lenny, and as you probably know, it isn't quite ready yet. <sigh>

I do have a couple of Ubuntu 8.04 LTS Server Edition boxes loaded and 
testing my Postfix/Dovecot MTA/MDA, and could maybe move to one of them. 
I just prefer Debian for server duties. Habit I guess, and Sarge has 
been so stable.

Check this out:

john@ns:~$ who -b
         system boot  Nov 12 11:32

That my friend is November 12, 2006, over two years ago, and when I 
rebooted that Sarge box after powering it down to change out a UPS.

Somehow the uptime "counter" (wtmp ?) reset itself but none of the 
services (BIND9, ntpd, Stunnel, Fetchmail, etc.) was affected. The new 
uptime only shows 240 days:

john@ns1:~$ uptime
 20:56:28 up 240 days, 10:24,  2 users,  load average: 0.02, 0.01, 0.00

It is doing a lot better concerning uptime than the main INN server, 
which I accidentally shut down several months ago:

news@news7:~$ uptime
 20:58:26 up 161 days, 15:41,  2 users,  load average: 0.00, 0.01, 0.00

Twelve identically-looking PCs are in a rack, and I was careless about 
which power switch I poked. :-[


>> What is the missing ".pm" (perl module?), where should it be, and who 
>> (user:group) should own it?
>
> innreport_inn.pm, in <pathlib>.  644 news/news.
> But the problem is because of your bad call to innreport.  I have just 
> committed
> Alexander's patch.


I tried the working call without the full pathname, and it did indeed 
fail. Seems everything is working, but the docs need some editing.

Julien, please allow me to thank you for all of your untiring work on 
INN, especially considering your salary. If I was rolling in money 
instead of a Social Security Disability Income, I'd send you a few 
thousand dollars to show my appreciation.

The way the economy is going, a thousand will have a new meaning soon.  ;-)


-- 
John

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <gg00f4$cjr$1@optima7.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu> <gfpm2s$puk$1@optima7.xanadu-bbs.net> <gfpobr$j4s$1@news.trigofacile.com> <gfpus9$s41$1@optima7.xanadu-bbs.net> <gfq31v$4m1$1@news.trigofacile.com> <gfuv39$42i$1@optima7.xanadu-bbs.net> <gfv4uo$ea3$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gg00f4$cjr$1@optima7.xanadu-bbs.net>
Subject: Re: Some thoughts on times
Date: Tue, 18 Nov 2008 21:16:50 -0600
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu> <gfpm2s$puk$1@optima7.xanadu-bbs.net> <gfpobr$j4s$1@news.trigofacile.com> <gfpus9$s41$1@optima7.xanadu-bbs.net> <gfq31v$4m1$1@news.trigofacile.com> <gfuv39$42i$1@optima7.xanadu-bbs.net> <gfv4uo$ea3$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 160
Reply-To: dont.bother
NNTP-Posting-Host: wintergreen18.xanadu-bbs.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: optima7.xanadu-bbs.net 1227064612 12923 192.168.89.180 (19 Nov 2008
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Wed, 19 Nov 2008 03:16:52 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.14ubu (X11/20080925)
In-Reply-To: <gfv4uo$ea3$1@news.trigofacile.com>