🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
21 messages
21 total messages Started by kjell Wed, 21 May 2008 05:57
Expire and generate reports
#79052
Author: kjell
Date: Wed, 21 May 2008 05:57
5 lines
1013 bytes
The news server seem to have many duplicate!
No more expired old news and generated reports!
What to do? I'm using INN!

Kjell
Re: Expire and generate reports
#79045
Author: Ray Banana
Date: Wed, 21 May 2008 07:44
18 lines
1813 bytes
Thus spake kjell <hd@ipbo.se>
 
> The news server seem to have many duplicate!

What makes you think so? 

> No more expired old news and generated reports!
> What to do? I'm using INN!

Please try to describe you problem in more detail.
Does news.daily get started from the crontab?
If so, does it terminate abnormally?

Any error messages in the logs.

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Expire and generate reports
#79046
Author: kjell
Date: Wed, 21 May 2008 08:13
33 lines
1940 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>> The news server seem to have many duplicate!
> 
> What makes you think so? 

It never happend before! (so many!)
Look at this:

  AcceptVol    DupVol  TotalVol %Acc   Vol/Art   Elapsed
    2.1 MB    2.4 MB    4.4 MB  46%    2.4 KB  01:16:01
    1.8 MB  768.5 KB    2.6 MB  71%    1.7 KB  05:53:45
    1.0 MB  173.3 KB    1.2 MB  85%    6.0 KB  02:34:10
    74.2 KB   70.4 KB  144.6 KB  51%    1.7 KB  01:38:22

http://just2write2.myftp.org/inn_status.html

> 
>> No more expired old news and generated reports!
>> What to do? I'm using INN!
> 
> Please try to describe you problem in more detail.
> Does news.daily get started from the crontab?

No!
No new entries in innreport.db and no new in innreport.html for 
example!(since monday night)

> If so, does it terminate abnormally?
> 
> Any error messages in the logs.
> 
Re: Expire and generate reports
#79048
Author: Ray Banana
Date: Wed, 21 May 2008 08:29
50 lines
3326 bytes
Thus spake kjell <hd@ipbo.se>
 
>>> The news server seem to have many duplicate!
>> What makes you think so?
> It never happend before! (so many!)
> Look at this:
>  AcceptVol    DupVol  TotalVol %Acc   Vol/Art   Elapsed
>    2.1 MB    2.4 MB    4.4 MB  46%    2.4 KB  01:16:01
>    1.8 MB  768.5 KB    2.6 MB  71%    1.7 KB  05:53:45
>    1.0 MB  173.3 KB    1.2 MB  85%    6.0 KB  02:34:10
>    74.2 KB   70.4 KB  144.6 KB  51%    1.7 KB  01:38:22
> http://just2write2.myftp.org/inn_status.html

That's what I expected. One of your peers is sending you lots of duplicates.

| newsfeed.straub-nv.de
|    seconds: 6025           duplicates: 1167        ip address:
|    80.244.241.131
|    offered: 9007        uw newsgroups: 477        active cxns: 1
|   accepted: 5774     uw distributions: 0        sleeping cxns: 0
|    refused: 1544           unapproved: 0       want streaming: Yes
|   rejected: 1689             filtered: 45        is streaming: Yes
|       size: 16.2Mb          bad sites: 0       duplicate size: 3.6Mb
|  Protocol:
|      Ihave: 0      SendIt[335]: 0         Got[435]: 0
|    Deferred[436]: 0
|      Check: 3659   SendIt[238]: 1023      Got[438]: 1544
|    Deferred[431]: 1092
|   Takethis: 7463       Ok[239]: 5774    Error[439]: 0     

Ask your peer to set his no-check parameters to something less
aggressive.

>>> No more expired old news and generated reports!
>>> What to do? I'm using INN!
>> Please try to describe you problem in more detail.
>> Does news.daily get started from the crontab?
> No!
> No new entries in innreport.db and no new in innreport.html for
> example!(since monday night)
>> If so, does it terminate abnormally?
>> Any error messages in the logs.

Please run news.daily as user news manually and watch out for error
messages.


-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Expire and generate reports
#79049
Author: kjell
Date: Wed, 21 May 2008 09:12
66 lines
3727 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>>>> The news server seem to have many duplicate!
>>> What makes you think so?
>> It never happend before! (so many!)
>> Look at this:
>>  AcceptVol    DupVol  TotalVol %Acc   Vol/Art   Elapsed
>>    2.1 MB    2.4 MB    4.4 MB  46%    2.4 KB  01:16:01
>>    1.8 MB  768.5 KB    2.6 MB  71%    1.7 KB  05:53:45
>>    1.0 MB  173.3 KB    1.2 MB  85%    6.0 KB  02:34:10
>>    74.2 KB   70.4 KB  144.6 KB  51%    1.7 KB  01:38:22
>> http://just2write2.myftp.org/inn_status.html
> 
> That's what I expected. One of your peers is sending you lots of duplicates.
> 
> | newsfeed.straub-nv.de
> |    seconds: 6025           duplicates: 1167        ip address:
> |    80.244.241.131
> |    offered: 9007        uw newsgroups: 477        active cxns: 1
> |   accepted: 5774     uw distributions: 0        sleeping cxns: 0
> |    refused: 1544           unapproved: 0       want streaming: Yes
> |   rejected: 1689             filtered: 45        is streaming: Yes
> |       size: 16.2Mb          bad sites: 0       duplicate size: 3.6Mb
> |  Protocol:
> |      Ihave: 0      SendIt[335]: 0         Got[435]: 0
> |    Deferred[436]: 0
> |      Check: 3659   SendIt[238]: 1023      Got[438]: 1544
> |    Deferred[431]: 1092
> |   Takethis: 7463       Ok[239]: 5774    Error[439]: 0     
> 
> Ask your peer to set his no-check parameters to something less
> aggressive.
> 
>>>> No more expired old news and generated reports!
>>>> What to do? I'm using INN!
>>> Please try to describe you problem in more detail.
>>> Does news.daily get started from the crontab?
>> No!
>> No new entries in innreport.db and no new in innreport.html for
>> example!(since monday night)
>>> If so, does it terminate abnormally?
>>> Any error messages in the logs.
> 
> Please run news.daily as user news manually and watch out for error
> messages.
> 
> 
No error! I think! Maybe I missed something, but it look ok
in syslog!
But no Daily Usenet report!

expire.log:
expireover start ons maj 21 10:33:44 CEST 2008: ( -z/var/log/news/expire.rm)
     Article lines processed  1693517
     Articles dropped            7753
     Overview index dropped      7753
expireover end ons maj 21 10:42:54 CEST 2008
	expirerm start ons maj 21 10:42:54 CEST 2008
	expirerm end ons maj 21 10:44:20 CEST 2008
expire begin ons maj 21 10:44:51 CEST 2008: (-v1)
     Article lines processed  1337317
     Articles retained        1330603
     Entries expired             6714
expire end ons maj 21 11:03:51 CEST 2008
	all done ons maj 21 11:03:51 CEST 2008
Re: Expire and generate reports
#79050
Author: Ray Banana
Date: Wed, 21 May 2008 12:13
20 lines
2146 bytes
Thus spake kjell <hd@ipbo.se>
 
>> Please run news.daily as user news manually and watch out for error
>> messages.
> No error! I think! Maybe I missed something, but it look ok
> in syslog!
> But no Daily Usenet report!

OK, now run this as user news and check if it shows any error messages:

 /usr/lib/news/bin/innreport -f /etc/news/innreport.conf -notdaily \
        /var/log/news/news.notice /var/log/news/news

