Operating System - HP-UX
1756328 Members
3399 Online
108846 Solutions
New Discussion юеВ

Re: rcmd-a lost connection

 
madhudeepan
Frequent Advisor

rcmd-a lost connection

wen i try to login using ssh through putty am unable to login wen i try rlogin from another server am getting the error rcmd-a lost connection
11 REPLIES 11
SoorajCleris
Honored Contributor

Re: rcmd-a lost connection

Hi,

"rcmd: Lost connection" means the remote hosts did not accept socket request


Did you check with telnet / rlogin?

Check the security/ and restrictions enables for the host and user.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
madhudeepan
Frequent Advisor

Re: rcmd-a lost connection

how to Check the security/ and restrictions enables for the host and user?
Suraj E.M
Occasional Advisor

Re: rcmd-a lost connection

Hi,

1. Comment the following lines in /etc/inetd.conf

shell stream tcp nowait root /usr/sbin/tcpd in.rshd
login stream tcp nowait root /usr/sbin/tcpd in.rlogind

2. Reconfigure inetd as,
# inetd -c

(from old threads)

thanks,
Sooraj.
madhudeepan
Frequent Advisor

Re: rcmd-a lost connection

i cannot login into the server through ssh, the rcmd error occurs
SoorajCleris
Honored Contributor

Re: rcmd-a lost connection

Hi,

I understand! Are you able to do telnet to the system ( just for checking)?

Is that other ssh anything else is desabled?

regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
madhudeepan
Frequent Advisor

Re: rcmd-a lost connection

no telnet is not working
i have taken console wen i execute any other commands the command is not executing
ksh cannot fork too many processes

var system is full, will the var be full?
SoorajCleris
Honored Contributor

Re: rcmd-a lost connection

Hi,

please paste #bdf output.

If it is full.

Then you need to check for making enough space in the sytem.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: rcmd-a lost connection

Hi,

If the var is full just check this recent thread,

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1360695

Goodluck!!

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
madhudeepan
Frequent Advisor

Re: rcmd-a lost connection

wen i execute any other commands the command is not executing it is not working