Operating System - HP-UX
1835085 Members
3168 Online
110073 Solutions
New Discussion

rcp error - rresvprot: bind: Permission denied

 
David Hirschman
Advisor

rcp error - rresvprot: bind: Permission denied

When trying to use "rcp" I get the following "error: rresvport: bind: Permission denied".

Any clues?
Thanks in advance.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: rcp error - rresvprot: bind: Permission denied

Hi,

'Permission denied' implies some permission issues. Following are the permissions on my system.

-r-sr-xr-x 1 root bin 45056 Sep 9 2002 /usr/bin/rcp
-r-sr-xr-x 1 root bin 28672 Jul 2 2001 /usr/bin/remsh

Check to see if they are the same on your system.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: rcp error - rresvprot: bind: Permission denied

I'm guessing you are doing rcp by hostname.'

Try by the underlying IP address.

rcp hostname

to

rcp 192.168.0.40

For example, insert real ip address here.

Based on the message, I'd say there is an issue with the BIND DNS server pointed to in the /etc/resolv.conf file.

You should make sure that you can ping the top server in resolv.conf

Check for firewalls and networking issues between this server and the target server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjay_6
Honored Contributor

Re: rcp error - rresvprot: bind: Permission denied

Hi David,

Looks like a permission issue with /usr/bin/rcp.

it should have permission -r-sr-xr-x. If these are not the permission on rcp, set it using chmod,

chmod 4555 /usr/bin/rcp

Also the owner of this file should be root:bin

Hope this helps.

Regds