ODA: SSH Errors During oakcli Patching, Upgrades, Deployment, or Creating Oracle Databases (Doc ID 2003316.1)

Last updated on OCTOBER 27, 2016

Applies to:

Oracle Database Appliance Software - Version 2.1.0.1 to 12.1.2.2 [Release 2.1 to 12.1]
Information in this document applies to any platform.

Symptoms

This note describes various situations when ODA users might encounter SSH problems. Usually seen during maintenance, patching, upgrades or other administrative tasks using oakcli.
Often the problem is associated with root executing oakcli commands which in can trigger several scripts in the background which require SSH for root, grid and Oracle users. 
The actual source can be misleading, however, as discussed in the following note:

from ODA: Oakcli Create Database Fails with Error in authorized_keys (Doc ID 1674279.1)

"...The following error encountered while creating database using oakcli..."

# oakcli create database -db test
...
...
Do you want to set up the EM Dbconsole for this database: [ Y | N ]?N
INFO : Logging all actions in /opt/oracle/oak/onecmd/tmp/pt1-20140430150745.log and traces in /opt/oracle/oak/onecmd/tmp/pt1-20140430150745.trc
INFO : Loading configuration file /opt/oracle/oak/onecmd/create_database.params...
INFO : Creating nodelist files...
INFO : Setting up ssh for root...
INFO : Setting up ssh across the private network...
.....ERROR: Error in authorized_keys, file has more than one line on node <ip address> (see above text) at /opt/oracle/oak/onecmd/GridSteps.pm line 5750


Other Examples:
If you see SSH errors during patching the steps executed during the oakcli command are in logfiles found in the /opt/oracle/oak/onecmd/tmp directory

Symptoms / error message text  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms