🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by long xue Mon, 12 Aug 1996 00:00
News.daily works incorrectly
#10049
Author: long xue
Date: Mon, 12 Aug 1996 00:00
37 lines
1312 bytes
After runnning news.daily,my innd is paused. Daily report displays:

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

	Renumbering active file.
	Must be running

	Already paused
	Wrong reason
	.
	.
	.

when I run "innstat" to check the mode of innd,it says:

	Server status:
	Server paused Expiring process xxxx
	Allowing remote connections
	Parameters c 14 i 0 (3) l 1000000 o 51 t 300 normal specified
	Not reserved
	Readers separate enabled

Is there anything wrong with "expire" program?
The version of my INN is INN1.4unoff4.

Thanks in advance.

Re: News.daily works incorrectly
#10041
Author: Anthony J. Lill
Date: Mon, 12 Aug 1996 00:00
66 lines
2845 bytes

Expire is probably dying before it can un-pause the server. I 
just fixed a problem with expire where it was configured with
_PATH_HISTORY not in the same directory as _PATH_NEWSLIB, and
on different filesystems. Expire failed to replace the history
files and failed to restart the server.

The following patch will fix this bug. If not, then expire is dying
for some other reason.

Index: expire.c
===================================================================
RCS file: /var/spool/src/bin/inn/expire/expire.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 expire.c
*** expire.c	1996/07/18 17:29:25	1.1.1.2
--- expire.c	1996/08/06 17:30:11
***************
*** 70,76 ****
  STATIC BOOL		EXPsizing;
  STATIC BOOL		EXPtracing;
  STATIC BOOL		EXPusepost;
! STATIC char		EXPnewslib[] = _PATH_NEWSLIB;
  STATIC char		ACTIVE[] = _PATH_ACTIVE;
  STATIC char		SPOOL[] = _PATH_SPOOL;
  STATIC int		nGroups;
--- 70,76 ----
  STATIC BOOL		EXPsizing;
  STATIC BOOL		EXPtracing;
  STATIC BOOL		EXPusepost;
! STATIC char		*EXPnewslib;
  STATIC char		ACTIVE[] = _PATH_ACTIVE;
  STATIC char		SPOOL[] = _PATH_SPOOL;
  STATIC int		nGroups;
***************
*** 1019,1024 ****
--- 1019,1032 ----
      NHistorydir = COPY(buff);
      (void)sprintf(buff, "%s.pag", NHistory);
      NHistorypag = COPY(buff);
+ 
+     /* Set our newslib to be the same directory that the history file
+        is in */
+     EXPnewslib = COPY(HistoryText);
+     if( (p = strrchr( EXPnewslib, '/' )) == NULL )
+ 	EXPnewslib = _PATH_NEWSLIB;
+     else
+ 	*p = '\0';
  
      if (!Writing)
  	out = NULL;

-- 
Tony Lill,                         Tony.Lill@AJLC.Waterloo.ON.CA
President, A. J. Lill Consultants                 (519) 241 2461
539 Grand Valley Dr., Cambridge, Ont.    fax/data (519) 650 3571
--------------- http://www.ajlc.waterloo.on.ca/ ----------------
"Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"
-- 
Tony Lill,                         Tony.Lill@AJLC.Waterloo.ON.CA
President, A. J. Lill Consultants                 (519) 241 2461
539 Grand Valley Dr., Cambridge, Ont.    fax/data (519) 650 3571
--------------- http://www.ajlc.waterloo.on.ca/ ----------------

Re: News.daily works incorrectly
#10075
Author: Rafal Boni
Date: Mon, 12 Aug 1996 00:00
51 lines
1889 bytes
long xue <newsmater@gb.co.cn> writes:

|After runnning news.daily,my innd is paused. Daily report displays:

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

|	Renumbering active file.
|	Must be running

|	Already paused
|	Wrong reason
|	.
|	.
|	.

|when I run "innstat" to check the mode of innd,it says:

|	Server status:
|	Server paused Expiring process xxxx
|	Allowing remote connections
|	Parameters c 14 i 0 (3) l 1000000 o 51 t 300 normal specified
|	Not reserved
|	Readers separate enabled

|Is there anything wrong with "expire" program?
|The version of my INN is INN1.4unoff4.

	I posted a pretty thorough diagnosis of this a week or so ago.
	The article is <rafal.839003914@scofflaw>, look for it at DejaNews
	or AltaVista.

--rafal

PS: Heiko: Could this be added to the FAQ?? I've gotten about 3 or 4 email
queries about this in the last few days...

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