1822351 Members
4872 Online
109642 Solutions
New Discussion юеВ

rcp and ftp

 
sheevm
Regular Advisor

rcp and ftp

I am trying to use ftp and rcp to copy ine file FROM HOSTB which is about 2GB to hostA.

Iam executing rcp and ftp from hostA.
It creates a file on hostA but does not copy the data.

I can rlogin and telnet between the boxes without any problem. .rhosts files looks O.K on both the systems.

I also tried another host HOSTC. I could get the file from HOSTC to HOSTA without any problem.

Anyone has some answer? Thnak you.

be good and do good
9 REPLIES 9
harry d brown jr
Honored Contributor

Re: rcp and ftp


Is the file equal to or over 2GB? Do you have largefiles enabled on the filesystem receiving the file for HOSTA?

What OS release are you running? What is the latest patch bundle you have installed?

live free or die
harry
Live Free or Die
hpuxrox
Respected Contributor

Re: rcp and ftp

Harry is on the money with the large files stuff. I would also suggest spliting the file up if its over so many GBs.

man split

-Yates
sheevm
Regular Advisor

Re: rcp and ftp

We are running 11.0 on all the servers.

I tried small file also same problem.

Host A <------- HOST B fails

HOST B <---------HOST A fails

HOST A <--------HOST C works

HOST C <--------HOST B works

HOST B <--------HOST C works

Thanks
be good and do good
Helen French
Honored Contributor

Re: rcp and ftp

Hi Raji:

Check the /etc/hosts file and make sure that the hostnames are listed there. Check the /etc/hosts.equiv file. Compare these files with HOST C and check for any changes. Also check the $HOME/.rhosts files too.

Check the network name communication with these hosts.

HTH,
Shiju
Life is a promise, fulfill it!
harry d brown jr
Honored Contributor

Re: rcp and ftp


What rules do you have defined in /etc/fptaccess?

Also, what are the permissions on the directories between HOSTA and HOSTB?

Check the user name you are using. Have you had the same results using "root"?

Are you using 11/64bit or 32bit?

have you looked into ftp and rcp patches?

live free or die
harry
Live Free or Die
sheevm
Regular Advisor

Re: rcp and ftp

Thanks to all of you.

I tried everything nothing worked. HP has sent me doc which has got some steps to try I will do that.

Tahnks once again
be good and do good
jd-gt
Occasional Advisor

Re: rcp and ftp

Are there any system error messages generated while you are issueing the commands?
Ed Sampson
Frequent Advisor

Re: rcp and ftp

do a nslookup on hosta and hostb and verify
that the exact name matches what is in the .rhosts file of the host.equiv. You might try a nslookup with the ip and see if the reverse lookup returns the same name. If that works you may want to check the inetd.sec file for permissions.
Mary Ann Lipa
Valued Contributor

Re: rcp and ftp

Hi Raji,
can you do a remsh on both servers that fails rcp?

do you have the servers' own hostnames included in the $HOME/.rhosts file?

-dan
Which is worse, smoking or picking your nose in a public place?