🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5045

Re: trn - nntpd: xthread error

#5045
From: Wayne Davison
Date: Fri, 23 Jul 1993 22:08
32 lines
1722 bytes
According to Tim Langlois <langlois@oti-hsv.com>:
> nntpd: xthread: fopen /usr2/spool/news/db.init: No such file or directory
> 
> Is this a problem or is this trn trying to figure out whether it should use
> the XTHREAD or XOVER extension?

The latter.  If trn is successful in getting the db.init file from the
server it knows (assumes) that there is a thread database available.  If
not it does not try any other XTHREAD commands.

> If this message is normal, is there a way to
> tell nntp not to log this message everytime someone uses trn?

You can either turn off trn's thread-file accessing (turn off USE_MT in the
config.h file and recompile) or remove the code in nntpd that logs this as
an error:

Index:xthread.c
@@ -82,10 +82,6 @@
 	{
 		printf("%d %s file is not available.\r\n", ERR_FAULT, what);
 		(void) fflush(stdout);
-#ifdef SYSLOG
-		if (!strcmp(what, "db.init"))
-		    syslog(LOG_ERR, "xthread: fopen %s: %m", file);
-#endif
 		return;
 	}
 
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CAn1Ht.HM8@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!Germany.EU.net!mcsun!sunic!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <CAKuGI.9Dt@oti-hsv.com>

Show Full Headers
Complete Article Headers
Message-ID: <CAn1Ht.HM8@borland.com>
Subject: Re: trn - nntpd: xthread error
Date: Fri, 23 Jul 1993 22:08:16 GMT
From: davison@borland.com (Wayne Davison)
References: <CAKuGI.9Dt@oti-hsv.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!Germany.EU.net!mcsun!sunic!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 32