🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11466

Re: Expire Problems

#11466
From: Rodney C. Marable
Date: Mon, 07 Oct 1996 00:00
79 lines
2912 bytes
At 09:16 PM 10/1/96 -0400, you wrote:
>[This message has also been posted.]
>In <52orhp$5af@netra.socialaw.com>,
>Rodney C. Marable <rmarable@socialaw.com> wrote:
>
>> >If you set the EXPDIR variable by passing 'expdir=/foo' on the
>> >news.daily command line in cron, REASON gets set normally. But it
>> >doesn't get set if you edit the EXPDIR= line in the news.daily script.
>> 
>> What's the proper way to add that variable to news' cron file? Currently, 
>> it is:
>> 
>> 40 23 * * * /opt/gnu/news/bin/news.daily delayrm
>
>Michael Handler <handler@netaxs.com> wrote:
>
>40 23 * * * /opt/gnu/news/bin/news.daily delayrm expdir="/path/to/dir"
>

To refresh, I am having a problem expiring articles on my news server.

This gets mailed to me right before my news.daily report:

Expire had problems removing articles on netra

Then, my news.daily:
========================
To: news
Subject: Daily Usenet report

Server status:
Server running
Allowing remote connections
Parameters c 14 i 0 (1) l 1000000 o 51 t 900 normal specified
Not reserved
Readers separate enabled

Disk usage:
/dev/dsk/c0t3d0s0     177775  139941   20064    88%    /

Batch file sizes:

Log file sizes:
   0 errlog          22 news             0 news.err         6 nntpsend.log
   0 expire.log       0 news.crit        0 news.notice      2 unwanted.log

Innwatch is not running

Server connections:
remconn:4		control:13		localconn:15		
uunet:17:file		news18.uu.net:18	

Renumbering active file.

Expire messages:
expire begin Mon Oct  7 10:25:08 EDT 1996: (-v1 -z/var/log/news/expire.rm)
    Article lines processed     4246
    Articles retained           4246
    Entries expired                0
    Files unlinked                 0
    Old entries dropped            0
    Old entries retained         121
    expire end Mon Oct  7 10:25:10 EDT 1996
---------
=====================

Two questions; is this process *really* having problems expiring articles, 
or is it just lying to me? If so, and it is caused by expdir being set 
wrong, should I set expdir=/var/log/news in the cron job? Would this clear 
up the problem?

-- 
| Rodney C. Marable           | Email: <marable@socialaw.com>          |
| Associate Computer Engineer | Phone: 617.523.0018 x377               |
| Social Law Library          | "You didn't think I'd let that slide." |


Technical Details
Message-ID: <53bqm4$210@netra.socialaw.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <53bqm4$210@netra.socialaw.com>
Subject: Re: Expire Problems
Date: Mon, 07 Oct 1996 00:00:00 +0000
From: rmarable@socialaw.com (Rodney C. Marable)
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: 187394761
Organization: Social Law Library
Mime-version: 1.0
Newsgroups: news.software.nntp