This is actually one single line. I recall that you are on Ubuntu, so
the paths to the executable, the config and the log files should be
suitable for your environment.

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Expire and generate reports
#79051
Author: kjell
Date: Wed, 21 May 2008 12:39
32 lines
2143 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>>> Please run news.daily as user news manually and watch out for error
>>> messages.
>> No error! I think! Maybe I missed something, but it look ok
>> in syslog!
>> But no Daily Usenet report!
> 
> OK, now run this as user news and check if it shows any error messages:
> 
>  /usr/lib/news/bin/innreport -f /etc/news/innreport.conf -notdaily \
>         /var/log/news/news.notice /var/log/news/news
> 
> This is actually one single line. I recall that you are on Ubuntu, so
> the paths to the executable, the config and the log files should be
> suitable for your environment.
> 

It's ok. I have done it before!
Now I have Daily Usenet report. No errors!

Think I have had similar problems earlier but don't
remember how I solved it??

in /etc/cron.d/inn2
I think this should do the "work":

15 4	* * * 	news	test -x /usr/lib/news/bin/news.daily && news.daily 
expireover lowmark delayrm

Kjell
Ray Banana
#79053
Author: John F. Morse
Date: Wed, 21 May 2008 12:47
15 lines
1843 bytes
Ray Banana wrote:

[OT]

Ray, I see someone from your domain tried to e-mail someone on my 
domain's SMTP server but was rejected.

Was it you, and if so, can I give you an alternate e-mail address to try?

-- 
John 

No Microsoft, Apple, 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: Expire and generate reports
#79054
Author: Ray Banana
Date: Wed, 21 May 2008 13:02
12 lines
1870 bytes
Thus spake kjell <hd@ipbo.se>
 
> in /etc/cron.d/inn2
> I think this should do the "work":
> 15 4	* * * 	news	test -x /usr/lib/news/bin/news.daily &&
> news.daily expireover lowmark delayrm
        
Yes. If the above is one single line in the crontab.

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Ray Banana
#79055
Author: Ray Banana
Date: Wed, 21 May 2008 13:06
12 lines
1998 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
 
> Ray, I see someone from your domain tried to e-mail someone on my
> domain's SMTP server but was rejected.
> Was it you, and if so, can I give you an alternate e-mail address to try?

Yes, that was me and, actually, I do have the non-AT&T mail address, too. I
sometimes forget to use the right mailserver, though :-)

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Ray Banana
#79056
Author: John F. Morse
Date: Wed, 21 May 2008 13:26
35 lines
2800 bytes
Ray Banana wrote:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>  
>   
>> Ray, I see someone from your domain tried to e-mail someone on my
>> domain's SMTP server but was rejected.
>> Was it you, and if so, can I give you an alternate e-mail address to try?
>>     
>
> Yes, that was me and, actually, I do have the non-AT&T mail address, too. I
> sometimes forget to use the right mailserver, though :-)


Well, if you're "calling" from a RIPE IP, I have most of them 
blacklisted due to spam. ;-)

I just released (commented out) six netblocks for RIPE. Go ahead and 
resend the message and we'll see if I get it. Use my domain instead of 
that AT&T address.

I'll shoot you back an address on my cable ISP in case you need to 
contact me. BTW, the a.o.l.d group did start propagating a couple of 
days ago.

The AT&T address will be ending soon. There's a mass exodus because they 
are shutting down their "internal" (local) newsgroups, which for many 
users was the only reason they continued paying for the access privilege.


-- 
John 

No Microsoft, Apple, 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: Expire and generate reports
#79057
Author: kjell
Date: Wed, 21 May 2008 13:30
18 lines
1666 bytes
Ray Banana skrev :
> Thus spake kjell <hd@ipbo.se>

>> in /etc/cron.d/inn2
>> I think this should do the "work":
>> 15 4	* * * 	news	test -x /usr/lib/news/bin/news.daily &&
>> news.daily expireover lowmark delayrm

> Yes. If the above is one single line in the crontab.

Yes, it is.
Why does it not work!? :-(
Can I run the above line to test, and how?! ;-)

-- 
mvh/Kjell

Re: Expire and generate reports
#79058
Author: Ray Banana
Date: Wed, 21 May 2008 13:42
22 lines
2295 bytes
Thus spake "kjell" <petter@uuyuy.se>
 
