1827858 Members
1716 Online
109969 Solutions
New Discussion

RCP on RHAS 2.1

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

RCP on RHAS 2.1

I issued the following command:

[root@RAC1 root]# chkconfig rcp on
error reading information on service rcp: No such file or directory

What must I do in order to activate the RCP service?
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: RCP on RHAS 2.1

First you need to install it.

Its on one of the install cd's under legacy servers or protocols. Once you find it, the command is

rpm -i name-of-rpm-file

But, by default you have something better.

Its called openssh.

It contains the following components:
ssh - replacement for rsh
sftp - replacement for ftp
scp - replacement for rcp

They all work by the same command syntax as the insecure Berkley r-tools.

I'm attaching a configuration document that shows you how to handle setup and password free scp/ssh/sftp between trusted machines.

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
dirk dierickx
Honored Contributor

Re: RCP on RHAS 2.1

any reason you use rcp and not scp?
Tonatiuh
Super Advisor

Re: RCP on RHAS 2.1

First than all I am really newbie about this.

Does the command rcp still preserve the same name to be called (rcp)? this is because I am installing an Oracle RAC and I guess Oracle calls the command as rcp.
Jeroen Peereboom
Honored Contributor
Solution

Re: RCP on RHAS 2.1

Oracle RAC needs r-commands.
There is no such thing as rcp service.
You just need
chkconfig rsh on
chkconfig rlogin on
chkconfig telnet on

check in /etc/xinetd.conf that these service are not disabled.

Furthermore be aware of ipchains / iptables ('firewalls'). RAC only needs r-commands on the 'private' interface, so either configure your firewall to let through your 'private' traffic, or disable the firewall (temporarily).

JP