Exadata: dbnodeupdate.sh -c Command fails with ERROR: Unable to unlock home /u01/app/12.2.0/grid, exiting
(Doc ID 2516095.1)
Last updated on JANUARY 16, 2020
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 18.3.0.0.0 [Release 12.2 to 18]Information in this document applies to any platform.
Symptoms
dbnodeupdate.sh -c is failing with this error message:
#dbnodeupdate.sh -c
continue ? [y/n] y
(*) 2019-03-10 14:40:43: Verifying GI and DB's are shutdown
(*) 2019-03-10 14:40:46: No rpms to remove
(*) 2019-03-10 14:40:47: Relinking all homes
(*) 2019-03-10 14:40:48: Unlocking /u01/app/12.2.0/grid
ERROR: Unable to unlock home /u01/app/12.2.0/grid, exiting
dbnodeupdate.trc shows the following error:
[1552244847][2019-03-10 15:09:09 -0400][INFO][./dbnodeupdate.sh - 11057][RelinkOHomes][] OS startup fully completed. 'ohasd' was started. Proceeding stack relink and start...
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11067][RelinkOHomes][] v_tfa_proc_count: 0
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 6557][PrintMsg][] (ACTION:) Unlocking /u01/app/12.2.0/grid
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11085][RelinkOHomes][] Unlocking /u01/app/12.2.0/grid
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11092][RelinkOHomes][] For GI: found /u01/app/12.2.0/grid owned by grid
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11095][RelinkOHomes][] v_gi_version: 122
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11123][RelinkOHomes][] Found /u01/app/12.2.0/grid is identified as 1220 or later home
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11138][RelinkOHomes][] starting as root: /u01/app/12.2.0/grid/crs/install/rootcrs.sh -unlock
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh - 186][DiaryEntry][] Entering PrintGenError Unable to unlock home /u01/app/12.2.0/grid, exiting
[1552244847][2019-03-10 15:09:34 -0400][ERROR][./dbnodeupdate.sh - 19212][PrintGenError][] Unable to unlock home /u01/app/12.2.0/grid, exiting
Call stack : CALLER -- FILE -- LINE_NO
------------------------
imageLogger_logMsg -- dbnodeupdate.sh -- 19212
PrintGenError -- dbnodeupdate.sh -- 11156
RelinkOHomes -- dbnodeupdate.sh -- 20529
ExecFinish -- dbnodeupdate.sh -- 24241
[1552244847][2019-03-10 15:09:09 -0400][INFO][./dbnodeupdate.sh - 11057][RelinkOHomes][] OS startup fully completed. 'ohasd' was started. Proceeding stack relink and start...
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11067][RelinkOHomes][] v_tfa_proc_count: 0
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 6557][PrintMsg][] (ACTION:) Unlocking /u01/app/12.2.0/grid
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11085][RelinkOHomes][] Unlocking /u01/app/12.2.0/grid
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11092][RelinkOHomes][] For GI: found /u01/app/12.2.0/grid owned by grid
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11095][RelinkOHomes][] v_gi_version: 122
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11123][RelinkOHomes][] Found /u01/app/12.2.0/grid is identified as 1220 or later home
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh - 11138][RelinkOHomes][] starting as root: /u01/app/12.2.0/grid/crs/install/rootcrs.sh -unlock
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh - 186][DiaryEntry][] Entering PrintGenError Unable to unlock home /u01/app/12.2.0/grid, exiting
[1552244847][2019-03-10 15:09:34 -0400][ERROR][./dbnodeupdate.sh - 19212][PrintGenError][] Unable to unlock home /u01/app/12.2.0/grid, exiting
Call stack : CALLER -- FILE -- LINE_NO
------------------------
imageLogger_logMsg -- dbnodeupdate.sh -- 19212
PrintGenError -- dbnodeupdate.sh -- 11156
RelinkOHomes -- dbnodeupdate.sh -- 20529
ExecFinish -- dbnodeupdate.sh -- 24241
From the dbnodeupdate.log we see exactly which component of GI it failed:
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh][RelinkOHomes][] Found /u01/app/12.2.0/grid is identified as 1220 or later home
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh][RelinkOHomes][] starting as root: /u01/app/12.2.0/grid/crs/install/rootcrs.sh -unlock
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/dec-db1-1/crsconfig/crsunlock_dec-db1-1_2019-03-10_03-09-10PM.log
2019/03/10 15:09:11 CLSRSC-4012: Shutting down Oracle Trace File Analyzer (TFA) Collector.
2019/03/10 15:09:34 CLSRSC-4013: Successfully shut down Oracle Trace File Analyzer (TFA) Collector.
2019/03/10 15:09:34 CLSRSC-46: Error: '/u01/app/12.2.0/grid/suptools/tfa/release/tfa_home/jlib/jewt4.jar' does not exist
2019/03/10 15:09:34 CLSRSC-152: Could not set ownership on '/u01/app/12.2.0/grid/suptools/tfa/release/tfa_home/jlib/jewt4.jar'
Died at /u01/app/12.2.0/grid/crs/install/crsutils.pm line 7573.
The command '/u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl -unlock' execution failed
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Entering PrintGenError Unable to unlock home /u01/app/12.2.0/grid, exiting
[1552244847][2019-03-10 15:09:34 -0400][ERROR][./dbnodeupdate.sh][PrintGenError][] Unable to unlock home /u01/app/12.2.0/grid, exiting
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Entering UpdateDbnodeupdateStatFile failed;
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][UpdateDbnodeupdateStatFile][] dbnodeupdate.sh running standalone - no status file to be updated
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Leaving UpdateDbnodeupdateStatFile failed;
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Entering CleanupIsoAndMount
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh][RelinkOHomes][] Found /u01/app/12.2.0/grid is identified as 1220 or later home
[1552244847][2019-03-10 15:09:10 -0400][INFO][./dbnodeupdate.sh][RelinkOHomes][] starting as root: /u01/app/12.2.0/grid/crs/install/rootcrs.sh -unlock
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/dec-db1-1/crsconfig/crsunlock_dec-db1-1_2019-03-10_03-09-10PM.log
2019/03/10 15:09:11 CLSRSC-4012: Shutting down Oracle Trace File Analyzer (TFA) Collector.
2019/03/10 15:09:34 CLSRSC-4013: Successfully shut down Oracle Trace File Analyzer (TFA) Collector.
2019/03/10 15:09:34 CLSRSC-46: Error: '/u01/app/12.2.0/grid/suptools/tfa/release/tfa_home/jlib/jewt4.jar' does not exist
2019/03/10 15:09:34 CLSRSC-152: Could not set ownership on '/u01/app/12.2.0/grid/suptools/tfa/release/tfa_home/jlib/jewt4.jar'
Died at /u01/app/12.2.0/grid/crs/install/crsutils.pm line 7573.
The command '/u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl -unlock' execution failed
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Entering PrintGenError Unable to unlock home /u01/app/12.2.0/grid, exiting
[1552244847][2019-03-10 15:09:34 -0400][ERROR][./dbnodeupdate.sh][PrintGenError][] Unable to unlock home /u01/app/12.2.0/grid, exiting
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Entering UpdateDbnodeupdateStatFile failed;
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][UpdateDbnodeupdateStatFile][] dbnodeupdate.sh running standalone - no status file to be updated
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Leaving UpdateDbnodeupdateStatFile failed;
[1552244847][2019-03-10 15:09:34 -0400][INFO][./dbnodeupdate.sh][DiaryEntry][] Entering CleanupIsoAndMount
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |