HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
F Verschuren
Esteemed Contributor

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

change the lines in:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -v

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

run inet -c
check if inetd is running
ps telnet can be working du to a telnetd deamon outside inetd.
check your syslog.conf on erors from the inetd -c
senthil_kumar_2
Regular Advisor

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

It has been resolved, hence i am closing this.
Steven Schweda
Honored Contributor

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

> It has been resolved, hence i am closing
> this.

When someone does a Forum search and finds
this thread, what will he learn from that?