- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rcp returning to parent shell
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
07-10-2003 09:16 AM
07-10-2003 09:16 AM
I've been chasing this problem for quite awhile and was wondering if anyone has seen it before. I've set up a number of these and never had this happen before. Also, I've ruled out the application part of it by hacking out just what I need. Here is the situation.
I have a pair of 4 CPU L2000 11.0 servers - one active and one standby. In order to get a copy of the database from the active, the standby issues a remote shell command to unload the database table. This works without incident.
The problem is with the rcp. The standby server is doing an rcp to get the unloaded file from the active machine. This works for small files, but the problem is with the large files I have, meaning those that are 25 MB or greater.
What I've found is that the file transfer completes, as I can get 25 MB across in about a minute or two. However, for the larger files, the rcp process doesn't return to the parent shell. The rcp is invoked and the file comes across. But when the transfer
is complete, it is as though the rcp doesn't terminate. After about two hours (I assume an rcp timeout), activity picks up and the parent
process continues.
There was nothing in the sniffer trace to show anything unusual. I set up another pair of nearly identically equipped servers in the
same timeframe with the same configuration and they don't act the same way.
If anyone has seen a similar problem, I'd be grateful for any insights you might have. Also, if anyone knows hot to debug what is going on, I'd like to know that too.
Thanks and best regards,
Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:20 AM
07-10-2003 09:20 AM
SolutionSince your other pair of servers don't exhibit this problem, I'm tempted to look at patching differences. Searching for 11.0 rcp patches, I come up with PHKL_22677 and PHNE_23003 and PHNE_21767, along with a few others. Are you up to date on patches?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:51 AM
07-10-2003 09:51 AM
Re: rcp returning to parent shell
UNIX95= ps -efH|head -1; UNIX95= ps -efH|egrep "inetd|rpc|mount"|grep -v grep; rpcinfo -p|egrep "service|nfs"; showmount -e; mount -p
and check the output. The ps listing should looks similar to this:
UID PID PPID C STIME TTY TIME CMD
root 811 0 0 Dec 13 ? 00:00 nfskd
root 907 1 0 Dec 13 ? 00:02 /usr/lib/netsvc/fs/automount/automount -f /etc/auto_master
root 1404 1 0 Dec 13 ? 02:11 /opt/dce/sbin/rpcd
root 806 1 0 Dec 13 ? 00:00 /usr/sbin/rpcbind
root 896 1 0 Dec 13 ? 00:00 /usr/sbin/rpc.lockd
root 890 1 0 Dec 13 ? 00:00 /usr/sbin/rpc.statd
root 1845 1 0 Dec 13 ? 00:00 /usr/sbin/rpc.mountd
root 1856 1 0 Dec 13 ? 00:24 /usr/sbin/inetd
Note that the lockd and statd processes need to be started together. If one is missing or has a considerably different date, then rpc is going to behave wierdly.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 12:20 PM
07-10-2003 12:20 PM
Re: rcp returning to parent shell
I'll need to look some more, but is it possible that if they're using different LAN interfaces, that there might be a bug or a leak in one of the drivers?
Just a thought.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 12:42 PM
07-10-2003 12:42 PM
Re: rcp returning to parent shell
OK, then what about network issues? Are the NIC and switch set to the same speed/duplex combo. HP doesn't seem to do well with 100MB/Auto-negotiate and the standard recommendation is to hard code both the switch port and the NIC to 100FD (full duplex).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 12:47 PM
07-10-2003 12:47 PM
Re: rcp returning to parent shell
Sorry, forgot to add: use lanadmin to check the speed of the NIC. It's "lanadmin -x 0" where 0 is the PPA of your NIC, obtained from lanscan (but check the man page as I'm home and doing this from memory and I can't recall whether it's a capital X or a lower case x - one queries the other one sets).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 02:02 PM
07-10-2003 02:02 PM
Re: rcp returning to parent shell
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 02:10 PM
07-15-2003 02:10 PM
Re: rcp returning to parent shell
Thanks for the suggestions. I'll keep looking to see if anyone has anything new.
Jim