Hi Managers,
This was my original post:
> Mail/INN server: Solaris 2.5.1
> Client : Solaris 2.5
>
> 'telnet server smtp' works but
>
> 'telnet server nntp' says:
> Trying a.b.c.d...
> Connected to server.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> smtp port is 25, nntp is 119
>
> Both are in /etc/service on the server:
> smtp 25/tcp mail
> nntp 119/tcp usenet # Network News Transfer
>
> So why is it failing?
I've not been able to resolve my problem, but I'm including all the
suggestions sent to me.
---------------------------------------------------------------------------
This only means inetd is running. Nothing more than this.
Things to check:
- Check error log.
- Check newslog (/var/inn/newslog).
- Is there a nntp server in the system? Is it up and running?
- Is nntp daemon enabled in /etc/inetd.conf?
- Is tcp wrapper blocking out the nntp connections? Is localhost in
/etc/hosts.allow file? Check wrapper-logs.
- Is machine listed in nnrp.access? Correctly? Check error logs for an
unauthorized connection attempt from client machine. Look even if you think
it is supposed to be authorized. The authorization files are very sensitive
to trailing empty spaces on the authorization lines, which will cause the
access authorization to fail.
- It is connecting to the port but shutting it very quickly. Is it being timed
out?
---------------------------------------------------------------------------
The news server is dropping the connection.
---------------------------------------------------------------------------
INN doesn't behave in this way -- it usually prints out an error message,
so I would check to see that your innd server is able to run the in.nnrpd news
reader server, and that things are generally correctly configured (eg there is
no nntp entry in your inetd.conf, and so forth).
---------------------------------------------------------------------------
You may want to check to see if innd is accepting connections if you run
the ctlinnd mode command you should see something like this:
$ ctlinnd mode
Server running
---------------------------------------------------------------------------
Something is listening on port 119 or your would be getting a "connection
refused". Check that the path name of the programs are (nnrpd in this case)
is correct and that the perms allow the news user to run them. You might need
to do a "strings" on your innd program to seef it has the path to in.nnrpd
right.
If you had denied that system access via INN (nnrp.access) you'd get:
502 You have no permission to talk. Goodbye.
---------------------------------------------------------------------------
Thanks to:
From: Arthur Hyun <arthur@support.psi.com>
From: "Paquette, Trevor" <TrevorPaquette@mcc.net>
From: Brian Wells <brian@www.klondyke.net>
From: Craig Raskin <raskin@asiaonline.net.tw>
From: Marcos Assis Silva <assis@npd.uel.br>
From: "Karl E. Vogel" <vogelke@c17mis.region2.wpafb.af.mil>
From: Glenn Satchell - Uniq Professional Services <Glenn.Satchell@uniq.com.au>
From: "Matthew Stier" <mstier@hotmail.com>
From: rali@meitca.com (Reto Lichtensteiger)
From: Jayesh N Jha <Jayesh.N.Jha@cdc.com>
From: Hrushikesh Kumar <rushi@MIL.EMC.COM>
From: fpardo@tisny.com (Frank Pardo)
From: "Marc G. Fournier" <scrappy@hub.org>
From: crowner@oar.net (Fred Crowner)
From: Joel Lee <jlee@thomas.com>
From: Dan Simoes <dans@ans.net>
From: Paul Hubbard <paul@bengal.cc.oxy.edu>
From: A Space Oditty <ziggy@trends.ca>
From: Tim Carlson <tim@santafe.edu>
Rasana
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Rasana Atreya Voice: (415) 476-3623 ~
~ System Administrator Fax: (415) 476-4653 ~
~ Library & Ctr for Knowledge Mgmt, Univ. of California at San Francisco ~
~ 530 Parnassus Ave, Box 0840, San Francisco, CA 94143-0840 ~
~ atreya@library.ucsf.edu ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:56 CDT