- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remshd and rcp work intermittently
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
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
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
тАО04-11-2011 08:41 AM
тАО04-11-2011 08:41 AM
remshd and rcp work intermittently
I am hoping that someone can help with an oddity on one of our systems. The system is running HP-UX B.11.23 and we have had a script that synchronises files with another system running the same OS. Recently the rcp and remsh commands that we run overnight as a cron job have been failing. Unfortunately we are not sure how long this has been failing for.
An example of the issue is as follows ...
# remsh es-serv2 hostname
remshd: Login incorrect.
# remsh es-serv2 hostname
remshd: Couldn't look up address for your host
# remsh es-serv2 hostname
es-serv2
# remsh es-serv2 hostname
remshd: Login incorrect.
# remsh es-serv2 hostname
remshd: Login incorrect.
# remsh es-serv2 hostname
remshd: Couldn't look up address for your host
# remsh es-serv2 hostname
es-serv2
#
As you can see the remsh has worked 2 times out of seven. The name resolution is done through the hosts file and a .rhosts file is in place. This has worked for years without issue.
The only changes that we have made to our system is that we have added some iSCSI targets and to facilitate this have installed the iSCSI initiator along with 2 NICS and APA software to bond the NICs together.
This problem doesn't seem to manifest itself on the second system... Yet
Can anyone please help with this
Regards
Mac....
P.S Apologies if this is posted in the wrong place or formatted incorrectly but this is the first time I have posted anything on a forum as always been able to Google an answer!
- Tags:
- remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2011 08:52 AM
тАО04-11-2011 08:52 AM
Re: remshd and rcp work intermittently
Please ask your network admins to put a sniffer on both ends of this connection and run the same scenario while they capture packets, before you start pulling your hair. The results can show you a very obvious error that you might be overlooking or may tell the network people that their switch ports are not configured properly.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2011 02:24 PM
тАО04-11-2011 02:24 PM
Re: remshd and rcp work intermittently
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 03:09 AM
тАО04-26-2011 03:09 AM
Re: remshd and rcp work intermittently
Mel, This was my initial thought but I ruled this out as I would have thought that if it was a network/routing issue that it would still managed to resolve the name through the hosts file. But having said that I have seen stranger things happen and I suppose the errors seen might be red-herrings so to speak. Will have a look-see at the network traffic as you suggest as see what the results are
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 12:42 AM
тАО05-16-2011 12:42 AM
Re: remshd and rcp work intermittently
Network checks didn't turn up anything. Had a thought and tried changing the script to use ssh instead of remsh and scp instead of rcp. Once I had set-up the security on the systems there weren't any errors. Can only assume they do there resolution differently. I know it doesn't solve the initial problem and would still like to know what it is but at least the scripts are running error free now.
Thanks to both yourself and Bill for your replies
Regards
Mac....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 12:46 AM
тАО05-16-2011 12:46 AM