Oracle RAC11g R2 – ssh setup fail unable to find ssh_host_rsa_key.pub

 

My Platform

Oracle 11g r2 2 Node RAC

Oracle Solaris 10

Problem Description

During installation of Grid Infrastructure on Solaris OUI allows to setup ssh between the nodes.
The following error may occur:

[INS-06001] Failed to perform operation due to internal driver error.
Clicking on Details  displays:

Summary
- Unable to find /usr/local/etc/ssh_host_rsa_key.pub on node: node1

RCA

Oracle Universal Installer checks wrong location for ssh public key and keygen command.
This issue is handled in unpublished bug 10007514 and will be fixed in future releases.

Workaround

The following workaround can be used:

If some command fails due to wrong path set, user can copy the files locally,
edit and pass the location to runInstaller. for example:

1) copy file from installation tarball to local directory

$ cp Disk1/stage/properties /tmp/properties

2) update the location for the SSH public key and ssh-keygen binary in file
/tmp/properties/ssPaths_sol.properties to correct path

$ cat /tmp/ssPaths_sol.properties
    ...
    SSH_HOST_KEY_LOC=/etc/ssh
    SSH_KEYGEN_PATH=/usr/bin/ssh-keygen
       ...

3) reinvoke the runInstaller with specified option:

./runInstaller -J-Doracle.sysman.prov.PathsPropertiesLoc=/tmp/properties

Refer the Oracle Metalink [ID 1310215.1]

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.