>>> I think this should do the "work":
>>> 15 4	* * * 	news	test -x /usr/lib/news/bin/news.daily &&
>>> news.daily expireover lowmark delayrm
>> Yes. If the above is one single line in the crontab.
> Yes, it is.
> Why does it not work!? :-(
> Can I run the above line to test, and how?! ;-)

You can run the above line (starting with test -x ...) as user news from
the command line. 
I suspect that /usr/lib/news/bin/ is not in the environment's
$PATH. Please make sure there is a line like

PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin

in /etc/cron.d/inn2.

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Ray Banana
#79059
Author: Ray Banana
Date: Wed, 21 May 2008 13:45
11 lines
1903 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
 
> BTW, the a.o.l.d group did start propagating a couple of
> days ago.

That's what my mail was about. I knew you'd notice anyway.


-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Expire and generate reports
#79060
Author: kjell
Date: Wed, 21 May 2008 14:05
30 lines
2282 bytes
Ray Banana skrev:
> Thus spake "kjell" <petter@uuyuy.se>
>  
>>>> I think this should do the "work":
>>>> 15 4	* * * 	news	test -x /usr/lib/news/bin/news.daily &&
>>>> news.daily expireover lowmark delayrm
>>> Yes. If the above is one single line in the crontab.
>> Yes, it is.
>> Why does it not work!? :-(
>> Can I run the above line to test, and how?! ;-)
> 
> You can run the above line (starting with test -x ...) as user news from
> the command line. 
> I suspect that /usr/lib/news/bin/ is not in the environment's
> $PATH. Please make sure there is a line like
> 
> PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin
> 
> in /etc/cron.d/inn2.
> 

I have this "PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin"
 > in /etc/cron.d/inn2 already.

I run this "test -x /usr/lib/news/bin/news.daily && news.daily 
expireover lowmark delayrm" (in one line)

and I get this error "sh: news.daily: not found"

Kjell
Re: Expire and generate reports
#79061
Author: Ray Banana
Date: Wed, 21 May 2008 14:12
16 lines
2176 bytes
Thus spake kjell <hd@ipbo.se>
 
> I have this "PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin"
>> in /etc/cron.d/inn2 already.
> I run this "test -x /usr/lib/news/bin/news.daily && news.daily
> expireover lowmark delayrm" (in one line)
> and I get this error "sh: news.daily: not found"

test -x /usr/lib/news/bin/news.daily &&  /usr/lib/news/bin/news.daily \
     expireover lowmark delayrm

does work, I assume?

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Ray Banana
#79062
Author: John F. Morse
Date: Wed, 21 May 2008 15:03
20 lines
2071 bytes
Ray Banana wrote:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>  
>   
>> BTW, the a.o.l.d group did start propagating a couple of
>> days ago.
>>     
>
> That's what my mail was about. I knew you'd notice anyway.


Thanks.


-- 
John 

No Microsoft, Apple, 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: Expire and generate reports
#79063
Author: kjell
Date: Wed, 21 May 2008 15:48
23 lines
1979 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>> I have this "PATH=/usr/lib/news/bin:/sbin:/bin:/usr/sbin:/usr/bin"
>>> in /etc/cron.d/inn2 already.
>> I run this "test -x /usr/lib/news/bin/news.daily && news.daily
>> expireover lowmark delayrm" (in one line)
>> and I get this error "sh: news.daily: not found"
> 
> test -x /usr/lib/news/bin/news.daily &&  /usr/lib/news/bin/news.daily \
>      expireover lowmark delayrm
> 
> does work, I assume?
> 

Yes. OK! No error.
Should this "produce" Daily Usenet report?
Why does it not run at night?
Any suggestions?

Kjell

Re: Expire and generate reports
#79064
Author: Ray Banana
Date: Wed, 21 May 2008 16:19
20 lines
2333 bytes
Thus spake kjell <hd@ipbo.se>
 
>> test -x /usr/lib/news/bin/news.daily &&  /usr/lib/news/bin/news.daily \
>>      expireover lowmark delayrm
>> does work, I assume?
> Yes. OK! No error.
> Should this "produce" Daily Usenet report?

