🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Steven L. Sesar Thu, 08 Nov 2001 15:07
INND started.....but
#55051
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 15:07
50 lines
4525 bytes
1. I can't connect via a news reader. My readers.conf is not the problem.

2. The following from news.notice:

Nov  8 10:01:38 newssrv1 innd: [ID 493423 news.warning] buffindexed: No magic cookie found for buffindexed 0, initializing
Nov  8 10:01:38 newssrv1 innd: [ID 928812 news.warning] buffindexed: all buffers are brandnew, unlink '/usr/local/news/db/group.index'
Nov  8 10:01:38 newssrv1 innd: [ID 349736 news.warning] SERVER descriptors 256
Nov  8 10:01:38 newssrv1 innd: [ID 355441 news.warning] SERVER outgoing 243
Nov  8 10:01:38 newssrv1 innd: [ID 213933 news.warning] SERVER ccsetup control:13
Nov  8 10:01:38 newssrv1 innd: [ID 432620 news.warning] SERVER lcsetup localconn:15
Nov  8 10:01:38 newssrv1 innd: [ID 878405 news.warning] SERVER rcsetup remconn:4
Nov  8 10:01:39 newssrv1 innd: [ID 907491 news.warning] innfeed! spawned innfeed!:18:proc:17555
Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 647233 news.notice] ME starting innfeed 2.3.2 at Thu Nov  8 10:01:39 2001
Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 471003 news.warning] CNFS-sm: No magic cookie found for cycbuff T8D0, initializing
Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 954692 news.error] CNFS-sm: CNFSflushhead: write failed (-1 bytes): Bad file number
Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 371779 news.error] SM storage method 'cnfs' failed initialization
Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 292155 news.error] SM one or more storage methods failed initialization
Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 896969 news.error] Storage manager initialization failed
Nov  8 10:01:39 newssrv1 innd: [ID 907491 news.warning] controlchan! spawned controlchan!:19:proc:17556
Nov  8 10:01:39 newssrv1 controlchan[17556]: starting
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/checkgroups.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/ihave.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/newgroup.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/rmgroup.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/sendme.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/sendsys.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/senduuname.pl
Nov  8 10:01:39 newssrv1 controlchan[17556]: loaded $inn::controlprogs/version.pl
Nov  8 10:01:41 newssrv1 innd: [ID 850155 news.warning] STATS! opened STATS!:17:file
Nov  8 10:01:41 newssrv1 innd: [ID 471003 news.warning] CNFS-sm: No magic cookie found for cycbuff T8D0, initializing
Nov  8 10:01:41 newssrv1 innd: [ID 516902 news.warning] SERVER perl filtering enabled
Nov  8 10:01:41 newssrv1 innd: [ID 255333 news.warning] SERVER starting
Nov  8 10:01:41 newssrv1 innd: [ID 359755 news.error] innfeed! exit 1 elapsed 0 pid 17555
Nov  8 10:01:41 newssrv1 innd: [ID 679368 news.warning] innfeed!:18:proc:17555 closed
Nov  8 10:01:41 newssrv1 innd: [ID 907491 news.warning] innfeed! spawned innfeed!:24:proc:17558
Nov  8 10:01:41 newssrv1 innd: [ID 684577 news.warning] innfeed! restarted
Nov  8 10:01:41 newssrv1 innfeed[17558]: [ID 647233 news.notice] ME starting innfeed 2.3.2 at Thu Nov  8 10:01:41 2001
Nov  8 10:01:41 newssrv1 innfeed[17558]: [ID 702911 news.notice] loading /usr/local/news/etc/innfeed.conf

I ran dd if=/dev/zero of=/path/to/buffer bs=1k count=BUFFERSIZE and chmod 664 /path/to/buffer on each buffer.

Sorry if this post is a bit verbose, but it seems necesssary







Re: INND started.....but
#55052
Author: Andrew Gierth
Date: Thu, 08 Nov 2001 15:34
11 lines
1362 bytes
>>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:

 Steven> 1. I can't connect via a news reader. My readers.conf is not
 Steven> the problem.

What exactly happens if you telnet to port 119 on your server and
issue the command 'MODE READER'?

-- 
Andrew.
Re: INND started.....but
#55053
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 15:42
21 lines
1579 bytes
Andrew Gierth wrote:

> >>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:
>
>  Steven> 1. I can't connect via a news reader. My readers.conf is not
>  Steven> the problem.
>
> What exactly happens if you telnet to port 119 on your server and
> issue the command 'MODE READER'?
>
> --
> Andrew.

[austin]-/export/home/ssesar$ telnet newssrv1 119
Trying 129.83.183.8...
telnet: Unable to connect to remote host: Connection refused
[austin]-/export/home/ssesar$



