ODA: Error in authorized_keys With OAKCLI command
Last updated on DECEMBER 05, 2017
Applies to:
Oracle Database Appliance Software - Version 2.9.0.0 and laterInformation in this document applies to any platform.
Symptoms
You may encounter this error when running OAKCLI or a different utility in ODA environment.
For example, 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/python1-20140430150745.log and traces in /opt/oracle/oak/onecmd/tmp/python1-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
...
...
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/python1-20140430150745.log and traces in /opt/oracle/oak/onecmd/tmp/python1-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
Changes
User edited /etc/bashrc and have added the following:
# grep stty /etc/bashrc
stty erase ^H
stty erase ^H
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