My Oracle Support Banner

ODA: Error in authorized_keys with OAKCLI Command is Using /etc/bashrc (Doc ID 1674279.1)

Last updated on JANUARY 31, 2020

Applies to:

Oracle Database Appliance Software - Version to [Release 2.9 to 12.2]
Information in this document applies to any platform.


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/ line 5750



User edited /etc/bashrc and have added the following:

# grep stty /etc/bashrc 
stty erase ^H



To view full details, 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 a vibrant support community of peers and Oracle experts.