🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by P.A.Osborne Thu, 09 Sep 1999 00:00
innreport graphs a bit odd....
#39739
Author: P.A.Osborne
Date: Thu, 09 Sep 1999 00:00
35 lines
1674 bytes
Hi people,

I am running INN 2.2  and innreport 3 on Solaris 2.7.

I have it running out of cron as follows:

12 0 * * * /usr/local/news/bin/innreport -f /usr/local/news/etc/innreport_inn.conf < /var/news/log/news.old

Yes I know that the time is quite late,  but this way I can ensure that
all expires have completed.

So that my old 'yesterdays' log file is processed.

It does nice pretty graphs for me but they and all other figures only
include the items that were accepted.  Rejected articles are not not there
and nor are the totals of articles offered.  This all seems a bit odd
as I assume that only the old news log file is needed,  but then the
documentation is a tad erm sparse.

innreport_inn.conf seems to be fine and all the paths point to
where they should do.

My logs running out of syslog seem to be fine and so I am now kindof in
the dark. 

Any thoughts or comments would be appreciated.  

Thanks for your time,

Paul Osborne
Computing Officer
UKC Computing Service

Re: innreport graphs a bit odd....
#39743
Author: Russ Allbery
Date: Thu, 09 Sep 1999 00:00
23 lines
1366 bytes
P A Osborne <P.A.Osborne@ukc.ac.uk> writes:

> I am running INN 2.2  and innreport 3 on Solaris 2.7.

> I have it running out of cron as follows:

> 12 0 * * * /usr/local/news/bin/innreport -f /usr/local/news/etc/innreport_inn.conf < /var/news/log/news.old

You should never need to run innreport by hand.  news.daily will run it
automatically for you when expire finishes.

> It does nice pretty graphs for me but they and all other figures only
> include the items that were accepted.  Rejected articles are not not
> there and nor are the totals of articles offered.

That's because you're only giving it the news log and not the news.notice
log.  news.daily gets this right.  Just let news.daily take care of it for
you.  :)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: innreport graphs a bit odd....
#39842
Author: P.A.Osborne
Date: Wed, 15 Sep 1999 00:00
33 lines
1951 bytes
Russ Allbery <rra@stanford.edu> wrote:
> You should never need to run innreport by hand.  news.daily will run it
> automatically for you when expire finishes.


Right I now have it cracked,  yup news.daily does do the job (its that
amazing lack of documentation that does it!).

There were a couple of problems fouling things up and they (ignoring 
my cron job) were causing the errors:

1.  /usr/local/news/lib/innshellvars   was not set as executable,  hence
    scanlogs didnt receive any details of where things were configured to.
    This one I attribute to a broken Make install,  as I only found it
    when reading the source for scanlogs and doing some backtracking. 

2.  syslog is broken on Solaris 7  and was dying when receiving a SIGHUP,
    rather than restarting,  hence my logs (news.notice) was broken
    If you are using SOlaris 7 you need patch: 106541 revision 7.
    It should be noted that this is a jumbo patch and seems to replace
    almost all of the core operating system.....


Anyhow it all seems happier now,  and hopefully tonight my logs will
rotate just fine.

Many thanks for your time.

Paul Osborne
Computing Officer
UKC Computing Service

Re: innreport graphs a bit odd....
#39898
Author: Russ Allbery
Date: Wed, 15 Sep 1999 00:00
15 lines
1217 bytes
P A Osborne <P.A.Osborne@ukc.ac.uk> writes:

> 2.  syslog is broken on Solaris 7  and was dying when receiving a SIGHUP,
>     rather than restarting,  hence my logs (news.notice) was broken
>     If you are using SOlaris 7 you need patch: 106541 revision 7.
>     It should be noted that this is a jumbo patch and seems to replace
>     almost all of the core operating system.....

Oh, yeah, syslogd on Solaris randomly dies all the time if you don't have
the latest patches.  That was true on 2.6 as well.  *sigh*

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

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