Skip to main content

[INS-06001] Failed to perform operation due to internal driver error (During installation of RAC 11g)


Solution:

root@NFSP70DB # cat /tmp/OraInstall2013-03-05_01-43-51PM/sshsetup3_2013-03-05_01-43-51PM.log
INFO: Environment Variables:

INFO:   ORACLE_HOME =

INFO:   PATH = /usr/bin:/usr/ccs/bin:/usr/bin::/oracle/dump/install

INFO:   CLASSPATH =

INFO: Username:grid

INFO: Lock Retry Count 120
INFO: Lock Sleep Time 30000
INFO: Home Dir /export/home/grid
INFO: Lock Location : /export/home/grid/.ssh/lock
INFO: Trying to get Lock ....
INFO: Lock Acquired
INFO: LIBRARY_LOC = /tmp/OraInstall2013-03-05_01-43-51PM/oui/lib/solaris
INFO: Validating remote binaries..
INFO: [NFSP70DB]
INFO: /bin/bash -c '/bin/true'
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/bash -c 'if [[ -f /usr/local/etc/ssh_host_rsa_key.pub ]] ; then exit 0; else exit 1; fi'
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: An error occured which will cause the program to abort. Refer to latest Log file that was supplied while running the program. The Log file would created by name logfilename-<currentdatetime>
SEVERE: com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:451)
        at com.jcraft.jsch.Session.connect(Session.java:149)
        at oracle.sysman.prov.ssh.RunCommand.runCommand(RunCommand.java:94)
        at oracle.sysman.prov.ssh.SSHSetup.runCommandHelper(SSHSetup.java:1506)
        at oracle.sysman.prov.ssh.SSHSetup.validateRemoteBinaries(SSHSetup.java:1825)
        at oracle.sysman.prov.ssh.SSHSetup.setupConnectivity(SSHSetup.java:666)
        at oracle.install.driver.oui.OUISSHSupportManager.establishSSHConnectivity(OUISSHSupportManager.java:161)
        at oracle.install.ivw.common.view.SSHSetupPane$7.perform(SSHSetupPane.java:265)
        at oracle.install.ivw.common.view.SSHSetupPane$SSHOperation.run(SSHSetupPane.java:322)

INFO: null
INFO: User selected : yes, generating new Keys
INFO: Deleting /export/home/grid/.ssh/id_rsa.ri.bak
INFO: Deleting /export/home/grid/.ssh/id_rsa.pub.ri.bak
INFO:
INFO: Generating new keys
INFO: Deleting /export/home/grid/.ssh/authorized_keys.ri.bak
INFO: Deleting /export/home/grid/.ssh/config.ri.bak
INFO: [NFSP70DB]
INFO: echo $HOME
INFO: Exit-status: 0
INFO: Error:
INFO: /export/home/grid
INFO:
INFO: [NFSP70DB]
INFO: /bin/mkdir -p "/export/home/grid/.ssh"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/rm -f "/export/home/grid/.ssh/id_rsa.pubNFSP70DB"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: Copy localfile: /export/home/grid/.ssh/id_rsa.pub to remotefile: "/export/home/grid/.ssh/id_rsa.pubNFSP70DB"

INFO: [NFSP70DB]
INFO: /bin/cp -p "/export/home/grid/.ssh/authorized_keys" "/export/home/grid/.ssh/authorized_keys.ri.bak"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/cat "/export/home/grid/.ssh/id_rsa.pubNFSP70DB" >> "/export/home/grid/.ssh/authorized_keys"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/rm -f "/export/home/grid/.ssh/id_rsa.pubNFSP70DB"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/chmod 644 "/export/home/grid/.ssh/authorized_keys"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/chmod og-w "/export/home/grid"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/chmod og-w "/export/home/grid/.ssh"
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: An error occured which will cause the program to abort. Refer to latest Log file that was supplied while running the program. The Log file would created by name logfilename-<currentdatetime>
SEVERE: com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:451)
        at com.jcraft.jsch.Session.connect(Session.java:149)
        at oracle.sysman.prov.ssh.RunCommand.runCommand(RunCommand.java:94)
        at oracle.sysman.prov.ssh.SSHSetup.runCommandHelper(SSHSetup.java:1506)
        at oracle.sysman.prov.ssh.SSHSetup.setupConnectivity(SSHSetup.java:988)
        at oracle.install.driver.oui.OUISSHSupportManager.establishSSHConnectivity(OUISSHSupportManager.java:161)
        at oracle.install.ivw.common.view.SSHSetupPane$7.perform(SSHSetupPane.java:265)
        at oracle.install.ivw.common.view.SSHSetupPane$SSHOperation.run(SSHSetupPane.java:322)

