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-2240211.1
Update Date:2017-03-30
Keywords:

Solution Type  Problem Resolution Sure

Solution  2240211.1 :   Dbnode Upgrade Post Step Failed Due To Missing JDK 1.8 Package  


Related Items
  • Exadata X3-2 Full Rack
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Exadata>DB: Exadata_EST
  •  




Created from <SR 3-14406522891>

Applies to:

Exadata X3-2 Full Rack - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

dbnode update  post script (dbnodeupdate -c) failed due to missing jdk 1.8 package.

imageinfo: 12.1.2.3.2.160721

=== dbnodeupdate.log ====

x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][DiaryEntry][] Entering CheckJDKVersion
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][CheckJDKVersion][] latest v_jdk_version found: 170
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][DiaryEntry][] Entering PrintGenError Database node requires jdk1.8 or later before updating, please correct and retry the update.   <<<<<<
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][ERROR][/u01/dbnodeupdate.sh][PrintGenError][] Database node requires jdk1.8 or later before updating, please correct and retry the update.
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][DiaryEntry][] Entering UpdateDbnodeupdateStatFile failed;
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][UpdateDbnodeupdateStatFile][] Copying /opt/oracle.SupportTools/.dbnodeupdate.state to /opt/oracle.SupportTools/.tmp.dbnodeupdate.state
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][UpdateDbnodeupdateStatFile][] Updating /opt/oracle.SupportTools/.tmp.dbnodeupdate.state with status: failed;
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][UpdateDbnodeupdateStatFile][] Moving /opt/oracle.SupportTools/.tmp.dbnodeupdate.state to /opt/oracle.SupportTools/.dbnodeupdate.state
x12ddb01: [1488516317][2017-03-02 23:46:53 -0500][INFO][/u01/dbnodeupdate.sh][DiaryEntry][] Leaving UpdateDbnodeupdateStatFile failed;

 

Changes

Image upgrade to 12.1.2.3.2

Cause

The uninstall of obsoleted java-*-openjdk rpm failed, leaving the old java around. Since there is already java installed, it satisfies the java
requirement of rpms like exadata-dbmmgmt, as java was not specified with a specific version. So, the new jdk providing new java did not get installed.

[roo@ java]# java -version

java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.0.1.el5-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
 

Solution

 Manually install the jdk 1.8 package by following below steps:

# cd /u03/12.1.2.3.2/DB
# mkdir iso
# unzip ../p23564643_121232_Linux-x86-64.zip
# mkdir /media/iso
# mount -o loop /u03/12.1.2.3.2/DB/iso/exadata_ol6_base_repo_160721.iso /media/iso
# rpm -iv /media/iso/x86_64/jdk1.8.0_66-1.8.0_66-fcs.x86_64.rpm

After installing jdk 1.8 , verify the jdk package by running the below command

# rpm -qa | grep jdk

Once jdk 1.8 is installed, complete the post dbnodeupgrade script:   

# ./dbnodeupdate.sh -c


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