1834368 Members
2101 Online
110066 Solutions
New Discussion

rcp errors

 
Emma_8
Frequent Advisor

rcp errors

I am having problems remote copying a file from one box to another and vice versa. I am trying to rcp files from an N4000 to an A500. This has worked upto recently and I really don't know what has changed. I get the following error when attempting the rcp in either direction:

"rcp: protocol screwup: modified access time not delimited"

Rlogin access in both directions is fine. The inetd.conf, .cshrc and .rhosts files seem fine and have not been recently modified.

Any suggestions/help appreciated.

Thanks in advance
Emma
10 REPLIES 10
Mark Grant
Honored Contributor

Re: rcp errors

This usually means that the protocol stream is being corrupted. Have a look in the ".profile" of the user you are rcping at and see if there is any reading from standard input in it.

If it's not too clear, then you can prove me wrong by trying this but temporarily moving the users .profile before hand.
Never preceed any demonstration with anything more predictive than "watch this"
Emma_8
Frequent Advisor

Re: rcp errors

Hi Mark

Thanks for your response.

Checked the .profile and nothing to stdout. I also moved out the .profile and attempted an rcp and same error again :(

Any other suggestions ?

Cheers
Emma
Mark Grant
Honored Contributor

Re: rcp errors

Just in case, are you using the "csh" ?

If so, check out the .cshrc file for the same kind of things.
Never preceed any demonstration with anything more predictive than "watch this"
Emma_8
Frequent Advisor

Re: rcp errors

Yeah I'm using csh and I'd already checked .cshrc for this and still no joy.
Mark Grant
Honored Contributor

Re: rcp errors

Can't think of anything else myself. I have found this page though that suggests that several things can be the cause. Have a look and search for "screwup"

http://www.svots.edu/TechSupport/Manuals/hds-help/6-4-3-1.html
Never preceed any demonstration with anything more predictive than "watch this"
Emma_8
Frequent Advisor

Re: rcp errors

Thanks, shall take a look and see if I can find anything there that helps
RAC_1
Honored Contributor

Re: rcp errors

Wild guess.

Is the time staps on the files that you rcping OK??

Is your TZ OK and on remote srevers??

Anil
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: rcp errors

Hi Emma,

Try this link,

http://www2.itrc.hp.com/service/cki/search.do?category=c0&mode=text&searchString=modified+access+time+not+delimited&searchCrit=exactphrase&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&search.x=10&search.y=13

The itrc doc id is 4000062381.

The doc talks about rcp getting confused because one of the files being rcped is older than 1 Jan 1970 and it is unable to interpret that.

Hope this helps.

Regds
Emma_8
Frequent Advisor

Re: rcp errors

These are all recent files and their permissions are fine. I have even tried creating a file on the remote host and rcp'ing that but not joy.
Bill Hassell
Honored Contributor

Re: rcp errors

Are you keeping current on patches? Try the rcp command to the remote system where the remote user has /usr/bin/sh as the shell (hint: use chsh on the remote system). Another possibility is that you have garbage characters imbedded in some of the filenames that you are copying. Here are some other possibilities:

http://www.ugu.com/sui/ugu/show?bbs_unix.3922
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=74101


Bill Hassell, sysadmin