Re: INND started.....but
#55056
Author: Andrew Gierth
Date: Thu, 08 Nov 2001 16:13
15 lines
1606 bytes
>>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:

 >> What exactly happens if you telnet to port 119 on your server and
 >> issue the command 'MODE READER'?

 Steven> [austin]-/export/home/ssesar$ telnet newssrv1 119
 Steven> Trying 129.83.183.8...
 Steven> telnet: Unable to connect to remote host: Connection refused

so either innd is not running, or it is running but you specified
a different port number in inn.conf. which is it?

-- 
Andrew.
Re: INND started.....but
#55057
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 16:37
21 lines
1750 bytes
Andrew Gierth wrote:

> >>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:
>
>  >> What exactly happens if you telnet to port 119 on your server and
>  >> issue the command 'MODE READER'?
>
>  Steven> [austin]-/export/home/ssesar$ telnet newssrv1 119
>  Steven> Trying 129.83.183.8...
>  Steven> telnet: Unable to connect to remote host: Connection refused
>
> so either innd is not running, or it is running but you specified
> a different port number in inn.conf. which is it?
>
> --
> Andrew.

Shoot! Well, now innd won't start. Nothing in any log points to what's
going on. Only innwatch will start!

INND started...but (continued)
#55060
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 17:15
28 lines
2004 bytes
Andrew Gierth wrote:

> >>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:
>
>  >> What exactly happens if you telnet to port 119 on your server and
>  >> issue the command 'MODE READER'?
>
>  Steven> [austin]-/export/home/ssesar$ telnet newssrv1 119
>  Steven> Trying 129.83.183.8...
>  Steven> telnet: Unable to connect to remote host: Connection refused
>
> so either innd is not running, or it is running but you specified
> a different port number in inn.conf. which is it?
>
> --
> Andrew.

[newssrv1]-/usr/local/news/log$ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 newssrv1.mysite.org InterNetNews server INN 2.3.2 ready
MODE READER
Connection closed by foreign host.
[newssrv1]-/usr/local/news/log$


Re: INND started...but (continued)
#55061
Author: Andrew Gierth
Date: Thu, 08 Nov 2001 17:31
17 lines
1779 bytes
>>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:

 Steven> [newssrv1]-/usr/local/news/log$ telnet localhost 119
 Steven> Trying 127.0.0.1...
 Steven> Connected to localhost.
 Steven> Escape character is '^]'.
 Steven> 200 newssrv1.mysite.org InterNetNews server INN 2.3.2 ready
 Steven> MODE READER
 Steven> Connection closed by foreign host.
 Steven> [newssrv1]-/usr/local/news/log$

OK, this means that nnrpd is puking out as soon as it's invoked. Anything
in the logs? What happens if you run nnrpd from the command line?

-- 
Andrew.
Re: INND started...but (continued)
#55064
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 18:15
24 lines
1958 bytes
Andrew Gierth wrote:

> >>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:
>
>  Steven> [newssrv1]-/usr/local/news/log$ telnet localhost 119
>  Steven> Trying 127.0.0.1...
>  Steven> Connected to localhost.
>  Steven> Escape character is '^]'.
>  Steven> 200 newssrv1.mysite.org InterNetNews server INN 2.3.2 ready
>  Steven> MODE READER
>  Steven> Connection closed by foreign host.
>  Steven> [newssrv1]-/usr/local/news/log$
>
> OK, this means that nnrpd is puking out as soon as it's invoked. Anything
> in the logs? What happens if you run nnrpd from the command line?
>
> --
> Andrew.

[newssrv1]-/usr/local/news/log$ nnrpd
Segmentation Fault(coredump)
[newssrv1]-/usr/local/news/log$

Re: INND started...
#55065
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 18:30
28 lines
2093 bytes
Andrew Gierth wrote:

> >>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:
>
>  Steven> [newssrv1]-/usr/local/news/log$ telnet localhost 119
>  Steven> Trying 127.0.0.1...
>  Steven> Connected to localhost.
>  Steven> Escape character is '^]'.
>  Steven> 200 newssrv1.mysite.org InterNetNews server INN 2.3.2 ready
>  Steven> MODE READER
>  Steven> Connection closed by foreign host.
>  Steven> [newssrv1]-/usr/local/news/log$
>
> OK, this means that nnrpd is puking out as soon as it's invoked. Anything
> in the logs? What happens if you run nnrpd from the command line?
>
> --
> Andrew.

However, when run with the -D option.....

[newssrv1]-/usr/local/news/bin$ nnrpd -D
nnrpd: can't bind (Permission denied)
[newssrv1]-/usr/local/news/bin$

What is it trying to bind to?

Re: INND started...
#55070
Author: Steven L. Sesar
Date: Thu, 08 Nov 2001 21:06
33 lines
2252 bytes
"Steven L. Sesar" wrote:

