🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by gihill Wed, 29 May 1996 00:00
INN 1.4 expire prob ?
#8051
Author: gihill
Date: Wed, 29 May 1996 00:00
53 lines
1885 bytes



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
 




OO

Re: INN 1.4 expire prob ?
#8112
Author: 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.

Re: INN 1.4 expire prob ?
#8133
Author: Marc G. Fournier
Date: Thu, 30 May 1996 00:00
34 lines
1739 bytes
kevin@gilman.com (Kevin Stussman) writes:

>On 29 May 1996 16:11:18 GMT, gihill@ wrote:

>>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
>>

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

<bunch of totally valid suggestions deleted>

	Also...what does 'ls -ld ~news' show you?  even if the history
file is owned by news, if the directory its in isn't, you aren't going
to do much :)

-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Re: INN 1.4 expire prob ?
#8147
Author: Seong-ho Jang
Date: Fri, 31 May 1996 00:00
20 lines
1267 bytes
On 29 May 1996 16:11:18 GMT, gihill@ wrote:
>	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.  
Hi, 
where is your history files?
The inn1.4unoff4 default history file is located /usr/local/news/lib.
The expire problem was caused the mismatched location of history
files.
Expire process create a new history file and exchenge it to old one.
But, if the location was mismatched,it can't exchange the files. So
paused. It was my case. Then I recompiled inn1.4unoff4 and the problem
was gone.
Try it.


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