On Sunday 29 April 2001 05:05 pm, you wrote:
> 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?
Yup! That is the problem. I looked again at that file and couldn't see that.
But it is there and it is wrong. I changed 'service' to telnet2 and away it
went. I also checked things with netstat -a | grep telnet and it showed
both of them.
So - that is progress. Thanks very much for helping me see the trees in the
forest..
By the way - you must have know this would work as you were determined to
find the problem. I thank you for that.
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
--
Ted Gervais
Coldbrook, Nova Scotia Canada.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list