Yes, it should. Did you receive the mail?

> Why does it not run at night?
> Any suggestions?

Maybe it's just the mail that doesn't get delivered?
Can you check your /var/log/news/ directory tomorrow morning and see if
there is a new  expire.log?

-- 
Too many ingredients in the soup, no room for a spoon.
http://news.motzarella.org
Re: Expire and generate reports
#79065
Author: kjell
Date: Wed, 21 May 2008 16:50
42 lines
2687 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>>> test -x /usr/lib/news/bin/news.daily &&  /usr/lib/news/bin/news.daily \
>>>      expireover lowmark delayrm
>>> does work, I assume?
>> Yes. OK! No error.
>> Should this "produce" Daily Usenet report?
> 
> Yes, it should. Did you receive the mail?

Yes I have, and it was ok!

But there was an old mail with some error:

"Return-path: <news@smtp.ipbo.se>
Envelope-to: usenet@smtp.ipbo.se
Delivery-date: Tue, 20 May 2008 05:41:52 +0200
Received: from news by ubuntu1.ipbo.se with local (Exim 4.67)
	(envelope-from <news@smtp.ipbo.se>)
	id 1JyIjV-0001hZ-O6
	for usenet@smtp.ipbo.se; Tue, 20 May 2008 05:41:51 +0200
To: usenet@smtp.ipbo.se
Subject: Boot-time Usenet warning on ubuntu1
Message-Id: <E1JyIjV-0001hZ-O6@ubuntu1.ipbo.se>
From: news <news@smtp.ipbo.se>
Date: Tue, 20 May 2008 05:41:49 +0200

Old .news.daily file; need to run news.daily?"


>> Why does it not run at night?
>> Any suggestions?
> 
> Maybe it's just the mail that doesn't get delivered?
> Can you check your /var/log/news/ directory tomorrow morning and see if
> there is a new  expire.log?
> 

I will see tomorrow morning, maybe at 04.15!

Thanks
Re: Expire and generate reports
#79066
Author: kjell
Date: Thu, 22 May 2008 05:02
51 lines
3001 bytes
kjell skrev:
> Ray Banana skrev:
>> Thus spake kjell <hd@ipbo.se>
>>  
>>>> test -x /usr/lib/news/bin/news.daily &&  /usr/lib/news/bin/news.daily \
>>>>      expireover lowmark delayrm
>>>> does work, I assume?
>>> Yes. OK! No error.
>>> Should this "produce" Daily Usenet report?
>>
>> Yes, it should. Did you receive the mail?
> 
> Yes I have, and it was ok!
> 
> But there was an old mail with some error:
> 
> "Return-path: <news@smtp.ipbo.se>
> Envelope-to: usenet@smtp.ipbo.se
> Delivery-date: Tue, 20 May 2008 05:41:52 +0200
> Received: from news by ubuntu1.ipbo.se with local (Exim 4.67)
>     (envelope-from <news@smtp.ipbo.se>)
>     id 1JyIjV-0001hZ-O6
>     for usenet@smtp.ipbo.se; Tue, 20 May 2008 05:41:51 +0200
> To: usenet@smtp.ipbo.se
> Subject: Boot-time Usenet warning on ubuntu1
> Message-Id: <E1JyIjV-0001hZ-O6@ubuntu1.ipbo.se>
> From: news <news@smtp.ipbo.se>
> Date: Tue, 20 May 2008 05:41:49 +0200
> 
> Old .news.daily file; need to run news.daily?"
> 
> 
>>> Why does it not run at night?
>>> Any suggestions?
>>
>> Maybe it's just the mail that doesn't get delivered?
>> Can you check your /var/log/news/ directory tomorrow morning and see if
>> there is a new  expire.log?
>>
> 
> I will see tomorrow morning, maybe at 04.15!
> 
> Thanks

Good morning!
All look good now, new Daily Usenet report and
new expire.log and so on!
Why it not run news.daily for some days I don't know?
I run "inncheck -pedantic -perms -fix" maybe it fixed it?

Thanks, and have a nice day!
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