🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8112

Re: INN 1.4 expire prob ?

#8112
From: Kevin Stussman
Date: Thu, 30 May 1996 00:00
91 lines
3273 bytes
On 29 May 1996 16:11:18 GMT, gihill@ wrote:

>
>
>
>Hello, 
>
>	I am testing out INN 1.4 on our Solaris 2.4 system, and have
>	found a problem with our 'news.daily' script (It runs out of
>	the 'news' crontab file).   It, or more
>	correctly, the 'expire' program is not completing successfully
>	and leaves innd in the 'paused' state.  The log file created
>	by 'news.daily' does contain error messages, but I'm not sure
>	what the problem is.   The relevant portions are included
>	below:
>
>------------------- log file begins ----------------------------------
>
>	[ ... lots of stuff deleted from log ...]
>
>Renumbering active file.
>Must be running
>
>Already paused
>Wrong reason
>Expire messages:
>expire begin Tue May 28 23:40:33 EDT 1996: (-v1 -z/var/log/news/expire.rm)
>    Can't replace history files, Permission denied
>
>	[ .. more stuff deleted ..]
>
>------- end of news.daily log file ---------------------------------------
>
>	The protections on our history files is:
>
>-rw-rw-r--   1 news     news        1837 May 29 14:40 history
>-rw-rw-r--   1 news     news          61 May 29 14:45 history.dir
>-rw-rw-r--   1 news     news      441752 May 29 14:40 history.pag
>
>	Typing 'innstat' tells me that innd is in 'pause Expiring process 5443'.
>
>	Both the 'expire.log' and 'errlog' files are empty.
>
>    Thanks for any assistance.
>
>				== Geoff Hill


This is an off-the-cuff guess (take it for what it's worth):

Completely stop innd (i.e. ctlinnd shutdown now). 

Kill innwatch.

Do a ps to make sure no news related processes are running. If so kill
them.

Cd to ~news/innd directory

Make a dir called BAK and move everything in ~news/innd  there.

Check ~news for any LOCK files. Remove them.

Check the permissions on your Log directory. Make sure its owned by
news and is open for read,write. (for me it's /var/log/news) Make sure
there's a dir called OLD too (that's a good check that permissions are
set...create it as user : news)

Restart innd.

Run news.daily by hand and watch the results.

For safety sake, run makehistory -buv. This will take a LONG time
if you have a large spool dir, but your history files will be brand
new and cleaned up. The next news.daily will be a final cleanup of
anything that makehistory found.

If you have any questions, let me know.  I would guess that 
your innd got paused by a process (i.e. expire) was killed and
an errant control file was left around (in ~news/innd). If it happens
again, then perhaps there is something wrong with the expire process.

Good Luck!

Kevin Stussman
kevin@gilman.com 

P.S. Your posted email address is invalid.

Technical Details
Message-ID: <31adb029.86472935@news.gilman.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
References: <23935@storm.LakeheadU.Ca>

Show Full Headers
Complete Article Headers
Message-ID: <31adb029.86472935@news.gilman.com>
Subject: Re: INN 1.4 expire prob ?
Date: Thu, 30 May 1996 00:00:00 +0000
From: kevin@gilman.com (Kevin Stussman)
References: <23935@storm.LakeheadU.Ca>
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: 157645155
Organization: Gilman Investment Company
Reply-to: kevin@gilman.com
Newsgroups: news.software.nntp