xinetd: no services are started by xinetd, telnet and ftp are not working. Redhat 8.0

xinetd: no services are started by xinetd, telnet and ftp are not working. Redhat 8.0

Post by Zade » Sun, 09 Mar 2003 23:53:34



Hi all,
I can't get telnet and ftp services to start on my Linux box. I had it
running on other boxes but not this one. Everything looked normal to
me, compared with other boxes I dealt with.
Below are snippets of my config files:

-----------------START OF CONFIGURATIONS AND LOGS-----------------

***FILE:
/etc/services
ftp             21/tcp
ftp             21/udp          fsp fspd
ssh             22/tcp                          # SSH Remote Login
Protocol
ssh             22/udp                          # SSH Remote Login
Protocol
telnet          23/tcp
telnet          23/udp

***FILE:
../xinetd.d/telnet
service telnet
{
        disable         = no
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID

Quote:}

***FILE:
/etc/xinetd.conf
defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST
        cps                     = 25 30

Quote:}

***Outputs of 'chkconfig --list' shows both ftp and telnet are on. (I
know this might be irrelevant)

***My firewall is off, has no rules and chains are ACCEPT. (This is
probably irrelevant too)

***When I run 'service xinetd restart' it restarts ok.
The log file /var/log/messages though shows 0 available services:
......
Mar  8 08:07:43 myHost xinetd: xinetd shutdown succeeded
Mar  8 08:07:43 myHost xinetd[15959]: xinetd Version 2.3.10 started
with no
options compiled in.
Mar  8 08:07:43 myHost xinetd[15959]: Started working: 0 available
services
Mar  8 08:07:46 myHost xinetd: xinetd startup succeeded
........

***Now when I run 'telnet localhost':
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

***I ran 'netstat -na' did a grep on 21 and 23 nothing cameback.

***Just a remark, ssh is working fine on the box, I could remotly
connect ot it.

-----------------END OF CONFIGURATIONS AND LOGS-----------------

I put as much information as I deemed necessary, Please someone help
me figuring this out. It drove me nuts for several weeks already.

Thanks,
Zade A.

 
 
 

xinetd: no services are started by xinetd, telnet and ftp are not working. Redhat 8.0

Post by Jerry Gardne » Mon, 10 Mar 2003 03:03:08



> ***FILE:
> /etc/xinetd.conf
> defaults
> {
>         instances               = 60
>         log_type                = SYSLOG authpriv
>         log_on_success          = HOST PID
>         log_on_failure          = HOST
>         cps                     = 25 30
> }

Do you have the following line in your /etc/xinetd.conf?

includedir /etc/xinetd.d

--
Jerry Gardner


 
 
 

xinetd: no services are started by xinetd, telnet and ftp are not working. Redhat 8.0

Post by Zade » Mon, 10 Mar 2003 15:16:51




> > ***FILE:
> > /etc/xinetd.conf
> > defaults
> > {
> >         instances               = 60
> >         log_type                = SYSLOG authpriv
> >         log_on_success          = HOST PID
> >         log_on_failure          = HOST
> >         cps                     = 25 30
> > }

> Do you have the following line in your /etc/xinetd.conf?

> includedir /etc/xinetd.d

Jerry,
I always looked at this file and made sure that this line is there.
But overlooked the fact that it is COMMENTED. silly of me, I
uncommented the line and it is working now. Thanks alot Jerry, u r a
life saver.

Regards,
Zade.

 
 
 

1. SWAT/Xinetd error...am I the only 1 :-) ???

Hi !

I've installed the following RPMs on my RedHat v7.0 :

samba-2.0.7-17 (SSL)
samba-client-2.0.7-17 (SSL)
samba-common-2.0.7-17 (SSL)
xinetd-2.1.8

I've configured my smb.conf file, my lmhosts file & my Samba server is
running well 'cause when I type the :

"smbclient -U% -L localhost" command I get no error messages. I would now
like to create & manage shares through SWAT but I'm unable to make it work.
The Xinetd service runs automatically but everytime I try to connect through
Netscape (http://localhost:901) I get the "access denied" answer (even when
logged as Root).
I've checked the /etc/services file and there is the entry for the listening
SWAT Port...

Does anybody have an idea ???

Thank you very much in advance for your help,
Did

2. X server resolution - how to set to 100x100 dpi?

3. xinetd and strang addr in 'who am i'

4. SparcBook FAQ v1.6

5. rh 7.1 xinetd wont start services SOLVED!

6. Does WP8 demo actually work?

7. rh 7.1 xinetd wont start services

8. Q: booting Linux from SCSI drive with more than 63 sectores and 1024 cylinders ?

9. Xinetd redirect in RedHat 8.0

10. ftp httpd telnet daemons without xinetd

11. Disable telnet in Redhat 7.0 (xinetd)

12. problem of starting a ftp service in redhat 8.0

13. Getting telnet to work with xinetd