Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1981186.1
Update Date:2015-03-31
Keywords:

Solution Type  Problem Resolution Sure

Solution  1981186.1 :   Oakcli Commands All Hang, Do Not Complete  


Related Items
  • Oracle Database Appliance X4-2
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




Created from <SR 3-10266638591>

Applies to:

Oracle Database Appliance X4-2 - Version All Versions and later
Information in this document applies to any platform.

Symptoms

On ODA node 1, the Oakcli commands hang when executed. No errors are shown, the commands simply do not complete. Even oakcli show databases hangs.

ODA node 2 is fine.

Cause

The .bash_profile script for the oracle account (/home/oracle/.bash_profile) contains extraneous lines.
 
'export ORACLE_SID=TEST;. oraenv' has been put in the script to be executed, with the intention to default the oracle account to the TEST instance.

This causes the commands “oakcli show dbhomes”, “oakcli show databases”, and “oakcli create database” to appear to hang until the user hit enter several extra times.
 

Solution

Use the standard .bash_profile script for the oracle account (/home/oracle/.bash_profile)
 

References

<NOTE:1927384.1> - ODA Data Collection for an Initial Diagnosis of Technical Problems : Diagnostic Best Practices for ODA SR Creation
<NOTE:888888.1> - Oracle Database Appliance - 12.1.2 and 2.X Supported ODA Versions & Known Issues
<NOTE:1494758.1> - ODA (Oracle Database Appliance): Needed Diagnostics information when a disk failure occurs
<NOTE:1959125.1> - ODA ODM Based Mandatory Data Collection for ODAVP ( ODA Virtualized Platform )

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback