- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rcmd: Lost Connection
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 01:57 AM
11-26-2007 01:57 AM
rcmd: Lost Connection
I am trying to connect HP server remotly by rlogin command but i am getting error "rcmd : Lost Connection".
I found that deamon "rlogind" is not started. I tried to restart "inetd" deamong but "rlogind" deamon not started even i didn't found any error in any log. I found the following two entry in inetd.conf file.
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
Even the file hosts.equiv and .rhost file is existing in /etc dir.
Can you guys guide me what other i need to check in order to start rlogined deamon.
Thanks
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 02:03 AM
11-26-2007 02:03 AM
Re: rcmd: Lost Connection
Any firewalls inbetween both servers?
Usually inetd services are spawned at the time of connection. You shouldn't have an rlogind deamon until you have a connection established.
Which version of hpux is this?
Just wondering, my login is a little different:
login stream tcp6 nowait root /usr/lbin/rlogind rlogind
But I don't think thats much of an issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 03:34 AM
11-26-2007 03:34 AM
Re: rcmd: Lost Connection
Check the contents of /etc/hosts.equiv and
$HOME/.rhosts , does it have the hostname and id of the user ...
hostA root
so hostA should be the host from where you are running the rlogin command and hostnames should be properly resolvable from both the hosts.
Regards,
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 07:48 AM
11-26-2007 07:48 AM
Re: rcmd: Lost Connection
Try chaning the entries to this... and let me know the result.
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
Restart inetd #inetd -c
Best Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 07:55 AM
11-26-2007 07:55 AM
Re: rcmd: Lost Connection
both server resolve their ip's and names correctly ?
dould you rlogin by using ip address ?
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 03:44 PM
11-26-2007 03:44 PM
Re: rcmd: Lost Connection
try using ssh also.
again restart inetd and then rlogin !!!
see if some errors are there while restrting daemons.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 04:15 AM
11-29-2007 04:15 AM
Re: rcmd: Lost Connection
You might need to kill first and then restart the services.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 09:57 AM
11-29-2007 09:57 AM
Re: rcmd: Lost Connection
Something like this, if inetd.conf is configured right ( like it is ), may be security related. Are there any rlogin line(s) in /var/adm/inetd.sec ( this file controls IP sevuriity to the services run under inetd ). If there are no entries or ones that contain deny statements then...
Do you use any other security products on this host ?
Telnet or ssh will only prove connectivity exists and that those services are functioning. Not rlogin or other services.
I am also assume the rlogind entry you show from inetd.conf is the only entry in that file for rlogin ? ( once again, remshd is not rlogin and does not apply ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 07:26 AM
12-04-2007 07:26 AM
Re: rcmd: Lost Connection
Thank you very much for your help.
Because of security enable for that userid. User was not able to rlogin remotely.
Thanks
Manish