Thread View: news.software.nntp
21 messages
21 total messages
Started by John F. Morse
Sun, 16 Nov 2008 16:40
Some thoughts on times
Author: John F. Morse
Date: Sun, 16 Nov 2008 16:40
Date: Sun, 16 Nov 2008 16:40
73 lines
4585 bytes
4585 bytes
Several years ago when I first configured Inn, one of the changes I made to the defaults was to move the daily report job from 0300 to 0000, which is the start of most people's days. I figured the 0300 may have been someone's idea of the least-busy time for a news server, but I wonder if they considered peering from across the globe, or even the next time zone? The daily report sends a report for "today" with a subject showing "tomorrow" which I presume is because "tomorrow" is after 24:00:00 "today." IOW, today is Sunday, November 16, and the daily report I received after midnight this morning, is actually the report for Saturday, November 15's activities, but it has the subject: "Daily Usenet report for Sun Nov 16 00:00:02 CST 2008." It should have a subject of: "Daily Usenet report for Sat Nov 15 2008" and leave off the time and TZ. Even better, it should report the date in a sortable format such as "2008-11-15" and drop the day of week, or put it after the date. Neither when I receive it, nor when it is sent, are important. What is important is the period it is reporting. I thought a work-around would be to change /etc/cron.d/inn2 from 0 0 * * * news test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm to 59 59 * * * news test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm However, I don't know if the variable slop created by the time required to do these jobs would fall on the correct day or not. Plus anything from 23:59:00 until 24:00:00 would not be included in the proper day's report. N.B. The start of a day is 00:00:00, and is the same instant in time as the end of the preceding day (24:00:00) and not 23:59:59. Consider the following: Incoming articles: Date Nov 15 00:00:04 - 00:59:59 Nov 15 01:00:00 - 01:59:59 Nov 15 02:00:00 - 02:59:59 Nov 15 03:00:00 - 03:59:59 Nov 15 04:00:00 - 04:59:59 Nov 15 05:00:00 - 05:59:59 Nov 15 06:00:00 - 06:59:59 Nov 15 07:00:00 - 07:59:59 Nov 15 08:00:00 - 08:59:59 Nov 15 09:00:00 - 09:59:59 Nov 15 10:00:00 - 10:59:59 Nov 15 11:00:00 - 11:59:59 Nov 15 12:00:00 - 12:59:59 Nov 15 13:00:00 - 13:59:59 Nov 15 14:00:00 - 14:59:59 Nov 15 15:00:00 - 15:59:59 Nov 15 16:00:00 - 16:59:59 Nov 15 17:00:00 - 17:59:59 Nov 15 18:00:00 - 18:59:59 Nov 15 19:00:00 - 19:59:59 Nov 15 20:00:00 - 20:59:59 Nov 15 21:00:00 - 21:59:59 Nov 15 22:00:00 - 22:59:59 Nov 15 23:00:00 - 00:00:03 TOTAL: 23:59:59 This shows all of the starting times for each hour correctly (HH:00:00) except for the first one, which is four minutes into the hour due to the expiry jobs. The ending times are all correct (HH:59:59) except for the last one, which is three minutes into the next hour -- and worse, the next day. Then the total is really goofy. It should be 24:00:00 every day that the server ran and had any incoming articles every hour. Is there something that could be done to correct these problems? Perhaps picking off the actual correct date and time when the cron job starts, then using that data to create the message subject. Getting those incoming hourly totals correct might take more work. -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
Re: Some thoughts on times
Author: Ray Banana
Date: Sun, 16 Nov 2008 17:11
Date: Sun, 16 Nov 2008 17:11
36 lines
3108 bytes
3108 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid> > IOW, today is Sunday, November 16, and the daily report I received > after midnight this morning, is actually the report for Saturday, > November 15's activities, but it has the subject: "Daily Usenet report > for Sun Nov 16 00:00:02 CST 2008." > It should have a subject of: "Daily Usenet report for Sat Nov 15 2008" and leave off the time and TZ. > 59 59 * * * news test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm I'm sure cron won't like this, as hour 59 does not exist. > Is there something that could be done to correct these problems? > Perhaps picking off the actual correct date and time when the cron job > starts, then using that data to create the message subject. That's what innreport actually does. > Getting those incoming hourly totals correct might take more work. The major problem is that news.daily uses the current logs (news.notice and news) for innreport and rotates them after innreport has finished, so there will always be a gap for the time innreport takes to compile the daily report. If you want daily reports to be correct to the last second, you would need a different data base for the reports. Some statistics tools actually use a special feed for this purpose. Of course, this means more overhead and disk space. For some people, including myself, having such accurate statistics is not important enough to justify the effort. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: Some thoughts on times
Author: John F. Morse
Date: Sun, 16 Nov 2008 17:42
Date: Sun, 16 Nov 2008 17:42
59 lines
3366 bytes
3366 bytes
Ray Banana wrote: > Thus spake "John F. Morse" <xanadu.bbs@example.invalid> > > >> 59 59 * * * news test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm >> Eh, yes, a typo I'm afraid. Should be 59 0 of course. My brain instructed me to change the zero to fifty-nine, and I followed instructions. ;-) > I'm sure cron won't like this, as hour 59 does not exist. > > >> Is there something that could be done to correct these problems? >> Perhaps picking off the actual correct date and time when the cron job >> starts, then using that data to create the message subject. >> > > That's what innreport actually does. > Hmmm. Yes, technically it is the "next day" when innreport starts. But there must be a way to get the correct date for the time and date period the report actually covers. >> Getting those incoming hourly totals correct might take more work. >> > > The major problem is that news.daily uses the current logs (news.notice > and news) for innreport and rotates them after innreport has finished, > so there will always be a gap for the time innreport takes to compile > the daily report. > > If you want daily reports to be correct to the last second, > you would need a different data base for the reports. Some statistics > tools actually use a special feed for this purpose. Of course, this > means more overhead and disk space. For some people, including myself, > having such accurate statistics is not important enough to justify the > effort. I agree that the hourly reports are not the main issue, but the daily report's e-mail header is what concerns me. I don't know how many times I've selected the previous day's report to examine after seeing something in the logs (or visa versa). -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Sun, 16 Nov 2008 18:21
Date: Sun, 16 Nov 2008 18:21
27 lines
2242 bytes
2242 bytes
Hi John F. Morse, >>> 59 59 * * * news test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm > > Eh, yes, a typo I'm afraid. Should be 59 0 of course. 59 23, you mean :) > Hmmm. Yes, technically it is the "next day" when innreport starts. But there must be a way to get the correct date for the time > and date period the report actually covers. Once you know that fact, it does not matter. As you say, just put your cron at 23:59 and it will do what you want (except for the last minute of the day). Please also note that innreport can also be used every two days or every week; it is not mandatory to use it daily. Therefore the time covered by innreport is not necessary a day. -- Julien ÉLIE « -- Ils s'arrêtaient tous les jours à 5 heures, pour boire de l'eau chaude... -- Je prendrai un nuage de lait, je vous prie. » (Astérix)
Re: Some thoughts on times
Author: John F. Morse
Date: Sun, 16 Nov 2008 20:12
Date: Sun, 16 Nov 2008 20:12
81 lines
4243 bytes
4243 bytes
Julien ÉLIE wrote: > Hi John F. Morse, > >>>> 59 59 * * * news test -x /usr/lib/news/bin/news.daily && >>>> news.daily expireover lowmark delayrm >> >> Eh, yes, a typo I'm afraid. Should be 59 0 of course. > > 59 23, you mean :) Ha! I made it into November this year before making a mistake. Then I make two in the same day! ;-) Thanks, Julien. >> Hmmm. Yes, technically it is the "next day" when innreport starts. >> But there must be a way to get the correct date for the time and date >> period the report actually covers. > > Once you know that fact, it does not matter. > As you say, just put your cron at 23:59 and it will do what you want > (except > for the last minute of the day). With the approximate four-minute expiry time, I wonder if it would actually complete far enough along to stamp the date on that day, or possibly slide into "tomorrow." I don't think so. Looking at the e-mail message header of yesterday's daily report: Received: from news by localhost with local (Exim 4.50) id 1L1ajG-0004G9-Aq for usenet@news.my.net; Sun, 16 Nov 2008 00:03:26 -0600 That indicates Inn isn't finished yet, and finally sent the report at 00:03:26. So I would need to adjust cron back four minutes to 57 23, and that would only last as long as the server isn't processing more data per day. Don't go out of your way to try and reprogram this to be accurate. I only mentioned it because I know you are up to your elbows in the code lately, and might be aware of the area that could be tweaked. Nothing is "broken" and I've lived with the "incorrect" date for several years. But if you happen to stumble onto the reason, and the fix is easy, well.... > Please also note that innreport can also be used every two days or > every week; > it is not mandatory to use it daily. Therefore the time covered by > innreport > is not necessary a day. Oh, I was unaware of that. I prefer a daily report though. I found two files, /var/log/news/news-notice.2006.02.11-00.00.03.html and one for the following day. I don't know (remember) where those came from. Perhaps I manually ran some program to generate them. Would you know? The big "problem" with Inn is it is like a, er, Timex, or that pink bunny. Just keeps running and running without needing any assistance. That causes evaporation of my brain cells (failure to dynamically refresh), and I forgot what I did months and years ago during the initial setup. My old age doesn't help either. ;-) Of course I consider that a big plus (Inn's stability -- not my age)! -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Sun, 16 Nov 2008 21:13
Date: Sun, 16 Nov 2008 21:13
40 lines
2986 bytes
2986 bytes
Hi John F. Morse,
> With the approximate four-minute expiry time, I wonder if it would actually complete far enough along to stamp the date on that
> day, or possibly slide into "tomorrow."
>
> Received: from news by localhost with local (Exim 4.50) id 1L1ajG-0004G9-Aq for usenet@news.my.net; Sun, 16 Nov 2008
> 00:03:26 -0600
It is the time needed for innstat, log rotations and innreport.
> Nothing is "broken" and I've lived with the "incorrect" date for several years. But if you happen to stumble onto the reason, and
> the fix is easy, well....
I do not see how I could easily fix it.
If you want to tweak innreport, please see the "scanlogs" script (in pathbin).
The relevant line is:
${PATHBIN}/innreport -f ${PATHETC}/innreport.conf ${OLD_SYSLOG} ${OLD_LOG}
${OLD_SYSLOG} is "news.notice".
${OLD_LOG} is "news".
You may want to generate your own "news.notice" and "news" files at 00:00
and give them to innreport (using /path/to/your.news.notice for instance).
You will need to rotate these files yourself (because if you only do a copy
at 00:00, you will lose what is logged between 00:00 and 00:03, when innreport
rotates them).
> I found two files, /var/log/news/news-notice.2006.02.11-00.00.03.html and one for the following day. I don't know (remember) where
> those came from. Perhaps I manually ran some program to generate them. Would you know?
Maybe you ran innreport by end.
--
Julien ÉLIE
« César a vraiment pris les gaulois en grippe ! » (Astérix)
Re: Some thoughts on times
Author: John F. Morse
Date: Tue, 18 Nov 2008 17:47
Date: Tue, 18 Nov 2008 17:47
142 lines
6824 bytes
6824 bytes
Julien ÉLIE wrote:
> Hi John F. Morse,
>
>> With the approximate four-minute expiry time, I wonder if it would
>> actually complete far enough along to stamp the date on that day, or
>> possibly slide into "tomorrow."
>>
>> Received: from news by localhost with local (Exim 4.50) id
>> 1L1ajG-0004G9-Aq for usenet@news.my.net; Sun, 16 Nov 2008 00:03:26 -0600
>
> It is the time needed for innstat, log rotations and innreport.
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.
>> Nothing is "broken" and I've lived with the "incorrect" date for
>> several years. But if you happen to stumble onto the reason, and the
>> fix is easy, well....
>
> I do not see how I could easily fix it.
> If you want to tweak innreport, please see the "scanlogs" script (in
> pathbin).
> The relevant line is:
>
> ${PATHBIN}/innreport -f ${PATHETC}/innreport.conf ${OLD_SYSLOG}
> ${OLD_LOG}
>
> ${OLD_SYSLOG} is "news.notice".
> ${OLD_LOG} is "news".
>
> You may want to generate your own "news.notice" and "news" files at 00:00
> and give them to innreport (using /path/to/your.news.notice for
> instance).
> You will need to rotate these files yourself (because if you only do a
> copy
> at 00:00, you will lose what is logged between 00:00 and 00:03, when
> innreport
> rotates them).
Thanks for these tips. Scanlogs and news.daily both work (always using
"norotate"). I'll look into them as soon as I (we?) get innreport fixed.
Please read on....
>> I found two files, /var/log/news/news-notice.2006.02.11-00.00.03.html
>> and one for the following day. I don't know (remember) where those
>> came from. Perhaps I manually ran some program to generate them.
>> Would you know?
>
> Maybe you ran innreport by end.
Typo? Did you mean: "Maybe you ran innreport by *hand*."?
If so it would have definately been a manual run since I don't have any
other HTML reports for any of the three INN servers over the past four
years, except two last February, which are shown below. Probably
something I experimented with after reading about it in this group or in
some inn-* mailing list message. The topic has returned, so I was again
curious after seeing the reports on other servers, like Ray's.
I tried to work on your suggestions from the bottom up, since the
innreport command must have worked back in February of this year, but
now appears to be broken.
Now I cannot get innreport to run -- period. Actually, top shows it
running for a few seconds, but it does nothing except disappearing from
top, and I have to ^C to regain control on that BASH terminal. No HTML
file(s) are to be found.
I checked /etc/news/innreport.conf and it looks good to me. Also,
/etc/news/inn.conf has pathhttp: /var/log/news correctly. So I tried the
following:
news@news7:/usr/lib/news/bin$ innreport -f /etc/news
WARNING: can't make graphs as required.
Install GD.pm or disable this option.
Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
news@news7:/usr/lib/news/bin$ time innreport -f /etc/news -nog
Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
real 0m1.251s
user 0m1.180s
sys 0m0.070s
news@news7:/usr/lib/news/bin$ less innreport | grep eval
eval "use GD;";
eval $s; # initialization
{ local $^W = 0; no strict; %data = eval $data }
%d = eval $t;
# foreach $key (sort { local $^W = 0; no strict; eval $h } (keys (%d)))
foreach $key ((eval "sort {local \$^W = 0; no strict; $h} (keys
(%d))")) {
{ local $^W = 0; no strict; %hh = eval $h }
{ local $^W = 0; no strict; %labels = eval $t }
{ local $^W = 0; no strict; %values = eval $t }
# eval { local $^W = 0; no strict; ($r) = eval $v; };
eval " local \$^W = 0; no strict; (\$r) = $v; ";
Does anything above appear to be the cause?
What is the missing ".pm" (perl module?), where should it be, and who
(user:group) should own it? (I have tried inn report as news, sudo and
as su with no change in the result, so I don't suspect it is an
ownership issue).
Something unknown to me has obviously changed since February. I have not
touched this server except to use htpasswd to add new users' authentication.
This is INN 2.4.3 running on Debian 3.1 -- old, but as I stated, nothing
has changed that would have broken innreport. For Perl:
news@news7:/usr/lib/news/bin$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.6.15.4, archname=i386-linux-thread-multi
uname='linux ninsei 2.6.15.4 #1 smp preempt mon feb 20 09:48:53 pst
2006 i686 gnulinux '
The following three old files are in /var/log/news
-rw-r--r-- 1 news news 1334 2008-02-13 00:00 index.html
-rw-r--r-- 1 news news 15990 2008-02-12 00:00
news-notice.2008.02.11-00.00.03.html
-rw-r--r-- 1 news news 15144 2008-02-13 00:00
news-notice.2008.02.12-00.00.03.html
Ideas?
--
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.
Re: Some thoughts on times
Author: Ray Banana
Date: Tue, 18 Nov 2008 18:18
Date: Tue, 18 Nov 2008 18:18
37 lines
3194 bytes
3194 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
> I tried to work on your suggestions from the bottom up, since the
> innreport command must have worked back in February of this year, but
> now appears to be broken.
> Now I cannot get innreport to run -- period. Actually, top shows it
> running for a few seconds, but it does nothing except disappearing
> from top, and I have to ^C to regain control on that BASH terminal. No
> HTML file(s) are to be found.
> I checked /etc/news/innreport.conf and it looks good to me. Also,
> /etc/news/inn.conf has pathhttp: /var/log/news correctly. So I tried
> the following:
> news@news7:/usr/lib/news/bin$ innreport -f /etc/news
> WARNING: can't make graphs as required.
> Install GD.pm or disable this option.
> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
> news@news7:/usr/lib/news/bin$ time innreport -f /etc/news -nog
> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
That's what I get, too, if I call innreport this way.
Actually, innreport expects the full path *and* file name for it's
config file after -f :
/usr/lib/news/bin/innreport -f /etc/news/innreport.conf
plus the names of the log files:
/usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
/var/log/news/news.notice \
/var/log/news/news
hth
--
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: Some thoughts on times
Author: Alexander Bartolich
Date: Tue, 18 Nov 2008 18:44
Date: Tue, 18 Nov 2008 18:44
32 lines
2583 bytes
2583 bytes
Ray Banana schrieb:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>> [...]
>> news@news7:/usr/lib/news/bin$ innreport -f /etc/news
>> WARNING: can't make graphs as required.
>> Install GD.pm or disable this option.
>> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
>> news@news7:/usr/lib/news/bin$ time innreport -f /etc/news -nog
>> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
>
> That's what I get, too, if I call innreport this way.
>
> Actually, innreport expects the full path *and* file name for it's
> config file after -f :
The problem is that you can open and read from a directory
as if it were a file.
Index: scripts/innreport.in
===================================================================
--- scripts/innreport.in (revision 8174)
+++ scripts/innreport.in (working copy)
@@ -2716,6 +2716,7 @@
print "};\n\n" if $DEBUG;
}
close FILE;
+ die "Configuration file $file is empty." if ($linenum < 1);
$output{'_order_'} = \@list;
}
--
usingwhitespaceisracism
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Tue, 18 Nov 2008 19:27
Date: Tue, 18 Nov 2008 19:27
52 lines
3308 bytes
3308 bytes
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.
>> 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).
>> 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"...
> 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...).
> 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.
--
Julien ÉLIE
« Hâte-toi de bien vivre et songe que chaque jour
est à lui seul une vie. » (Sénèque)
Re: Some thoughts on times
Author: John F. Morse
Date: Wed, 19 Nov 2008 02:37
Date: Wed, 19 Nov 2008 02:37
189 lines
8022 bytes
8022 bytes
Ray Banana wrote:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>
>
>> I tried to work on your suggestions from the bottom up, since the
>> innreport command must have worked back in February of this year, but
>> now appears to be broken.
>> Now I cannot get innreport to run -- period. Actually, top shows it
>> running for a few seconds, but it does nothing except disappearing
>> from top, and I have to ^C to regain control on that BASH terminal. No
>> HTML file(s) are to be found.
>> I checked /etc/news/innreport.conf and it looks good to me. Also,
>> /etc/news/inn.conf has pathhttp: /var/log/news correctly. So I tried
>> the following:
>> news@news7:/usr/lib/news/bin$ innreport -f /etc/news
>> WARNING: can't make graphs as required.
>> Install GD.pm or disable this option.
>> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
>> news@news7:/usr/lib/news/bin$ time innreport -f /etc/news -nog
>> Can't find/load .pm : syntax error at (eval 3) line 1, at EOF
>>
>
> That's what I get, too, if I call innreport this way.
>
> Actually, innreport expects the full path *and* file name for it's
> config file after -f :
>
> /usr/lib/news/bin/innreport -f /etc/news/innreport.conf
>
> plus the names of the log files:
>
> /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
> /var/log/news/news.notice \
> /var/log/news/news
>
> hth
Yes, Ray, it helps, and thanks. But it also opened a few other cans of
worms.... ;-)
I had tried the full -f pathname with the file before posting the
earlier message, but it still failed.
The following fails:
news@news7:/var/log/news$ sudo /usr/lib/news/bin/innreport -f
/etc/news/innreport.conf
Now, adding the log files caused the innreport to be displayed in the
terminal (I'm using ssh remotely).
news@news7:~$ /usr/lib/news/bin/innreport -f /etc/news/innreport.conf
/var/log/news/news.notice /var/log/news/news
Daily Usenet report from Nov 18 00:00:04 to Nov 18 19:26:27
and so forth....
That is odd though because the man page shows the log files are optional:
innreport(8)
SYNOPSIS
innreport -f innreport.conf [ -[no]options ] [ logfiles ]
However there still is no new html file in the /var/log/news directory,
nor in /var/www/News/stats (which I manually created earlier today).
Then the /usr/lib/news/bin/innreport script disagrees, and has the
logfile as mandatory:
Usage: innreport -f config_file [-[no]options] logfile [logfile2 [...]]
It seems innreport(8) needs updating. (This is on Sarge -- other distros
may have a corrected innreport(8) man page.)
It is incorrect here: http://linux.die.net/man/8/innreport
So I searched to see if the html report file went elsewhere:
news@news7:~$ sudo updatedb
Password:
news@news7:~$ locate news-notice.2008.
/var/log/news/news-notice.2008.02.11-00.00.03.html
/var/log/news/news-notice.2008.02.12-00.00.03.html
Nothing new.
Then I added the -html option:
/usr/lib/news/bin/innreport -html -f /etc/news/innreport.conf \
/var/log/news/news.notice \
/var/log/news/news
Now I find the new HTML file in /var/log/news.
news@news7:/var/log/news$ sudo updatedb
news@news7:/var/log/news$ locate news-notice.2008.
/var/log/news/news-notice.2008.02.11-00.00.03.html
/var/log/news/news-notice.2008.02.12-00.00.03.html
/var/log/news/news-notice.2008.11.18-00.00.04.html
However, that is the incorrect syntax per the man page (-html option
above is in wrong location). I tried it as shown and it also worked:
/usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
-html /var/log/news/news.notice \
/var/log/news/news
The -html option shouldn't be required; it is the default:
news@news7:~$ innreport -h
Usage: innreport -f innreport.conf [-[no]options]
where options are:
-h (or -help) this help page
-v display the version number of INNreport
-config print INNreport configuration information
-html HTML output [default]
-g want graphs [default]
-graph an alias for option -g
Additionally the /usr/lib/news/bin/innreport script contains these entries:
## Do you want to create a Web page. Pick DO or DONT.
my $HTML = "DO";
## Do you want the graphs (need $HTML too). Pick DO or DONT.
my $GRAPH = "DO";
## Directory for the Web pages (used only if the previous line is active)
my $HTML_dir = "$inn::pathhttp";
## Directory for the pictures (need HTML support) in the file space
my $IMG_dir = "$HTML_dir/pics";
## Directory for the pictures (need HTML support) in the Web space
## (can be relative or global)
my $IMG_pth = "pics";
## Do you want to archive HTML results (& pics) [ will add a date in each
## name ]. Pick DO or DONT.
my $ARCHIVE = "DO";
## index page will be called:
my $index = "index.html";
## How many report files to keep (0 = all) (need $ARCHIVE).
my $CYCLE = 0;
And so forth.
But then /etc/news/innreport.conf disagrees, showing html and graph as
false (unwanted):
##########################################################
# Configuration file for innreport (3.*).
#
# Sample file for INN.
# Tested with INN 2.3, 2.1, 1.7.2 and 1.5.1.
#
# (c) 1997, 1998, 1999 by Fabien Tassin <fta@sofaraway.org>
# version 3.0.2
##########################################################
# Default parameters
section default {
libpath "/usr/lib/news";
logpath "/var/log/news";
unknown true; # want unknown entries.
max_unknown 50; # max unknown entries to display.
casesensitive true;
module "innreport_inn"; # ${libpath}/${module}.pm
unwanted_log "unwanted.log"; # ${logpath}/${unwanted_log}
text true;
html false;
graph false; # need 'html'
Now the question is: Can these discrepancies be corrected so they all
agree and say the same thing?
--
John
No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
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.
Re: Some thoughts on times
Author: John F. Morse
Date: Wed, 19 Nov 2008 03:16
Date: Wed, 19 Nov 2008 03:16
160 lines
6809 bytes
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.
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Wed, 19 Nov 2008 10:11
Date: Wed, 19 Nov 2008 10:11
45 lines
2983 bytes
2983 bytes
Hi John,
> That is odd though because the man page shows the log files are optional
>
> It seems innreport(8) needs updating.
Yes, it needs updating. It dates back to 2001.
> /usr/lib/news/bin/innreport -html -f /etc/news/innreport.conf \
> /var/log/news/news.notice \
> /var/log/news/news
>
> However, that is the incorrect syntax per the man page (-html option above is in wrong location). I tried it as shown and it also
> worked:
>
> /usr/lib/news/bin/innreport -f /etc/news/innreport.conf \
> -html /var/log/news/news.notice \
> /var/log/news/news
It does not matter where you put the options. At least
-f config_file [-[no]options]
works, as well as
[-[no]options] -f config_file
so there is no problem.
> -html HTML output [default]
[...]
> html false;
>
> Now the question is: Can these discrepancies be corrected so they all agree and say the same thing?
Sure it could.
However, the most interesting is the innreport man page because it should
also provide documentation for all these options.
But it requires a fair amount of work...
Do you feel like writing it?
--
Julien ÉLIE
« -- Quelle idée de nous atteler à des balistes ! C'est un travail de Romains ça !
-- Justement, de quoi te plains-tu ? » (Astérix)
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Wed, 19 Nov 2008 10:35
Date: Wed, 19 Nov 2008 10:35
50 lines
3529 bytes
3529 bytes
Hi John, >> 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. It is also a way to argue about a "feature" :-> > 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> And there is still no suck in Lenny: <http://packages.debian.org/suck>. I hope it will be shipped with it. I mailed its maintainer last month. > 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. The news server of my (now old) school is also running a Sarge: eliej@guepard:~$ uptime 11:33:27 up 316 days, 19:15, 2 users, load average: 0.19, 0.12, 0.03 It was rebooted too last year for a change of UPS! But I think there were kernel updates in 2007 (though I am not sure), which also led to reboots. > 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. I'm not the only one working on INN or other projects. And my salary is words like yours :) Thanks! -- Julien ÉLIE « Les amis de la vérité sont ceux qui la cherchent, et non ceux qui se vantent de l'avoir trouvée. » (Condorcet)
Re: Some thoughts on times
Author: John F. Morse
Date: Wed, 19 Nov 2008 23:55
Date: Wed, 19 Nov 2008 23:55
35 lines
2921 bytes
2921 bytes
Julien ÉLIE wrote: > However, the most interesting is the innreport man page because it should > also provide documentation for all these options. > But it requires a fair amount of work... > Do you feel like writing it? > I really have little knowledge to take on such a task. Additionally, I am way behind in my own necessary projects. Plus I have to go to court in a month to see if my brother can actually evict me from our jointly-owned house which our mother left us. Or if the judge will tell him to accept the offer of half the appraised value minus half the taxes and other maintenance expenses I have paid. Including half of what he still owes our mother's estate on his loan for his duplex. I figure it is about $40,000, and his stupidity is going to endanger his own home ownership. Oh, then there's the rent income he collects from the other side of the duplex that he was supposed to be paying our mother. He has not done so in many years. If I ever get caught up here Julien, I'd be happy to help, but I just can't fit it in right now. Thanks for the offer though. -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Sun, 21 Dec 2008 21:15
Date: Sun, 21 Dec 2008 21:15
30 lines
2600 bytes
2600 bytes
Hi John F. Morse, > However, that is the incorrect syntax per the man page (-html option above is in wrong location). I tried it as shown and it also > worked: > > The -html option shouldn't be required; it is the default Now fixed. The default is "-nohtml", as in innreport.conf. > # Default parameters > html false; > graph false; # need 'html' > > Now the question is: Can these discrepancies be corrected so they all agree and say the same thing? The default for graph is "true". Maybe you edited it yourself. Note that graph is used only if html is "true". I have also added the html-unknown parameter in innreport.conf (it was missing). It does the same thing as the unknown parameter, but only for HTML reports. -- Julien ÉLIE « La médecine est un métier dangereux. Ceux qui ne meurent pas peuvent vous faire un procès. » (Coluche)
Re: Some thoughts on times
Author: John F. Morse
Date: Mon, 22 Dec 2008 11:40
Date: Mon, 22 Dec 2008 11:40
44 lines
2868 bytes
2868 bytes
Julien ÉLIE wrote: > Hi John F. Morse, > >> However, that is the incorrect syntax per the man page (-html option >> above is in wrong location). I tried it as shown and it also worked: >> >> The -html option shouldn't be required; it is the default > > Now fixed. > The default is "-nohtml", as in innreport.conf. > > >> # Default parameters >> html false; >> graph false; # need 'html' >> >> Now the question is: Can these discrepancies be corrected so they all >> agree and say the same thing? > > The default for graph is "true". Maybe you edited it yourself. > Note that graph is used only if html is "true". > > > I have also added the html-unknown parameter in innreport.conf (it was > missing). > It does the same thing as the unknown parameter, but only for HTML > reports. > Thanks, Julien. I never did get this to work satisfactorily. It did provide a report, but without any data! I'll get back to playing with it some day when I run out of more-important things. ;-) -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Mon, 22 Dec 2008 17:20
Date: Mon, 22 Dec 2008 17:20
16 lines
2150 bytes
2150 bytes
Hi John,
> I never did get this to work satisfactorily. It did provide a report, but without any data!
It sounds like innreport was provided with no data (news, news.notice)
to generate a report.
What does this command write on standard output?
scanlogs norotate
--
Julien ÉLIE
« Vinum nouum, amicus nouus : uesterascet, et cum suauitate bibes illud. »
Re: Some thoughts on times
Author: John F. Morse
Date: Tue, 23 Dec 2008 11:30
Date: Tue, 23 Dec 2008 11:30
36 lines
2756 bytes
2756 bytes
Julien ÉLIE wrote: > Hi John, > >> I never did get this to work satisfactorily. It did provide a report, >> but without any data! > > It sounds like innreport was provided with no data (news, news.notice) > to generate a report. > > What does this command write on standard output? > > scanlogs norotate > Julien, it looks normal. Very similar to a daily report minus the summary at the end. What was that exact command to extract the info? I remember someone said that the path to news and news notice would be required in the command. I'll try to run it again and see what I get. I'm doing this via ssh, so I log in as "-l news" which does work for the scanlogs. Will innreport rotate or zero the log? Should it be run with a norotate option? -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
Re: Some thoughts on times
Author: Julien ÉLIE
Date: Tue, 23 Dec 2008 13:44
Date: Tue, 23 Dec 2008 13:44
27 lines
2418 bytes
2418 bytes
Hi John,
>> scanlogs norotate
>>
>
> Julien, it looks normal. Very similar to a daily report minus the summary at the end.
>
> What was that exact command to extract the info?
/usr/lib/news/bin/innreport -nohtml -f /etc/news/innreport.conf \
/var/log/news/news.notice \
/var/log/news/news
(then you can try with -html)
> Will innreport rotate or zero the log? Should it be run with a norotate option?
No, innreport only writes a report.
scanlogs and news.daily rotate logs.
--
Julien ÉLIE
« When a man opens the door of his car for his wife,
you can be sure of one thing: either the car is new or the wife. »
innreport [was: Some thoughts on times]
Author: John F. Morse
Date: Tue, 23 Dec 2008 15:33
Date: Tue, 23 Dec 2008 15:33
447 lines
21064 bytes
21064 bytes
Julien ÉLIE wrote: > Hi John, > >>> scanlogs norotate >>> >> >> Julien, it looks normal. Very similar to a daily report minus the >> summary at the end. >> >> What was that exact command to extract the info? > > /usr/lib/news/bin/innreport -nohtml -f /etc/news/innreport.conf \ > /var/log/news/news.notice \ > /var/log/news/news > > (then you can try with -html) The first example prints the report to stdout (the computer's monitor), in this case my screen, which is using ssh to the remote news server. I can make it create a file by redirecting the sdtout to a textfile (with "> textfile.txt" for instance). Otherwise it does not create any file in /var/log/news (or anywhere else searching the Debian system). If I do not include the -nohtml then it acts identically: output to screen but no file created. If I ask for html, then it does create a file /var/log/news/news-notice.2008.12.23-00.00.04.html But that HTML is missing all the data. All there is in the HTML code are many HREF links to targets, which are non-existent in this HTML file, and no other file is created. Here is the complete HTML file output of innreport in its entirety: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE>Daily Usenet report: Dec 23 00:00:04</TITLE> <!-- innreport 3.0.2 --> </HEAD> <BODY > <CENTER><H1>Daily Usenet report</H1> <H3>Dec 23 00:00:04 -- Dec 23 08:58:43</H3> </CENTER> <P><HR><P> <UL> <LI><A HREF="#prog_type">Log entries by program</A> <LI><A HREF="#nnrpd_timer">nnrpd timer</A> <LI><A HREF="#innd_control">Control commands to INND</A> <LI><A HREF="#innd_connect">Incoming Feeds (INN)</A> <LI><A HREF="#innd_incoming_vol">Incoming Volume (INN)</A> <LI><A HREF="#inn_flow">Incoming articles</A> <LI><A HREF="#inn_unwanted">Sites sending bad articles</A> <LI><A HREF="#innd_perl">INND perl filter</A> <LI><A HREF="#innd_misc_stat">Miscellaneous innd statistics</A> <LI><A HREF="#innfeed_connect">Outgoing Feeds (innfeed) by Articles</A> <LI><A HREF="#innfeed_volume">Outgoing Feeds (innfeed) by Volume</A> <LI><A HREF="#nnrpd_groups">NNRP readership statistics</A> <LI><A HREF="#nnrpd_dom_groups">NNRP readership statistics (by domain)</A> <LI><A HREF="#nnrpd_auth">NNRP auth users</A> <LI><A HREF="#nnrpd_resource">NNRP total resource statistics</A> <LI><A HREF="#nnrpd_curious">Curious NNRP server explorers</A> <LI><A HREF="#nnrpd_timeout">NNRP client timeouts</A> <LI><A HREF="#nnrpd_hierarchy">Newsgroup request counts (by category)</A> <LI><A HREF="#nnrpd_group">Newsgroup request counts (by newsgroup)</A> </UL><P><HR><P> <A HREF="ftp://ftp.sofaraway.org/pub/innreport/">innreport</A> 3.0.2 (c) 1996-1999 by Fabien Tassin <<A HREF="mailto:fta@sofaraway.org">fta@sofaraway.org</A>>. <!-- Running time: 00:00:09 --> </BODY> </HTML> The file above is 1,677 bytes in size. A comparison to an HTML document generated back on 20080213 shows it is 15,114 bytes, and it does generate a good HTML display in a browser. Here is that file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE>Daily Usenet report: Feb 12 00:00:03</TITLE> <!-- innreport 3.0.2 --> </HEAD> <BODY > <CENTER><H1>Daily Usenet report</H1> <H3>Feb 12 00:00:03 -- Feb 13 00:00:03</H3> </CENTER> <P><HR><P> <UL> <LI><A HREF="#prog_type">Log entries by program</A> <LI><A HREF="#innd_control">Control commands to INND</A> <LI><A HREF="#innd_connect">Incoming Feeds (INN)</A> <LI><A HREF="#innd_incoming_vol">Incoming Volume (INN)</A> <LI><A HREF="#inn_flow">Incoming articles</A> <LI><A HREF="#inn_unwanted">Sites sending bad articles</A> <LI><A HREF="#innd_misc_stat">Miscellaneous innd statistics</A> <LI><A HREF="#innfeed_connect">Outgoing Feeds (innfeed) by Articles</A> <LI><A HREF="#innfeed_volume">Outgoing Feeds (innfeed) by Volume</A> </UL><P><HR><P> <A NAME="prog_type"><STRONG>Log entries by program:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT">Program name</TH><TH ALIGN="CENTER">Lines</TH><TH ALIGN="CENTER">%Lines</TH><TH ALIGN="CENTER">Size</TH><TH ALIGN="CENTER">%Size</TH></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT">inn</TD><TD ALIGN="RIGHT"> 4433</TD><TD ALIGN="RIGHT"> 72.5%</TD><TD ALIGN="RIGHT">515.9 KB</TD><TD ALIGN="RIGHT"> 73.1%</TD></TR> <TR><TD ALIGN="LEFT">innfeed</TD><TD ALIGN="RIGHT"> 1573</TD><TD ALIGN="RIGHT"> 25.7%</TD><TD ALIGN="RIGHT">181.3 KB</TD><TD ALIGN="RIGHT"> 25.7%</TD></TR> <TR><TD ALIGN="LEFT">innd</TD><TD ALIGN="RIGHT"> 110</TD><TD ALIGN="RIGHT"> 1.8%</TD><TD ALIGN="RIGHT">8.6 KB</TD><TD ALIGN="RIGHT"> 1.2%</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT"><STRONG>TOTAL: 3</STRONG></TD><TD ALIGN="RIGHT"> 6116</TD><TD ALIGN="RIGHT"> 100.0%</TD><TD ALIGN="RIGHT">705.8 KB</TD><TD ALIGN="RIGHT">100.0%</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="innd_control"><STRONG>Control commands to INND:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT">Command</TH><TH ALIGN="CENTER">Number</TH></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT">flushlogs</TD><TD ALIGN="RIGHT"> 1</TD></TR> <TR><TD ALIGN="LEFT">paused</TD><TD ALIGN="RIGHT"> 2</TD></TR> <TR><TD ALIGN="LEFT">reload</TD><TD ALIGN="RIGHT"> 1</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT"><STRONG>TOTAL: 3</STRONG></TD><TD ALIGN="RIGHT"> 4</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="innd_connect"><STRONG>Incoming Feeds (INN):</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT" COLSPAN="2">Server</TH><TH ALIGN="CENTER">Connects</TH><TH ALIGN="CENTER">Offered</TH><TH ALIGN="CENTER">Taken</TH><TH ALIGN="CENTER">Refused</TH><TH ALIGN="CENTER">Reject</TH><TH ALIGN="CENTER">%Accpt</TH><TH ALIGN="CENTER">Elapsed</TH></TR> <TR><TD></TD></TR> <TR><TH ALIGN="CENTER">1</TH><TD ALIGN="LEFT">feeder.motzarella.org</TD><TD ALIGN="RIGHT"> 9</TD><TD ALIGN="RIGHT"> 4735</TD><TD ALIGN="RIGHT"> 4735</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 100%</TD><TD ALIGN="RIGHT">27:46:53</TD></TR> <TR><TH ALIGN="CENTER">2</TH><TD ALIGN="LEFT">localhost</TD><TD ALIGN="RIGHT"> 25</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0%</TD><TD ALIGN="RIGHT">00:00:01</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT" COLSPAN="2"><STRONG>TOTAL: 2</STRONG></TD><TD ALIGN="RIGHT"> 34</TD><TD ALIGN="RIGHT"> 4735</TD><TD ALIGN="RIGHT"> 4735</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 100%</TD><TD ALIGN="RIGHT">27:46:54</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="innd_incoming_vol"><STRONG>Incoming Volume (INN):</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT" COLSPAN="2">Server</TH><TH ALIGN="CENTER">AcceptVol</TH><TH ALIGN="CENTER">DupVol</TH><TH ALIGN="CENTER">TotalVol</TH><TH ALIGN="CENTER">%Acc</TH><TH ALIGN="CENTER">Vol/Art</TH><TH ALIGN="CENTER">Elapsed</TH></TR> <TR><TD></TD></TR> <TR><TH ALIGN="CENTER">1</TH><TD ALIGN="LEFT">feeder.motzarella.org</TD><TD ALIGN="RIGHT">16.3 MB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">16.3 MB</TD><TD ALIGN="RIGHT">100%</TD><TD ALIGN="RIGHT">3.5 KB</TD><TD ALIGN="RIGHT">27:46:53</TD></TR> <TR><TH ALIGN="CENTER">2</TH><TD ALIGN="LEFT">localhost</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT"> 0%</TD><TD ALIGN="RIGHT">0</TD><TD ALIGN="RIGHT">00:00:01</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT" COLSPAN="2"><STRONG>TOTAL: 2</STRONG></TD><TD ALIGN="RIGHT">16.3 MB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">16.3 MB</TD><TD ALIGN="RIGHT">100%</TD><TD ALIGN="RIGHT">3.5 KB</TD><TD ALIGN="RIGHT">27:46:54</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="inn_flow"><STRONG>Incoming articles:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT">Date</TH><TH ALIGN="CENTER">Articles</TH><TH ALIGN="CENTER">%Arts</TH><TH ALIGN="CENTER">Art/sec</TH><TH ALIGN="CENTER">Size</TH><TH ALIGN="CENTER">%Size</TH><TH ALIGN="CENTER">KB/sec</TH></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT">Feb 12 00:00:03 - 00:59:59</TD><TD ALIGN="RIGHT"> 101</TD><TD ALIGN="RIGHT"> 2.3%</TD><TD ALIGN="RIGHT"> 0.03</TD><TD ALIGN="RIGHT">285.1 KB</TD><TD ALIGN="RIGHT"> 1.6%</TD><TD ALIGN="RIGHT"> 0.08</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 01:00:00 - 01:59:59</TD><TD ALIGN="RIGHT"> 176</TD><TD ALIGN="RIGHT"> 4.0%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">429.1 KB</TD><TD ALIGN="RIGHT"> 2.4%</TD><TD ALIGN="RIGHT"> 0.12</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 02:00:00 - 02:59:59</TD><TD ALIGN="RIGHT"> 213</TD><TD ALIGN="RIGHT"> 4.8%</TD><TD ALIGN="RIGHT"> 0.06</TD><TD ALIGN="RIGHT">1.2 MB</TD><TD ALIGN="RIGHT"> 6.9%</TD><TD ALIGN="RIGHT"> 0.34</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 03:00:00 - 03:59:59</TD><TD ALIGN="RIGHT"> 140</TD><TD ALIGN="RIGHT"> 3.2%</TD><TD ALIGN="RIGHT"> 0.04</TD><TD ALIGN="RIGHT">355.6 KB</TD><TD ALIGN="RIGHT"> 2.0%</TD><TD ALIGN="RIGHT"> 0.10</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 04:00:00 - 04:59:59</TD><TD ALIGN="RIGHT"> 138</TD><TD ALIGN="RIGHT"> 3.1%</TD><TD ALIGN="RIGHT"> 0.04</TD><TD ALIGN="RIGHT">348.1 KB</TD><TD ALIGN="RIGHT"> 1.9%</TD><TD ALIGN="RIGHT"> 0.10</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 05:00:00 - 05:59:59</TD><TD ALIGN="RIGHT"> 120</TD><TD ALIGN="RIGHT"> 2.7%</TD><TD ALIGN="RIGHT"> 0.03</TD><TD ALIGN="RIGHT">337.3 KB</TD><TD ALIGN="RIGHT"> 1.9%</TD><TD ALIGN="RIGHT"> 0.09</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 06:00:00 - 06:59:59</TD><TD ALIGN="RIGHT"> 114</TD><TD ALIGN="RIGHT"> 2.6%</TD><TD ALIGN="RIGHT"> 0.03</TD><TD ALIGN="RIGHT">376.0 KB</TD><TD ALIGN="RIGHT"> 2.1%</TD><TD ALIGN="RIGHT"> 0.10</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 07:00:00 - 07:59:59</TD><TD ALIGN="RIGHT"> 207</TD><TD ALIGN="RIGHT"> 4.7%</TD><TD ALIGN="RIGHT"> 0.06</TD><TD ALIGN="RIGHT">539.1 KB</TD><TD ALIGN="RIGHT"> 3.0%</TD><TD ALIGN="RIGHT"> 0.15</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 08:00:00 - 08:59:59</TD><TD ALIGN="RIGHT"> 219</TD><TD ALIGN="RIGHT"> 5.0%</TD><TD ALIGN="RIGHT"> 0.06</TD><TD ALIGN="RIGHT">648.4 KB</TD><TD ALIGN="RIGHT"> 3.6%</TD><TD ALIGN="RIGHT"> 0.18</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 09:00:00 - 09:59:59</TD><TD ALIGN="RIGHT"> 275</TD><TD ALIGN="RIGHT"> 6.2%</TD><TD ALIGN="RIGHT"> 0.08</TD><TD ALIGN="RIGHT">1.2 MB</TD><TD ALIGN="RIGHT"> 6.7%</TD><TD ALIGN="RIGHT"> 0.33</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 10:00:00 - 10:59:59</TD><TD ALIGN="RIGHT"> 181</TD><TD ALIGN="RIGHT"> 4.1%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">588.9 KB</TD><TD ALIGN="RIGHT"> 3.3%</TD><TD ALIGN="RIGHT"> 0.16</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 11:00:00 - 11:59:59</TD><TD ALIGN="RIGHT"> 222</TD><TD ALIGN="RIGHT"> 5.0%</TD><TD ALIGN="RIGHT"> 0.06</TD><TD ALIGN="RIGHT">742.9 KB</TD><TD ALIGN="RIGHT"> 4.2%</TD><TD ALIGN="RIGHT"> 0.21</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 12:00:00 - 12:59:59</TD><TD ALIGN="RIGHT"> 176</TD><TD ALIGN="RIGHT"> 4.0%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">502.8 KB</TD><TD ALIGN="RIGHT"> 2.8%</TD><TD ALIGN="RIGHT"> 0.14</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 13:00:00 - 13:59:59</TD><TD ALIGN="RIGHT"> 210</TD><TD ALIGN="RIGHT"> 4.7%</TD><TD ALIGN="RIGHT"> 0.06</TD><TD ALIGN="RIGHT">756.9 KB</TD><TD ALIGN="RIGHT"> 4.2%</TD><TD ALIGN="RIGHT"> 0.21</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 14:00:00 - 14:59:59</TD><TD ALIGN="RIGHT"> 337</TD><TD ALIGN="RIGHT"> 7.6%</TD><TD ALIGN="RIGHT"> 0.09</TD><TD ALIGN="RIGHT">1.5 MB</TD><TD ALIGN="RIGHT"> 8.7%</TD><TD ALIGN="RIGHT"> 0.43</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 15:00:00 - 15:59:59</TD><TD ALIGN="RIGHT"> 298</TD><TD ALIGN="RIGHT"> 6.7%</TD><TD ALIGN="RIGHT"> 0.08</TD><TD ALIGN="RIGHT">1.3 MB</TD><TD ALIGN="RIGHT"> 7.7%</TD><TD ALIGN="RIGHT"> 0.38</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 16:00:00 - 16:59:59</TD><TD ALIGN="RIGHT"> 177</TD><TD ALIGN="RIGHT"> 4.0%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">558.3 KB</TD><TD ALIGN="RIGHT"> 3.1%</TD><TD ALIGN="RIGHT"> 0.16</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 17:00:00 - 17:59:59</TD><TD ALIGN="RIGHT"> 177</TD><TD ALIGN="RIGHT"> 4.0%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">578.4 KB</TD><TD ALIGN="RIGHT"> 3.2%</TD><TD ALIGN="RIGHT"> 0.16</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 18:00:00 - 18:59:59</TD><TD ALIGN="RIGHT"> 105</TD><TD ALIGN="RIGHT"> 2.4%</TD><TD ALIGN="RIGHT"> 0.03</TD><TD ALIGN="RIGHT">292.0 KB</TD><TD ALIGN="RIGHT"> 1.6%</TD><TD ALIGN="RIGHT"> 0.08</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 19:00:00 - 19:59:59</TD><TD ALIGN="RIGHT"> 152</TD><TD ALIGN="RIGHT"> 3.4%</TD><TD ALIGN="RIGHT"> 0.04</TD><TD ALIGN="RIGHT">690.3 KB</TD><TD ALIGN="RIGHT"> 3.9%</TD><TD ALIGN="RIGHT"> 0.19</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 20:00:00 - 20:59:59</TD><TD ALIGN="RIGHT"> 116</TD><TD ALIGN="RIGHT"> 2.6%</TD><TD ALIGN="RIGHT"> 0.03</TD><TD ALIGN="RIGHT">394.9 KB</TD><TD ALIGN="RIGHT"> 2.2%</TD><TD ALIGN="RIGHT"> 0.11</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 21:00:00 - 21:59:59</TD><TD ALIGN="RIGHT"> 192</TD><TD ALIGN="RIGHT"> 4.3%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">614.8 KB</TD><TD ALIGN="RIGHT"> 3.4%</TD><TD ALIGN="RIGHT"> 0.17</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 22:00:00 - 22:59:59</TD><TD ALIGN="RIGHT"> 175</TD><TD ALIGN="RIGHT"> 4.0%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">1.3 MB</TD><TD ALIGN="RIGHT"> 7.6%</TD><TD ALIGN="RIGHT"> 0.38</TD></TR> <TR><TD ALIGN="LEFT">Feb 12 23:00:00 - 00:00:03</TD><TD ALIGN="RIGHT"> 201</TD><TD ALIGN="RIGHT"> 4.5%</TD><TD ALIGN="RIGHT"> 0.06</TD><TD ALIGN="RIGHT">2.0 MB</TD><TD ALIGN="RIGHT"> 11.7%</TD><TD ALIGN="RIGHT"> 0.58</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT"><STRONG>TOTAL: 24:00:00</STRONG></TD><TD ALIGN="RIGHT"> 4422</TD><TD ALIGN="RIGHT"> 100.0%</TD><TD ALIGN="RIGHT"> 0.05</TD><TD ALIGN="RIGHT">17.4 MB</TD><TD ALIGN="RIGHT"> 100.0%</TD><TD ALIGN="RIGHT"> 0.21</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="inn_unwanted"><STRONG>Sites sending bad articles:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT" COLSPAN="2">Server</TH><TH ALIGN="CENTER">Total</TH><TH ALIGN="CENTER">Group</TH><TH ALIGN="CENTER">Dist</TH><TH ALIGN="CENTER">Duplic</TH><TH ALIGN="CENTER">Unapp</TH><TH ALIGN="CENTER">TooOld</TH><TH ALIGN="CENTER">Site</TH><TH ALIGN="CENTER">Line</TH><TH ALIGN="CENTER">Other</TH></TR> <TR><TD></TD></TR> <TR><TH ALIGN="CENTER">1</TH><TD ALIGN="LEFT">feeder.motzarella.org</TD><TD ALIGN="RIGHT"> 11</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 11</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT" COLSPAN="2"><STRONG>TOTAL: 1</STRONG></TD><TD ALIGN="RIGHT"> 11</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 11</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="innd_misc_stat"><STRONG>Miscellaneous innd statistics [Top 10]:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT">Event</TH><TH ALIGN="CENTER">Server</TH><TH ALIGN="CENTER">Number</TH></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT">Including strange strings</TD></TR> <TR><TD></TD><TD ALIGN="LEFT">feeder.motzarella.org</TD><TD ALIGN="RIGHT"> 11</TD></TR> <TR><TD></TD><TD ALIGN="LEFT"><STRONG>TOTAL: 1</STRONG></TD><TD ALIGN="RIGHT"> 11</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT"><STRONG>TOTAL: 1</STRONG></TD><TD></TD><TD ALIGN="RIGHT"> 11</TD></TR> </TABLE> </CENTER> <P> <HR> <A NAME="innfeed_connect"><STRONG>Outgoing Feeds (innfeed) by Articles:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT" COLSPAN="2">Server</TH><TH ALIGN="CENTER">Offered</TH><TH ALIGN="CENTER">Taken</TH><TH ALIGN="CENTER">Refused</TH><TH ALIGN="CENTER">Reject</TH><TH ALIGN="CENTER">Miss</TH><TH ALIGN="CENTER">Spool</TH><TH ALIGN="CENTER">%Took</TH><TH ALIGN="CENTER">Elapsed</TH></TR> <TR><TD></TD></TR> <TR><TH ALIGN="CENTER">1</TH><TD ALIGN="LEFT">feeder.motzarella.org</TD><TD ALIGN="RIGHT"> 4420</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 4420</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 5</TD><TD ALIGN="RIGHT"> 0%</TD><TD ALIGN="RIGHT">22:07:14</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT" COLSPAN="2"><STRONG>TOTAL: 1</STRONG></TD><TD ALIGN="RIGHT"> 4420</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 4420</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 0</TD><TD ALIGN="RIGHT"> 5</TD><TD ALIGN="RIGHT"> 0%</TD><TD ALIGN="RIGHT">22:07:14</TD></TR> </TABLE> </CENTER><P> <HR> <A NAME="innfeed_volume"><STRONG>Outgoing Feeds (innfeed) by Volume:</STRONG></A> <P> <CENTER> <TABLE BORDER="1"> <TR><TH ALIGN="LEFT" COLSPAN="2">Server</TH><TH ALIGN="CENTER">AcceptVol</TH><TH ALIGN="CENTER">RejectVol</TH><TH ALIGN="CENTER">TotalVol</TH><TH ALIGN="CENTER">Volume/sec</TH><TH ALIGN="CENTER">Vol/Art</TH><TH ALIGN="CENTER">Elapsed</TH></TR> <TR><TD></TD></TR> <TR><TH ALIGN="CENTER">1</TH><TD ALIGN="LEFT">feeder.motzarella.org</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB/s</TD><TD ALIGN="RIGHT">0</TD><TD ALIGN="RIGHT">22:07:14</TD></TR> <TR><TD></TD></TR> <TR><TD ALIGN="LEFT" COLSPAN="2"><STRONG>TOTAL: 1</STRONG></TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB</TD><TD ALIGN="RIGHT">0.0 KB/s</TD><TD ALIGN="RIGHT">0</TD><TD ALIGN="RIGHT">22:07:14</TD></TR> </TABLE> </CENTER><P> <HR> <A HREF="ftp://ftp.sofaraway.org/pub/innreport/">innreport</A> 3.0.2 (c) 1996-1999 by Fabien Tassin <<A HREF="mailto:fta@sofaraway.org">fta@sofaraway.org</A>>. <!-- Running time: 00:00:09 --> </BODY> </HTML> What could be the problem in HTML generation? I shouldn't need to be physically at and using that computer's stdin for innreport nor using sudo/su I wouldn't think. But I could test it later today (or tomorrow, since today is anniversary #14 for wife #2). ;-) -- John No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. 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.
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