1825797 Members
2705 Online
109687 Solutions
New Discussion

RCMD:Lost Connection

 
User_10
Occasional Advisor

RCMD:Lost Connection

Hi
When i trying to do a rlogin to my hpux workstation i am receiving this error message rcmd:lost connection.I have checked the .rhosts file and made the entries.still i face this issue.i am able to telnet this system.

Thanks in advance
4 REPLIES 4
RAC_1
Honored Contributor

Re: RCMD:Lost Connection

what does, syslog.log on remote server says??
what are perms on .rhosts file??
Are you doing this as root??

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: RCMD:Lost Connection

Check /etc/host.equiv for statements blocking the connection.

If you have ipfilters check that configuration.

Check /var/adm/syslog/syslog.log as you try and connect and note and act on errors.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: RCMD:Lost Connection

Hi,

If you are seeing 'Lost connection' message, then most likely r-services are not being allowed to|on the hpux workstation. Check the following.

1. Make sure there are no firewalls between the client and the hpux workstation.
2. Make sure hpux workstation doesn't restrict access to r-services through it's /var/adm/inetd.sec file.
3. Make sure r-services (login,exec and shell) are not disabled in /etc/inetd.conf and /etc/services files.

If .rhosts is wrong, rlogin should prompt you for a password.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
User_10
Occasional Advisor

Re: RCMD:Lost Connection

Hi

Thanks for the reply.the rlogin services has not started.the inetd.conf entries are not proper.corrected the entries.
working fine