INFO: null
INFO: Deleting /export/home/grid/.ssh/known_hosts.ri.bak
INFO: [NFSP70DB]
INFO: /bin/cat "/usr/local/etc/ssh_host_rsa_key.pub"
INFO: Exit-status: 2
INFO: Error: cat: cannot open /usr/local/etc/ssh_host_rsa_key.pub

INFO:
INFO:
INFO: Hostname : NFSP70DB
INFO: FullHostname : NFSP70DB
INFO: IP address : 10.190.2.5

INFO: An error occured which will cause the program to abort. Refer to latest Log file that was supplied while running the program. The Log file would created by name logfilename-<currentdatetime>
SEVERE: com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:451)

        at com.jcraft.jsch.Session.connect(Session.java:149)
        at oracle.sysman.prov.ssh.RunCommand.runCommand(RunCommand.java:94)
        at oracle.sysman.prov.ssh.SSHSetup.runCommandHelper(SSHSetup.java:1506)
        at oracle.sysman.prov.ssh.SSHSetup.setupConnectivity(SSHSetup.java:1115)
        at oracle.install.driver.oui.OUISSHSupportManager.establishSSHConnectivity(OUISSHSupportManager.java:161)
        at oracle.install.ivw.common.view.SSHSetupPane$7.perform(SSHSetupPane.java:265)
        at oracle.install.ivw.common.view.SSHSetupPane$SSHOperation.run(SSHSetupPane.java:322)

INFO: null
INFO: Creating keys on remote Host NFSP70DB
INFO: to setup SSH on Host NFSP70DB
INFO: [NFSP70DB]
INFO: /bin/rm /export/home/grid/.ssh/id_rsa.pub
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/rm /export/home/grid/.ssh/id_rsa
INFO: Exit-status: 0
INFO: Error:
INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/rm /export/home/grid/.ssh/id_rsa
INFO: Exit-status: 2
INFO: Error: /export/home/grid/.ssh/id_rsa: No such file or directory

INFO:
INFO:
INFO: [NFSP70DB]
INFO: /usr/local/bin/ssh-keygen -t rsa -f /export/home/grid/.ssh/id_rsa -N '' -b 1024
INFO: Exit-status: 1
INFO: Error: sh: /usr/local/bin/ssh-keygen: not found

INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/cp -p "/export/home/grid/.ssh/id_rsa" "/export/home/grid/.ssh/identity"
INFO: Exit-status: 2
INFO: Error: cp: cannot access /export/home/grid/.ssh/id_rsa

INFO:
INFO:
INFO: [NFSP70DB]
INFO: /bin/cp -p "/export/home/grid/.ssh/id_rsa.pub" "/export/home/grid/.ssh/identity.pub"
INFO: Exit-status: 2
INFO: Error: cp: cannot access /export/home/grid/.ssh/id_rsa.pub

INFO:
INFO:
INFO: Creating keys on remote Host NPSP70DB
INFO: to setup SSH on Host NPSP70DB
INFO: An error occured which will cause the program to abort. Refer to latest Log file that was supplied while running the program. The Log file would created by name logfilename-<currentdatetime>
SEVERE: com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:451)
        at com.jcraft.jsch.Session.connect(Session.java:149)
        at oracle.sysman.prov.ssh.RunCommand.runCommand(RunCommand.java:94)
        at oracle.sysman.prov.ssh.SSHSetup.runCommandHelper(SSHSetup.java:1506)
        at oracle.sysman.prov.ssh.SSHSetup.setupConnectivity(SSHSetup.java:1204)
        at oracle.install.driver.oui.OUISSHSupportManager.establishSSHConnectivity(OUISSHSupportManager.java:161)
        at oracle.install.ivw.common.view.SSHSetupPane$7.perform(SSHSetupPane.java:265)
        at oracle.install.ivw.common.view.SSHSetupPane$SSHOperation.run(SSHSetupPane.java:322)

