🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11300

Re: Recurring error

#11300
From: Fabien TASSIN
Date: Tue, 01 Oct 1996 00:00
48 lines
2265 bytes
[ mail & news answer ]

Robert Beyer Lund wrote:
> 
> Every night when the news.daily runs and generates a daily report, i get about
> 500 of this message:
> 
> Oct  1 08:19:24 isnews nnrpd[1173]: ? cant getpeername Connection reset by peer
> Oct  1 08:19:24 isnews nnrpd[1173]:  exit articles 0 groups 0
> Oct  1 08:19:24 isnews nnrpd[1173]:  times user 0.110 system 0.050 elapsed 0.250
> 
> I couldn't find anything in the faq about it.  I am running inn1.4unoff3 on
> Solaris 2.4.  Any ideas would be greatly appreciated.  Could you e-mail the
> suggestions to me so I will read them sooner?   Thanks alot!


getpeername failed because the connection/disconnection was too short.
The client is probably using Netscape for Windows....

Apply this small patch :

*** nnrpd/nnrpd.c.orig        Tue Oct  1 21:22:23 1996
--- nnrpd/nnrpd.c     Tue Oct  1 21:23:36 1996
***************
*** 368,373 ****
--- 368,374 ----
      if (getpeername(STDIN, (struct sockaddr *)&sin, &length) < 0) {
        if (!isatty(STDIN)) {
            syslog(L_ERROR, "%s cant getpeername %m", "?");
+             (void)strcpy(ClientHost, "?");
            Printf("%d I can't get your name.  Goodbye.\r\n",
NNTP_ACCESS_VAL);
            ExitWithStats(1);
        }

For the news.daily report, you can use my INNreport (to replace
innlog.awk)
(check ftp://anais.eerie.fr/pub/usenet/innreport/)

 Hope this helps.
 Fabien.

---
Fabien TASSIN                           mailto:tassin@eerie.fr
E.E.R.I.E. Nimes FRANCE             http://www.eerie.fr/~news/

Technical Details
Message-ID: <32517292.30B2@eerie.fr>
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: <52rk9c$lcm@galaxy.csc.calpoly.edu>

Show Full Headers
Complete Article Headers
Message-ID: <32517292.30B2@eerie.fr>
Subject: Re: Recurring error
Date: Tue, 01 Oct 1996 00:00:00 +0000
From: Fabien TASSIN <tassin@eerie.fr>
References: <52rk9c$lcm@galaxy.csc.calpoly.edu>
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: 186523822
Cc: Robert Beyer Lund <rlund@galaxy.csc.calpoly.edu>
Content-type: text/plain; charset=us-ascii
Organization: EERIE - Nimes (FRANCE)
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)