On Sunday 29 April 2001 01:53, you babbled something about:
> Hi  Mike. And thanks again for that thought on running 'service xinetd
> restart"..
>
> I didn't know about that one but ran it and tried to telnet in again with
> no luck.
>
> Just so I can have someone else see what I did - Here is what my
> /etc/xinetd.d/telnet2 file looks like:
>
> ------------
> [root@mach3 xinetd.d]# more telnet2
> # default: on
> # description: The telnet server serves telnet sessions; it uses \
> #       unencrypted username/password pairs for authentication.
> service telnet
              ^^^^^
Could       this  be your problem? It looks to me that you are telling xinetd 
to load the same service twice, not check for what is on telnet2. Try making 
that say telnet2.

You may also want to try...

Check your output from netstat -a and see if it is listening. If you don't 
see either "*:24" or "*:telnet2" then it is definatly not loading into 
xinetd. 

You should also check your log files to see if there is anything useful in 
there.

You may also want to check your tcpwrappers to make sure there is nothing 
preventing use of the loopback device except for designated ports.

> {
>         disable = no
>         flags           = REUSE
>         socket_type     = stream
>         wait            = no
>         user            = root
>         server          = /usr/sbin/in.telnetd
>         log_on_failure  += USERID
> }
> ------------------
>
> And here is what the entries in my /etc/services file looks like:
>
> telnet2               24/tcp          # - private mail system
> telnet2               24/udp          # - private mail system
>
>
> So - the spelling errors are fixed  'service xinetd reload' has been run
> and this is what I see when I try and telnet into port 24:
>
> # telnet mach3 24
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
>
>
> No luck on the ranch..
>
>
> ---------------------------------------------
>
> On Sunday 29 April 2001 12:32 pm, you wrote:
> > Did you remember to "service xinetd reload" or "service xientd restart"?
> >
> > On Sun, 29 Apr 2001, Ted Gervais wrote:
> > > Just tried to set up port 24 on telnet and I get -
> > >
> > > "telnet: Unable to connect to remote host: Connection refused"
> > >
> > > What I did was to copy /etc/xinetd.d/telnet  to telnet2 and add it to
> > > /etc/services file:
> > >
> > > telent2           24/tcp          # - private mail system
> > > telnet2           24/udp          # - private mail system
> > >
> > > Did I forget a place to put it , or am I totally on the wrong track??
> > >
> > > Of course I ran chkconfig --add telnet2, and chkconfig --level 2345
> > > telnet2 on.
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Brian Ashe                                                   CTO
Dee-Web Software Services, LLC.                  [EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to