Re: rcp (Redhat 8) fails with "Address already in use"



Davlet Panech <dp1978x_lists@xxxxxxxx> writes:

Unruh wrote:
Davlet Panech <dp1978x_lists@xxxxxxxx> writes:

Unruh wrote:
Like I said I have no access to the machine where that happens. I'd have

So change the location on the local machine where the stuff is stored.
You sais that you cannot tell because the local and remote file names are
the same. I said change them so they are not the same.

What in the world are you doing using rcp internationally? That comes close
to being criminally irresponsible these days. Use scp or some other secure
system.

I'm not using rcp internationally. A remote site in another country has
a private LAN with software that uses rcp on computers on *that* LAN, to
which I have no access. I have a similarly (apparently, not similar
enough though) configured network here at work, but I can't reproduce
this problem. I mean I tried, but it works fine here, no errors,
nothing. The only trace of the problem are log files I got from the
customer + source code.

Yes I know this is a pretty ridiculous way of doing this kind of tech
support, rcp probably shouldn't have been used in the first place, tech
support should have been given some sort of remote access to the
customer's site, blah-blah-blah, but the way things are done here is
*not* up to me; I do what I have to.

Ah, OK.

I would still advise the customer to switch to scp and ssh, rather than
rcp.

Does the problem only happen during running of that script/wrapper, or from the
command line as well?
It sounds to me like somehow the command is misinterpreting something as
the remote host.

I guess this procedure has the advantage that it multiplies the support
costs by a factor of 10 or 100 as you have to spend more time figuring out
what is going on. (Or did you enter into a fixed price contract.)

You might also have them run an strace on the program to see what is
actually being handed off in the exec call.



D.
.



Relevant Pages

  • Re: remote copy issues
    ... Subject: remote copy issues ... Example if the shell is not listed in the /etc/security/login.cfg file then, if you try to set that shell as the login ... It would seem me changing a userid from ksh to bash via NIS has introduced some problems with rcp and scp capabilities of that user as it used to work.. ...
    (AIX-L)
  • Re: cloning Debian?
    ... > I find that it works OK for local image save/restore, but for remote ... Have you looked at rsync? ... fast remote file copy program (like rcp) ... file transfers when the destination file already exists. ...
    (Debian-User)
  • Behaviour when running a Process
    ... but rcp (Remote Copy) then ends with "RCP: Lost ... in case there was some garbage collector interference. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: cron job
    ... Is it possible to create a cron job which performs ftp to a remote ... rcp and scp are better for transferring files. ...
    (comp.unix.shell)