- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rcp Problem - Apparrent InConsistency
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
05-25-2007 05:17 AM
05-25-2007 05:17 AM
When I run rcp (from a script)... on the server named "sherman" to the server named "emily"
$ rcp -r -p /u2/SOFTWARE emily:/u2/
I get the following errors...
rcp: can't set times on /u2//SOFTWARE/HOP.BP/HOP.R33: Not owner
rcp: can't set times on /u2//SOFTWARE/HOP.BP/SUB.HOP.MAIN.NOWS.R33: Not owner
rcp: /u2//SOFTWARE/HOP.BP/PACK.SLIP.EDIT.R1: Permission denied
rcp: protocol screwup: unexpected
rcp: lost connection
*---------------------------------------------
However, when I run
rcp -r -p /u2/METAL emily:/u2/
it works ok...
*---------------------------------------------
I am logging as "yogi" to do the rcp script.
On both servers, yogi is a member of the "users" group.
*---------------------------------------------
On sherman...
#pwd
/u2/METAL
#ll
-rw-rwxr-x 1 root users
# pwd
/u2/SOFTWARE/HOP.BP
-rwxrwxr-x 1 root users
*----------------------------------------------
On emily...
# pwd
/u2/METAL
#ll
-rwxrwxr-x 1 yogi users
# pwd
/u2/SOFTWARE/HOP.BP
#ll
-rwxrwxr-x 1 root users HOP.R33
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 05:34 AM
05-25-2007 05:34 AM
Re: rcp Problem - Apparrent InConsistency
I (manually) sync'd server times using the date command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 05:53 AM
05-25-2007 05:53 AM
Re: rcp Problem - Apparrent InConsistency
do an ls -la on each of the directories and the problem should be obvious.
Manually syncing the servers using the date command is a recipe for OS confusion. Setting clocks backwards can be very bad -- especially for databases and makefiles and utilities like rdist/rsync. Setup NTP instead although time is not your direct problem here.
The "rcp: protocol screwup" message can result from permission, environment, or path problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 06:21 AM
05-25-2007 06:21 AM
Re: rcp Problem - Apparrent InConsistency
2. The old emily server is only used for backing up in case sherman goes down. Thus, I cannot get too excited about manually tweaking daylight time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 06:48 AM
05-25-2007 06:48 AM
Re: rcp Problem - Apparrent InConsistency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 07:08 AM
05-25-2007 07:08 AM