🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Etienne Gauthier Fri, 05 Nov 1999 00:00
Re: inews on INN2.x
#41335
Author: Etienne Gauthier
Date: Fri, 05 Nov 1999 00:00
45 lines
2264 bytes
Etienne Gauthier wrote:
> 
> Hi,
> 
>   I'm trying on INN 2.2 a script I've already tested against INN 2.1
> (where it used to work, of course).
> I use a perl -T script.
> 
>  My trouble is quite simple : this script fork itself, and then send
> output through a pipe to inews. Everything works fine on INN 2.1.
>  But, with INN 2.2, I get this error :
> Warning Can't connect to server -- Article will be spooled.
> 
>   And, as promised by this message, the article is stored in the
> incoming directory. The configuration files seem similar with both my
> INN 2.1 and 2.2.
> 
> I have to add, that INN was not installed into the default directory,
> but in another one (/opt/inn which is also the home directory for news).
> 
> Any clue would be welcome...
> Etienne


Sorry,

  It seems I'm not fully right. The problem occurs also on our
production INN 2.1 server.

The common point is : the installation has not been made in the default
directoy.
- Test INN 2.2 installation. No authentification. INN has been installed
in the directory /opt/inn, which is also the home for the news user.
- Production INN 2.1 server : Authentification. INN has been installed
in /galaxy/SPOOL/news, which is also the home for the user news.

  On both cases, I get the message :
Warning Can't connect to server -- Article will be spooled.

  I've tried to launch inews from the ~news/bin directory, but this
doesn't seem to help.

Etienne

Re: inews on INN2.x
#41337
Author: Etienne Gauthier
Date: Fri, 05 Nov 1999 00:00
51 lines
2489 bytes
>   It seems I'm not fully right. The problem occurs also on our
> production INN 2.1 server.
> 
> The common point is : the installation has not been made in the default
> directoy.
> - Test INN 2.2 installation. No authentification. INN has been installed
> in the directory /opt/inn, which is also the home for the news user.
> - Production INN 2.1 server : Authentification. INN has been installed
> in /galaxy/SPOOL/news, which is also the home for the user news.
> 
>   On both cases, I get the message :
> Warning Can't connect to server -- Article will be spooled.
> 
>   I've tried to launch inews from the ~news/bin directory, but this
> doesn't seem to help.
> 
> Etienne


  I'm stuck now. This problem is now urgent 

Another common poin between the two servers on which inews doesn't seem
to work :

- when doing telnet server_name 119 (where sever_name is taken from
inn.conf), I get this message :
200 Galaxy InterNetNews NNRP server INN 2.1 24-Jul-1998 ready (posting
ok).
or
200 penguin InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready
(posting ok).

- When doing so on the server on which INN works, I get :
200 ter1-167 InterNetNews server INN 2.1 24-Jul-1998 ready  
without the (posting oK)


  What is strange to me, is that the mode (posting Ok or not) depend on
the way I call telnet :
On one of my computer, if I do :
telnet server_name  119        I don't get Posting Ok
telnet localhost 119           I don't get Posting Ok.
telnet my_ip_address 119       I get Posting Ok.

 Does it depend on incoming.conf ?
(I can't find great differences between my configuration files)

Etienne

Re: inews on INN2.x
#41365
Author: Kai 'wusel' Siering
Date: Mon, 08 Nov 1999 00:00
37 lines
2243 bytes
Etienne Gauthier <egauthie@capgemini.fr.nospam> wrote:

% Another common poin between the two servers on which inews doesn't seem
% to work :
% 
% - when doing telnet server_name 119 (where sever_name is taken from
% inn.conf), I get this message :
% 200 Galaxy InterNetNews NNRP server INN 2.1 24-Jul-1998 ready (posting ok).
% or
% 200 penguin InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready (posting ok).
%
% - When doing so on the server on which INN works, I get :
% 200 ter1-167 InterNetNews server INN 2.1 24-Jul-1998 ready  
% without the (posting oK)

Please note the missing "NNRP" -- in the last case, you're connected
to innd (that is, like a news peer; you can't POST there (unsupported
command), maybe you may after a MODE READER (which would connect you
to nnrpd), though), not nnrpd.

