Operating System - HP-UX
1752520 Members
4554 Online
108788 Solutions
New Discussion юеВ

Re: Inetd services (ftp, rlogin,swat) are not working.

 
SOLVED
Go to solution
senthil_kumar_2
Regular Advisor

Inetd services (ftp, rlogin,swat) are not working.

Hi All

In HPUX 11.31, inetd services like ftp, rlogin and swat is not working but telnet is working.


My /etc/inetd.conf

telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd

ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l

login stream tcp6 nowait root /usr/lbin/rlogind rlogind
shell stream tcp6 nowait root /usr/lbin/remshd remshd
exec stream tcp6 nowait root /usr/lbin/rexecd rexecd

swat stream tcp nowait.400 root /opt/samba/bin/swat swat


I am not use telnet but not able to use others.

I restarted inetd like below

step1:

#/sbin/init.d/inetd stop
#/sbin/init.d/inetd start


step2:

#inetd -c


even after all this, i am not able to use ftp, rlogin and swat.

How to solve this.
12 REPLIES 12
Patrick Wallek
Honored Contributor

Re: Inetd services (ftp, rlogin,swat) are not working.

What exactly is happening? What happens when you try to ftp to this server? What error(s) do you get?

Actual errors that occur would be VERY HELPFUL in trying to troubleshoot this.
SUDHAKAR_18
Trusted Contributor

Re: Inetd services (ftp, rlogin,swat) are not working.

can you check /etc/services.

is bastille run over system ?
Season Chu
Advisor

Re: Inetd services (ftp, rlogin,swat) are not working.

Pls paste the following errers information when you try to use the ftp and rlogin.

Like what Patrick said,the following errors information is very important for you.
senthil_kumar_2
Regular Advisor

Re: Inetd services (ftp, rlogin,swat) are not working.

For rlogin:

Network error connection refused.


For ftp:

No connection could be made because the target machine actively refused it.
Connection failed.
SUDHAKAR_18
Trusted Contributor
Solution

Re: Inetd services (ftp, rlogin,swat) are not working.

Will you be able to ping from PC to server & server to PC ?

can you check for default route entries?
senthil_kumar_2
Regular Advisor

Re: Inetd services (ftp, rlogin,swat) are not working.

Hi SUDHAKAR

Yes you are correct.
Steven Schweda
Honored Contributor

Re: Inetd services (ftp, rlogin,swat) are not working.

As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions ("i am not able to use") and
interpretations.

Is the HP-UX system the server here? What is
the client system? How much network
equipment lies between the client and the
server?

Can you do, say, FTP from the HP-UX system to
itself? rlogin?
F Verschuren
Esteemed Contributor

Re: Inetd services (ftp, rlogin,swat) are not working.

do you have tcp6 running? if not please remove this wordt form the configuration?
if this works is depening on you os type
please post a uname -r whit your questions that can help a lot in the correct and quick solutions.
Viveki
Trusted Contributor

Re: Inetd services (ftp, rlogin,swat) are not working.

One cause for display of this generic error message could be due to the absence of an entry for login in /etc/inetd.conf on the remote system. This entry may have been removed or commented out to prevent non-secure access