🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Mark Connell x6356 Thu, 18 Mar 1993 05:31
restarting innd
#3576
Author: Mark Connell x6356
Date: Thu, 18 Mar 1993 05:31
15 lines
1498 bytes
On a couple of occasions (mainly due to errors in newsfeeds file) it has
been necessary to restart innd after it dies. When I try to run rc.news I get
the message
inndstart: inndstart cant bind Address already in use

The only way I've been able to get around this is via a system re-boot.
Can anybody offer some advice on how to get around this problem ?

--
Mark Connell
 =============================================================================
| AIX Software Engineer          Voice  : +61-3-626-6356  FAX: +61-3-626-6386 |
| IBM APC Melbourne, Australia   E-mail : markc@vnet.ibm.com                  |
| VNET : MARKCON at AUSTRANZ     IBMNET : mark@melbapc.au.ibm.com             |
 =============================================================================
Re: restarting innd
#3579
Author: Chris Schmidt
Date: Thu, 18 Mar 1993 12:59
24 lines
1813 bytes
In article <1o91ep$igh@atlas.melbapc.au.ibm.com>, mark@gandalf.melbapc.au.ibm.com (Mark Connell x6356) writes:
> On a couple of occasions (mainly due to errors in newsfeeds file) it has
> been necessary to restart innd after it dies. When I try to run rc.news I get
> the message
> inndstart: inndstart cant bind Address already in use
> 
> The only way I've been able to get around this is via a system re-boot.
> Can anybody offer some advice on how to get around this problem ?

There is a very simple solution to your problem. When you want to start
innd you have to be root to bind port 119. Simply 'su root' and type
inndstart or make inndstart suid root.
rc.news at a system re-boot works because it is called from root ...
-- 

	Chris Schmidt

  ===    ____                          ===       EUnet Deutschland GmbH
  ===   /      /   /   ___    ___  _/_ ===       News-Support
  ===  /----  /   /  /   /  /___/  /   ===       Emil-Figge-Str. 80
  === /____  /___/  /   /  /___   /    ===       D-W-4600 Dortmund 50, Germany
  =====                              =====       Tel. +49 231 755 2444
  ===== Connecting Europe since 1982 =====       Fax  +49 231 755 2386
Re: restarting innd
#3598
Author: Rich Salz
Date: Thu, 18 Mar 1993 21:23
12 lines
1145 bytes
In <1o91ep$igh@atlas.melbapc.au.ibm.com> mark@gandalf.melbapc.au.ibm.com (Mark Connell x6356) writes:
>inndstart: inndstart cant bind Address already in use

Do a netstat and see if anyone else is listening on the NNTP port.

While innd and inndstart do use SO_REUSEADDR, perhaps you still have to
wait a bit before your TCP code has finished shutting down any connections?
Perhaps your system has buggy TCP code?

Perhaps the error code being returned (and printed) is wrong; are you
running things as root?
	/r$
Re: restarting innd
#3591
Author: Kurt Jaeger aka PI
Date: Thu, 18 Mar 1993 21:49
21 lines
1627 bytes
In article <1o9rms$79q@Germany.EU.net> cs@Germany.EU.net (Chris Schmidt) writes:
>> inndstart: inndstart cant bind Address already in use

>> The only way I've been able to get around this is via a system re-boot.

>rc.news at a system re-boot works because it is called from root ...

I've seen the same problem on aix 3.2, and it is not fixed by
doing rc.news with root id. But when I kill all nnrpd daemons accessing
the news server, the port 119 is reusable again. But this does not
solve the problem of restarting innd after some recent crash,
while others are still reading news.

Any other hints ?

		So short, PI

-- 
PI at the User Help Desk Comp.Center U of Stuttgart, FRG      27 years to go ! 
SMTP: pi@rus.uni-stuttgart.de    Phone: +49 711 685-4828
X.400: pi@rus.uni-stuttgart.dbp.de     (aka Kurt Jaeger)
Re: restarting innd
#3630
Author: Rich Salz
Date: Sun, 21 Mar 1993 13:52
13 lines
1261 bytes
In <1oaqp7$feh@info2.rus.uni-stuttgart.de> zrzr0111@helpdesk.rus.uni-stuttgart.de (Kurt Jaeger aka PI) writes:
>>> inndstart: inndstart cant bind Address already in use
>I've seen the same problem on aix 3.2, and it is not fixed by
>doing rc.news with root id. But when I kill all nnrpd daemons accessing
>the news server, the port 119 is reusable again.

This implies that there is an AIX bug.

The nnrpd daemons should not be using port 119 in any way, so another
process should be able to come in after innd has died.

Complain to your vendor.
	/r$
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