🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34589

Re: Articles not expiring! agh!

#34589
From: Michael Wolf
Date: Mon, 11 Jan 1999 00:00
338 lines
12262 bytes
Hans wrote:
> 
> In article <36931F63.A0DD8F0@tkc.de>, Michael Wolf wrote:
> >Hi William,
> >
> >William Payne wrote:
> >>
> >> Hi,
> >>
> >> I'm setting up a new server and the incoming newsfeed appears to working
> >> fine but articles don't appear to expire.
> >>
> >> Inn's expire.log says that it couldn't reserve the server but according
> >> to ctlinnd mode, it's running okay and not reserved.
> >>
> >> Any ideas appreciated,
> >> Will.
> >I've got the same problem here and I'm looking for a solution, but I
> >didn't find anything in the man pages.
> >Here a small solution to expire anyway:
> >/sbin/init.d/inn stop
> >su news
> >/usr/lib/news/bin/ expire -n
> >exit
> >/sbin/init.d/inn start
> >
> >That stops inn, expires (expire -n expires and tells expire that inn
> >isn't running) and starts inn (SuSe 6.0 for other distributions with
> >different path you'll have to find out how to start and stop inn first)
> 
> Normally you should run "news.daily expireover".
> 
> Check the file permissions of all inn files. Maybe some are not writeable by
> the 'news' user. Also check that 'news.daily' runs as the 'news' user.
> 
> You can run 'inncheck' to check the configuration files. Maybe it will find
> an error.
> 
> Note that I'm not an expert, but I had some problems with INN before and I
> use it for 4 years now. But only for myself...
> 
> Hans

That's not my problem, everything in /usr/lib/news /var/lib/news
/var/spool/news and etc/news even the directory itself are ownd
news.news.
The only hint I got is that expire cna't reserve Server and that
innwatch reports the server not reserved:

-rw-r-----   1 news     news           54 Jan 11 06:59
/var/log/news/news.crit -----
Server running
Allowing remote connections
Parameters c 14 i 50 (0) l 5000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate enabled
Perl filtering enabled
-----
Jan 11 06:59:17 gunslinger innd: SERVER shutdown now 

news.daily reports the following:

 Server status: Server running
Allowing remote connections
Parameters c 14 i 50 (0) l 5000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate enabled
Perl filtering enabled

Disk usage:
/etc/news                                    142363 Kbytes available
/var/lib/news                                142363 Kbytes available
/var/log/news                                142363 Kbytes available
/var/spool/news                               39453 Kbytes available
/var/spool/news/in.coming                     39453 Kbytes available
/var/spool/news/out.going                     39453 Kbytes available
/var/spool/news/over.view                     39453 Kbytes available

Batch file sizes:
0 newscene.newscene.com

Log file sizes:
0 errlog          29 news            0 news.err        0 unwanted.log
1 expire.log       0 news.crit        6 news.notice

Lock files:
LOCK.innwatch

Server connections:

TOTAL: 0                              0


Daily Usenet report from Jan 10 22:00:08 to Jan 11 06:29:44


Log entries by program:
Program name                                     Lines  %Lines     
Size  %Size
inn                                                342   86.6%   27.6
kb  82.2%
innd                                                40   10.1%    4.8
kb  14.4%
nnrpd                                               11    2.8%    0.9
kb   2.8%
innxmit                                              2    0.5%    0.2
kb   0.6%

TOTAL: 4                                           395  100.0%   33.5 kb
100.0%

Control commands to INND:
Command                                                                 
Number
flush                                                                        
1
flushlogs                                                                    
1
paused                                                                       
1
throttle                                                                     
1

TOTAL:
4                                                                      4

Incoming Feeds (INN):
Server                Connects  Offered   Taken Refused  Reject %Accpt 
Elapsed
localhost                    4     2565     342    2196      27   13% 
00:01:14

TOTAL: 1                     4     2565     342    2196      27   13% 
00:01:14

Incoming articles:
Date                        Articles    %Arts Art/sec      Size   %Size 
KB/sec
Jan 11 02:00:08 - 06:29:44       342   100.0%    0.06   10.4 MB 
100.0%    1.98

TOTAL: 01:29:36                  342   100.0%    0.06   10.4 MB 
100.0%    1.98

History cache:
Reason                                                         Count    
%Count
Cache misses                                                      
0       0.0%
Do not exist                                                      
0       0.0%
Positive hits                                                     
0       0.0%
Negative hits                                                     
0       0.0%

TOTAL: 4                                                           0    
100.0%

INND timer:
Code region                   Time    Pct    Invoked  Min(ms)  Avg(ms) 
Max(ms)
article cancel        00:00:00.036   0.0%          1   36.000   36.000  
36.000
article control       00:00:00.000   0.0%          0    0.000   
0.000    0.000
article link          00:00:01.375   0.0%         51   26.961   26.961  
26.961
article write         00:00:08.625   0.0%        342   25.219   25.219  
25.219
history grep          00:00:00.000   0.0%          1    0.000   
0.000    0.000
history lookup        00:00:02.778   0.0%       2619    1.061   
1.061    1.061
history sync          00:00:00.083   0.0%        189    0.000   
0.439    2.625
history write         00:00:00.404   0.0%        342    1.181   
1.181    1.181
idle                  08:34:16.836  99.9%        623 3889.516 49529.432
227023.125
perl filter           00:00:02.830   0.0%        342    8.275   
8.275    8.275
site send             00:00:00.416   0.0%        342    1.216   
1.216    1.216

TOTAL: 08:34:59.004   08:34:33.383  99.9%          -        -       
-        -

Outgoing Feeds (innxmit):
Server                       Offered    Taken  Refused Rejected %Accpt 
Elapsed
localhost                       2565      342     2196       27    13%
00:01:13

TOTAL: 1                        2565      342     2196       27    13%
00:01:13

Outgoing Feeds (innxmit) - other information:
Server                     Conn    Ok Auth Load Space Expire Connct 
Other  Pct
localhost                     1     1    0    0     0      0      0     
0 100%

TOTAL: 1                      1     1    0    0     0      0      0     
0 100%

NNRP readership statistics:
System                                   Conn   Arts Groups Post  Rej  
Elapsed
localhost                                   2      9      3    0    0 
00:03:42

TOTAL: 1                                    2      9      3    0    0 
00:03:42

Newsgroup request counts (by category):
Category                                                          
Count    Pct
news                                                                  
5  55.6%
mailing                                                               
4  44.4%

TOTAL: 2                                                               9
100.0%

Newsgroup request counts (by newsgroup) [Top 20]:
Newsgroup                                                                
Count
mailing.unix.inn-bugs                                                        
4
news.software.nntp                                                           
3
news.software.inn                                                            
2

TOTAL:
3                                                                      9
---------


Renumbering active file.
Expire messages:
expire begin Mon Jan 11 06:30:43 CET 1999: (-v1)
Can't reserve server
Article lines processed        0
Articles retained              0
Entries expired                0
Files unlinked                 0
Old entries dropped            0
Old entries retained           0
expire end Mon Jan 11 06:30:43 CET 1999
all done Mon Jan 11 06:30:44 CET 1999
---------

Post expiration status:

Server status:
Server running
Allowing remote connections
Parameters c 14 i 50 (0) l 5000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate enabled
Perl filtering enabled

Disk usage:
/etc/news                                    142408 Kbytes available
/var/lib/news                                142408 Kbytes available
/var/log/news                                142408 Kbytes available
/var/spool/news                               39453 Kbytes available
/var/spool/news/in.coming                     39453 Kbytes available
/var/spool/news/out.going                     39453 Kbytes available
/var/spool/news/over.view                     39453 Kbytes available

Batch file sizes:
0 newscene.newscene.com

Log file sizes:
0 errlog           0 news            0 news.err        0 unwanted.log
1 expire.log       0 news.crit        1 news.notice

Lock files:
LOCK.innwatch

Server connections:

TOTAL: 0                              0

and that's what news.notice reports:


Jan 11 06:29:45 gunslinger innd: SERVER servermode paused
Jan 11 06:29:46 gunslinger innd: SERVER running
Jan 11 06:30:43 gunslinger innd: SERVER throttled Expiration script 7690
Jan 11 06:30:43 gunslinger innd: SERVER running
Jan 11 06:30:51 gunslinger innd: localhost connected 15
Jan 11 06:30:51 gunslinger innd: localhost:15 closed seconds 0 accepted
0 refused 0 rejected 0
Jan 11 06:56:18 gunslinger innd: ME time 1811395 idle 1807178(25)
artwrite 0(0) artlink 0(0) hiswrite 0(0) hissync 114(16) sitesend 0(0)
artctrl 0(0) artcncl 0(0) hishave 0(0) hisgrep 0(0) perl 0(0) 
Jan 11 06:59:17 gunslinger innd: SERVER shutdown now 
Jan 11 06:59:17 gunslinger innd: OVERVIEW! closed
Jan 11 06:59:17 gunslinger innd: newscene.newscene.com closed
Jan 11 06:59:17 gunslinger innd: control:11 closed
Jan 11 06:59:17 gunslinger innd: localconn:13 closed
Jan 11 06:59:17 gunslinger innd: remconn:4 closed
Jan 11 06:59:17 gunslinger innd: SERVER perl filtering disabled
Jan 11 06:59:17 gunslinger innd: SERVER shutdown now 

here was a manual call of expire -n 

Jan 11 07:01:40 gunslinger innd: SERVER descriptors 1024
Jan 11 07:01:40 gunslinger actived[8536]: started
Jan 11 07:01:40 gunslinger innd: SERVER outgoing 1011
Jan 11 07:01:40 gunslinger innd: SERVER ccsetup control:11
Jan 11 07:01:40 gunslinger innd: SERVER lcsetup localconn:13
Jan 11 07:01:40 gunslinger innd: SERVER rcsetup remconn:4
Jan 11 07:01:40 gunslinger innd: OVERVIEW! spawned
OVERVIEW!:16:proc:8541
Jan 11 07:01:41 gunslinger innd: newscene.newscene.com opened
newscene.newscene.com:15:file
Jan 11 07:01:41 gunslinger innd: SERVER perl filtering enabled
Jan 11 07:01:41 gunslinger innd: SERVER starting

Hope that someone can help me with that problem. The previous version
which was running here (1.4) didn't have that problem. 
The question is what that Not reserved means and how to start the Server
"reserved" I can't find anything about it in the man or the Faq so
please help me.

Thanks and ciao
Michael

Technical Details
Message-ID: <369A2A55.7B18C04E@tkc.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <3692157F.54DA008A@community.co.uk> <36931F63.A0DD8F0@tkc.de> <slrn79i98h.b5e.hans@comerwell.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <369A2A55.7B18C04E@tkc.de>
Subject: Re: Articles not expiring! agh!
Date: Mon, 11 Jan 1999 00:00:00 +0000
From: Michael Wolf <mwolf@tkc.de>
References: <3692157F.54DA008A@community.co.uk> <36931F63.A0DD8F0@tkc.de> <slrn79i98h.b5e.hans@comerwell.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 431300537
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Mik's InterNetNews site
Mime-Version: 1.0
Reply-To: mwolf@tkc.de
Newsgroups: news.software.nntp,news.software.inn