INFO: null
INFO: Copy remotefile: /export/home/grid/.ssh/id_rsa.pub to localfile: /export/home/grid/.ssh/id_rsa.pub.NFSP70DB

INFO: scp: /export/home/grid/.ssh/id_rsa.pub: No such file or directory

INFO: Home Dir /export/home/grid
INFO: Lock Location : /export/home/grid/.ssh/lock
INFO: Releasing Lock...
INFO: Lock Released
--------------------------------------------------------------------------------------------------------------

 
Cause of the Problem
1. The problem happened as the grid user or oracle user (the user you used to run runInstaller) does not have password on OS level.

2. If OUI is able to setup passwordless SSH connectivity but still shows the error, likely "ping" command is inaccessible - grid or oracle user should be able to execute ping command.

3. OS command ssh or scp are not in expected location.

4. May be $HOME/.ssh or files in it are owned by different user.

Solution of the Problem
1. Test the ssh.

Issue "passwd" command to set password in both machines. Note that if you don't set the password in the RAC nodes then these error will fire.

Also, please test ssh command in both nodes of your RAC.

on node1 execute:
ssh node1 date
ssh node2 date

and on node 2:
ssh node1 date
ssh node2 date

2. If OS command ssh or scp are not in expected location, the workaround is to create symbolic link on all nodes:

ln -s /usr/local/bin/ssh /usr/bin/ssh
ln -s /usr/local/bin/scp /usr/bin/scp

3. Check the permission on file $HOME/.ssh
$ ls -l $HOME/.ssh 

----------------------------------------------------------------------------------------------------------------

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

Comments

Popular posts from this blog

Configuration workflow mailer on R12 (Mailer server working in SSL and Application running without SSL)

Steps: ---------------------- In order to Configure Workflow Java Mailer with IMAP and SMTP email servers SSL enabled, need to perform the below steps 1. Export the Certificate from the Email server.     2. Create a keystore on the Concurrent Manager Tire. Import the certificate to keystore     3. Configure the Mailer to work with IMAPSSL / SMTPSSL.     4. Steps for Debugging the Mailer.     5. R12.1.3 feature - Mailer Authentication     Protocol: SMTP/SSL Port : 465 Protocol: IMAP/SSL Port : 993 1. Export the Certificate from the Email server.   In order to be able to establish a Secure communication channel, the certificate from the Email Server (issued by a Certification Authority) needs to be imported on the Concurrent Manager Tire. The email server certificate issued by a trusted Certification Authority (i.e. Verisign), can be obtain from the System Administrator or downloaded by following the below steps A. Access your main web page https://<host.domain:port&

R12.2 Adop Hangs And Does Nothing.

Issue is starting here, unable to connect AD Solution: ============ Login by root user and follow the below command: #hostname fc-pun-fusion01  --------------------------- <Enter the hostname in small letters> Note:- In my case, my server hostname was "FC-PUN-FUSION01" and I have change the same in "fc-pun-fusion01". [root@fc-pun-fusion01 ~]# hostname fc-pun-fusion01 [root@fc-pun-fusion01 ~]# Change the same in /etc/hosts file accordingly [root@fc-pun-fusion01 ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. ##127.0.0.1             FC-PUN-FUSION01 localhost.localdomain localhost 127.0.0.1               loopback localhost 10.34.156.132           fc-pun-fusion01.india.rapidigm.com fc-pun-fusion01 10.34.156.132           fc-pun-fusion01.india.rapidigm.com fc-pun-fusion01 ::1             localhost6.localdomain6 localhost6 10.34.156.133           FC-PU