Thread View: news.software.nntp
3 messages
3 total messages
Started by Rafal Boni
Wed, 31 Jul 1996 00:00
INN being paused in news.daily and not unpausing??
Author: Rafal Boni
Date: Wed, 31 Jul 1996 00:00
Date: Wed, 31 Jul 1996 00:00
67 lines
2657 bytes
2657 bytes
I hope this isn't too newbie a question, but I haven't seen it asked before, so here goes: I'm running unoff4 on a Sparc20 running Solaris 2.4... It seems to run just fine 99.44% of the time, but I'm having problems with the server being paused by news.daily and never being unpaused... Here's more detail: Here's a snippet from the mail I get from the news.daily run: ---- XXX ----- Server status: Server running Allowing remote connections Parameters c 21 i 0 (1) l 1000000 o 51 t 300 normal specified Not reserved Readers separate enabled [...] Innwatch is not running Renumbering active file. Must be running Already paused Wrong reason Expire messages: expire begin Tue Jul 30 23:40:35 EDT 1996: (-v1 -z/var/log/news/expire.rm) Group not matched (removed?) comp.soft-sys.spss -- Using default expiration Can't replace history files, Cross-device link Article lines processed 313576 Articles retained 313525 Entries expired 51 Files unlinked 68 Old entries dropped 0 Old entries retained 0 [...] --- XXX ---- When I do a "ctlinnd mode" right after the news.daily has completed I get a "server paused Expiring process xxxx". Anyone have any ideas?? At first I though this might have been due to the fact that I didn't have anything to expire (yet), but it's been going on now that stuff is being expired as well... I'm running news.daily with the "expireover" and "delayrm" parameters, and it's running out of the "news" user's crontab. Also, what is the "can't replace history files" message mean?? My history file *is* on a different partition than /usr/local/news (the news lib dir) and the spool dir, but I thought this was an accepted configuration?? Thanks for any ideas, --rafal -- Rafal Boni rafal@scofflaw.coordinate.com Software Engineer Coordinate.com (All opinions are my own) 51 Sawyer Road, Waltham, MA 02154
Re: INN being paused in news.daily and not unpausing??
Author: Tomasz R Surmacz
Date: Thu, 01 Aug 1996 00:00
Date: Thu, 01 Aug 1996 00:00
26 lines
1510 bytes
1510 bytes
Rafal Boni (rafal@scofflaw.coordinate.com) wrote: :| I'm running unoff4 on a Sparc20 running Solaris 2.4... It seems to run :| just fine 99.44% of the time, but I'm having problems with the server :| being paused by news.daily and never being unpaused... ... :| Can't replace history files, Cross-device link :| Also, what is the "can't replace history files" message mean?? My history file :| *is* on a different partition than /usr/local/news (the news lib dir) and the :| spool dir, but I thought this was an accepted configuration?? Check permissions of directory where the history file is kept. It should be owned by news, group news with the write access for user. Tomasz -- _________ (_ _' __) Tomasz R. Surmacz *-* E-mail: ts@apk.net, tsurmacz@ict.pwr.wroc.pl | (__ \ http://www.ict.pwr.wroc.pl/~tsurmacz/ *----* Home: ts@wroc.apk.net |__(____/ For PGP key finger tsurmacz@asic.ict.pwr.wroc.pl *---* irc: TomekS
Re: INN being paused in news.daily and not unpausing??
Author: Rafal Boni
Date: Fri, 02 Aug 1996 00:00
Date: Fri, 02 Aug 1996 00:00
85 lines
3840 bytes
3840 bytes
ts@furiat.apk.net (Tomasz R Surmacz) writes:
|Rafal Boni (rafal@scofflaw.coordinate.com) wrote:
|:| I'm running unoff4 on a Sparc20 running Solaris 2.4... It seems to run
|:| just fine 99.44% of the time, but I'm having problems with the server
|:| being paused by news.daily and never being unpaused...
|...
|:| Can't replace history files, Cross-device link
|:| Also, what is the "can't replace history files" message mean?? My history
|:| file *is* on a different partition than /usr/local/news (the news lib dir)
|:| and the spool dir, but I thought this was an accepted configuration??
|Check permissions of directory where the history file is kept. It should be
|owned by news, group news with the write access for user.
I hate following up to my own questions, but I thought it was a
pretty interesting problem, so I'll summarize what was really
wrong and what I had to do to fix it...
(1) I don't think the fact that expire wasn't removing articles had
much to do w/my problem... I read the expire source and it turns
out that it pauses the server and in the case of the "can't
replace history files" exits leaving it paused...
(2) Since I had my history files in /var/spool/news.history and
not $NEWSLIB, I needed to set $EXPDIR in news.daily (or pass
it on the command line)... I don't know if subst if supposed
to run on news.daily or if somehow I had an older news.daily
sitting around (this machine was a private inn server that
did no expiring before...)
(3) news.daily needed the following patch to make it set $REASON
correctly whether 'expdir=' was specified on the command line
or set at the top of the script... If $REASON was empty, expire
would pass the next argument as the pause reason to ctlinnd and
life would go downhill from there...
Thanks for the ideas,
--rafal, part-time newsadmin and full-time engineer (you add that up 8-)
*** /usr/local/src/inn/inn1.4unoff4/site/news.daily Thu Jul 18 03:48:55 1996
--- /usr/local/news/bin/news.daily Wed Jul 31 23:02:40 1996
***************
*** 57,63 ****
;;
Xexpdir=*)
EXPDIR=`expr "${I}" : 'expdir=\(.*\)'`
- REASON="Expiring $$ on ${EXPDIR}"
;;
Xexpireover)
DOEXPIREOVER=true
--- 57,62 ----
***************
*** 109,115 ****
EXPDIR=
RMFILE=
}
! test -n "${EXPDIR}" && EXPIREFLAGS="${EXPIREFLAGS} '-d${EXPDIR}' '-r${REASON}'"
test -n "${RMFILE}" && {
EXPIREFLAGS="${EXPIREFLAGS} -z${RMFILE}"
EXPIREOVERFLAGS="${EXPIREOVERFLAGS} -z ${RMFILE}"
--- 108,119 ----
EXPDIR=
RMFILE=
}
!
! test -n "${EXPDIR}" && {
! test -z "${REASON}" && REASON="Expiring $$ on ${EXPDIR}"
! EXPIREFLAGS="${EXPIREFLAGS} '-d${EXPDIR}' '-r${REASON}'"
! }
!
test -n "${RMFILE}" && {
EXPIREFLAGS="${EXPIREFLAGS} -z${RMFILE}"
EXPIREOVERFLAGS="${EXPIREOVERFLAGS} -z ${RMFILE}"
--
Rafal Boni rafal@scofflaw.coordinate.com
Software Engineer Coordinate.com
(All opinions are my own) 51 Sawyer Road, Waltham, MA 02154
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