🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Robert Beyer Lund Tue, 01 Oct 1996 00:00
Recurring error
#11277
Author: Robert Beyer Lund
Date: Tue, 01 Oct 1996 00:00
16 lines
1102 bytes

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


Re: Recurring error
#11300
Author: 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/

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