%   What is strange to me, is that the mode (posting Ok or not) depend on
% the way I call telnet :
% On one of my computer, if I do :
% telnet server_name  119        I don't get Posting Ok
% telnet localhost 119           I don't get Posting Ok.
% telnet my_ip_address 119       I get Posting Ok.
% 
%  Does it depend on incoming.conf ?
% (I can't find great differences between my configuration files)

Telnetting to "localhost" usually makes the connection to 127.0.0.1
coming from 127.0.0.1, which makes this connection a little special;
are you running your innd on IN_ADDR_ANY? Which server is inews try-
ing to connect?
			kai

Re: inews on INN 2.x
#41372
Author: Etienne Gauthier
Date: Mon, 08 Nov 1999 00:00
60 lines
2995 bytes
Thanks Russ,

  but ...

Russ Allbery wrote:
> 
> Etienne Gauthier <egauthie@capgemini.fr.nospam.nospam> writes:
> 
> > - Test INN 2.2 installation. No authentification. INN has been installed
> > in the directory /opt/inn, which is also the home for the news user.
> 
> > - Production INN 2.1 server : Authentification. INN has been installed
> > in /galaxy/SPOOL/news, which is also the home for the user news.
> 
> > On both cases, I get the message : Warning Can't connect to server --
> > Article will be spooled.
> 
> inews is unable to connect to the local domain socket or to the server,
> whichever it happens to be trying.  Check that ~news/run exists, is
> readable and writeable by the news user and the news group, and that innd
> has its local socket in there.  Make sure that you don't have

   ~news/run exists. ls -l on ~news is (for run) :
drwxrwx---   2 news     news        1024 Nov  8 11:02 run

I get two sockets :
 Linux (inews doesn't work here) :
srwxrwxr-x   1 news     news            0 nov  8 10:08 control
srwxrwxr-x   1 news     news            0 nov  8 10:08 nntpin

  On Solaris (inews also doesn't work here) :
p---------   1 news     news           0 Oct 30 18:03 control
p---------   1 news     news           0 Oct 30 18:03 nntpin

  I perhaps should do a chmod here ?
(But I'd like to be sure, as this is our production server, and
everything else is Ok).


> nnrpdposthost set to something that's incorrect.  Make sure that localhost
> has permissions to connect to the server.

  On the two INN installations where inews doesn't connect to the
server, 'telnet localhost 119' works Ok

In my three news servers (two doesn't work, one works Ok), my
nnrpdposthost is empty. 

  How can I be sure the inews is not dependent from the place where INN
has been installed ? (as this seems to me to be the main common point
between my two non-working news servers)
..
  To test this, I've created a link /use/local/news to my inn
installation directory (/opt/inn). But it doesn't work better. I really
don't have more ideas...

Regards
Etienne

Re: inews on INN2.x
#41376
Author: Etienne Gauthier
Date: Mon, 08 Nov 1999 00:00
20 lines
1323 bytes
Sorry to post another message,

> nnrpdposthost set to something that's incorrect.  Make sure that localhost
> has permissions to connect to the server.

  I've forgot to precise this : I've copy/paste the content of the
nnrp.access file from my 'working Ok' news server to the INN 2.2 server,
but it doesn't work better ...

And incoming.conf has, in both cases these lines :

peer ME {
  hostname:         "localhost, 127.0.0.1"
}


Etienne

Re: inews on INN2.x
#41401
Author: Etienne Gauthier
Date: Tue, 09 Nov 1999 00:00
54 lines
2875 bytes
Kai 'wusel' Siering wrote:
> 
> Etienne Gauthier <egauthie@capgemini.fr.nospam.nospam> wrote:
> 
> % Another common poin between the two servers on which inews doesn't seem
> % to work :
> %
> % - when doing telnet server_name 119 (where sever_name is taken from
> % inn.conf), I get this message :
> % 200 Galaxy InterNetNews NNRP server INN 2.1 24-Jul-1998 ready (posting ok).
> % or
> % 200 penguin InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready (posting ok).
> %
> % - When doing so on the server on which INN works, I get :
> % 200 ter1-167 InterNetNews server INN 2.1 24-Jul-1998 ready
> % without the (posting oK)
> 
> Please note the missing "NNRP" -- in the last case, you're connected
> to innd (that is, like a news peer; you can't POST there (unsupported
> command), maybe you may after a MODE READER (which would connect you
> to nnrpd), though), not nnrpd.

  You're right. 
Now (from a Russ's message), it seems that inews try to connect to the
news server using the local socket. So, the differences I see on telnet
may be of low interest for me.


> 
> %   What is strange to me, is that the mode (posting Ok or not) depend on
> % the way I call telnet :
> % On one of my computer, if I do :
> % telnet server_name  119        I don't get Posting Ok
> % telnet localhost 119           I don't get Posting Ok.
> % telnet my_ip_address 119       I get Posting Ok.
> %
> %  Does it depend on incoming.conf ?
> % (I can't find great differences between my configuration files)
> 
> Telnetting to "localhost" usually makes the connection to 127.0.0.1
> coming from 127.0.0.1, which makes this connection a little special;
> are you running your innd on IN_ADDR_ANY? Which server is inews try-
> ing to connect?


  All my testes are a telnet from the computer I try to connect on :
1) Standard telnet on the news account of the news server.
2) Telnet port=119 on the news server.


Regards
Etienne

Re: inews on INN 2.x (a workaround)
#41410
Author: Etienne Gauthier
Date: Tue, 09 Nov 1999 00:00
16 lines
1262 bytes
Hi,

  I still have no success with inews.

  But, after reading a lot of man pages, I've discovered the fabulous
'rnews -U'. Now all messages (previously unsuccessfully send with inews)
are sent OK.
  So, it's running the best way ... But it's running Ok.

(but I don't understand why inews doesn't work on some computers,
although rnews works Ok on all...)

Etienne

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