> Andrew Gierth wrote:
>
> > >>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:
> >
> >  Steven> [newssrv1]-/usr/local/news/log$ telnet localhost 119
> >  Steven> Trying 127.0.0.1...
> >  Steven> Connected to localhost.
> >  Steven> Escape character is '^]'.
> >  Steven> 200 newssrv1.mysite.org InterNetNews server INN 2.3.2 ready
> >  Steven> MODE READER
> >  Steven> Connection closed by foreign host.
> >  Steven> [newssrv1]-/usr/local/news/log$
> >
> > OK, this means that nnrpd is puking out as soon as it's invoked. Anything
> > in the logs? What happens if you run nnrpd from the command line?
> >
> > --
> > Andrew.
>
> However, when run with the -D option.....
>
> [newssrv1]-/usr/local/news/bin$ nnrpd -D
> nnrpd: can't bind (Permission denied)
> [newssrv1]-/usr/local/news/bin$
>
> What is it trying to bind to?

OK, I figured out that it's trying to bind to port 119, which is already in
use by innd. So, I bound it to port 6000. What now?

Re: INND started...
#55076
Author: Jeffrey M. Vinocur
Date: Thu, 08 Nov 2001 21:25
13 lines
1384 bytes
In article <3BEAF3BE.90B3B118@rcn.com>, Steven L. Sesar <ssesar@rcn.com> wrote:
>
>OK, I figured out that it's trying to bind to port 119, which is already in
>use by innd. So, I bound it to port 6000. What now?

Telnet to port 6000...what do you get?  (In the telnet session
and in the logs.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INND started...
#55077
Author: Thomas Neumann
Date: Thu, 08 Nov 2001 21:27
25 lines
1971 bytes
In article <3BEAF3BE.90B3B118@rcn.com>, Steven L. Sesar wrote:
>
>OK, I figured out that it's trying to bind to port 119, which is already in
>use by innd. So, I bound it to port 6000. What now?

Now you won't be able to start X anymore :-)

Seriously though, innd and nnrpd both work on port 119.
Basically it's only innd being bound to port 119 (as you
figured out only one can use a port at a time), but when
a connection comes in on port 119 innd can figure out if
this connection is actually a reader (therfore aimed at
nnrpd) and then it simply exec()'s nnrpd, which inherits
the already active connection to the client and thus
does not need to listen on port 119 itself, or in the
case of a connection from another NNTP peer it handles
the connection itself an nnrpd never gets invoked at all.

There must be some other problem that causes your nnrpd
to die early.

-Tom


Re: INND started...
#55085
Author: M. Buchenrieder
Date: Fri, 09 Nov 2001 08:12
32 lines
2012 bytes
"Steven L. Sesar" <ssesar@rcn.com> writes:

[...]

>> However, when run with the -D option.....
>>
>> [newssrv1]-/usr/local/news/bin$ nnrpd -D
>> nnrpd: can't bind (Permission denied)
                     ^^^^^^^^^^^^^^^^^^^

>> [newssrv1]-/usr/local/news/bin$
>>
>> What is it trying to bind to?

>OK, I figured out that it's trying to bind to port 119, which is already in
>use by innd. So, I bound it to port 6000. What now?

You won't be able to start XFree86 anymore, but that's not
really important...

Shoot in the dark:
Note that it says "permission denied" instead of "can't bind, address
already in use". What are the permissions of nnrpd, and are you trying 
to run it as user "root"?
What kind of system are you tring to run that on? 

Michael
-- 
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.
Re: INND started.....but
#55144
Author: Enok Nitti
Date: Mon, 12 Nov 2001 05:44
21 lines
2137 bytes
"Steven L. Sesar" skrev:

> 2. The following from news.notice:
> 
> Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 647233 news.notice] ME starting innfeed 2.3.2 at Thu Nov  8 10:01:39 2001
> Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 471003 news.warning] CNFS-sm: No magic cookie found for cycbuff T8D0, initializing
> Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 954692 news.error] CNFS-sm: CNFSflushhead: write failed (-1 bytes): Bad file number
> Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 371779 news.error] SM storage method 'cnfs' failed initialization
> Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 292155 news.error] SM one or more storage methods failed initialization
> Nov  8 10:01:39 newssrv1 innfeed[17555]: [ID 896969 news.error] Storage manager initialization failed

Do you have a file called cycbuff.conf ? 
and is the path to that file set correctly in inn.conf

> 
> I ran dd if=/dev/zero of=/path/to/buffer bs=1k count=BUFFERSIZE and chmod 664 /path/to/buffer on each buffer.
> 
> Sorry if this post is a bit verbose, but it seems necesssary

/
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