- 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
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
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
тАО12-22-2005 06:07 PM
тАО12-22-2005 06:07 PM
rcmd: Lost connection
I'm new in HP-UX, I want to RCP a file to another server but was eventually failed and "rcmd: Lost connection" appears. i have check my .rhosts and /etc/hosts, as well as the inetd.conf ... rlogin and remsh is allowed... everything seems to be working fine...
Anything i have miss out? Thank you
Regards,
Yun Loong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 06:19 PM
тАО12-22-2005 06:19 PM
Re: rcmd: Lost connection
accept socket request. How many remsh/rlogins commands you run on this host??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 06:27 PM
тАО12-22-2005 06:27 PM
Re: rcmd: Lost connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 06:46 PM
тАО12-22-2005 06:46 PM
Re: rcmd: Lost connection
have expected something like;
'Permission denied'
The fact you are getting lost connection,
appears to be at socket level.
Lost connection
The program attempted to read from the socket and failed. This means the socket connection with the remote host was lost.
Check if ou don't have a file system full
by any chance ? or some other network or system constraint at the moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 06:53 PM
тАО12-22-2005 06:53 PM
Re: rcmd: Lost connection
Check /var/adm/syslog/syslog.log for any messages related to rcp.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 06:59 PM
тАО12-22-2005 06:59 PM
Re: rcmd: Lost connection
Is there any message in syslog.log file? What is there in /var/adm/inetd.sec file with r* commands related?
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 07:04 PM
тАО12-22-2005 07:04 PM
Re: rcmd: Lost connection
Thanks for the fast response. i can see that it was the socket problem even before i post this message but what should i do. everything seems to go correctly even for the remote side.
No full filesystem, no network or system constraint, the script was correct, and still the error message come out.
RAC: is it inetd.conf to check for how many remsh and rlogin? if yes, then there only show
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
Thanks again...
Yun Loong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 07:21 PM
тАО12-22-2005 07:21 PM
Re: rcmd: Lost connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 08:08 PM
тАО12-22-2005 08:08 PM
Re: rcmd: Lost connection
Arunvijai: FYI, there's nothing related to rcp in the syslog.
Muthu: the rever manner works fine from the other side.. but still 1st server cannot rcp to the other one.
the inetd.sec has nothing with r* command. just normal ftp, login, shell and stuff. by the way, i also check whether both server set each IPs.
RAC: i dun think there are many "r" command running if my checking steps is correct.
Anyway... thanks guys... hope the problem can be solve very soon... i'm trying my best..
Regards,
Yun Loong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 08:26 PM
тАО12-22-2005 08:26 PM
Re: rcmd: Lost connection
ps -ef|egrep -i 'remsh|rlogin|rexec|rsh'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 08:27 PM
тАО12-22-2005 08:27 PM
Re: rcmd: Lost connection
Are both Server A and Server B belong to HP-UX ? Just a thought i should check. Also, reading this thread could be helpful.
http://gridengine.sunsource.net/issues/show_bug.cgi?id=1406
It says "This is a security feature of hpux's rlogind. The rlogind verify if the incoming
port is the same as the port for "login" in /etc/services."
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2005 08:41 PM
тАО12-22-2005 08:41 PM
Re: rcmd: Lost connection
netstat -an | grep -i 513
netstat -an | grep -i 514
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2005 04:13 AM
тАО12-23-2005 04:13 AM
Re: rcmd: Lost connection
Since the local host is using secure environment ( Kerberos )for "remshd", the authentication at the remote host should be done using same environment.
On remote host check for "inetd.conf" file for 'remshd" entry and /etc/services.
I believe the remote host authentication is being failed causing rcmd: Lost connection" error.