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-1579758.1
Update Date:2013-10-02
Keywords:

Solution Type  Problem Resolution Sure

Solution  1579758.1 :   dbnodeupdate.sh -c during ESS upgrade and RELINK fails on DBNODES  


Related Items
  • Exadata Database Machine V2
  •  
  • Oracle Exadata Storage Server Software
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Exadata>DB: Exadata_EST
  •  




In this Document
Symptoms
Changes
Cause
Solution
References


Created from <SR 3-7705108651>

Applies to:

Oracle Exadata Storage Server Software - Version 11.2.2.3.0 to 11.2.2.3.1 [Release 11.2]
Exadata Database Machine V2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

Upgrading compute node can fail with the following errors. These errors are reported while relinking binaries

>>Relinking of the binaries is done during "./dbnodeupdate.sh -c"

# ./dbnodeupdate.sh -c =====> failed with errors.

/bin/sh: gcc: command not found
make: *** [/u01/app/11.2.0.3/grid/rdbms/lib/oracle] Error 127
make: Leaving directory `/u01/app/11.2.0.3/grid/rdbms/lib'
[1377313205][2013-08-24 13:00:45][ERROR][/root/dbnodeupdate.sh][RelinkOHomes][] Unable to relink home /u01/app/11.2.0.3/grid, exiting
[1377313205][2013-08-24 13:00:45][ERROR][/root/dbnodeupdate.sh][RelinkOHomes][] Relink error, see /var/log/cellos/dbnodeupdate.log, exiting

 

>> Checking for gcc rpm's shows that the same cannot be found.

# which gcc
which: no gcc in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)


Changes

>>Upgrading Exadata Storage Software on DB nodes using yum.

>> Relinking of oracle

Cause

>> During YUM update, yum.log indicates that the gcc rpm's getting erased

 

yum.log
===========

Aug 23 17:58:42 Erased: glibc-headers
Aug 23 17:58:42 Erased: gcc
Aug 23 17:58:42 Erased: glibc-devel
Aug 23 17:58:43 Erased: glibc-devel
Aug 23 17:58:43 Erased: gcc-c++

  
 

Solution

This issue is  resolved  in bug:17457471 which is duplicate of unpublished bug:17326296. New dbnodeupdate.sh will be included in next QFSDP.

 

Workaround

=========

In meantime as a workaround , manually install the GCC rpms.

yum --enablerepo=<channel name as mentioned in the patch README> install gcc

OR if yum is not configured install manually.

rpm -ihv gcc-4.1.......x86_64.rpm            <<<Select correct rpm's for linux version.
rpm -ihv gcc-c++-4.1.......x86_64.rpm

 

Any internal testing or internal customers we  can use the internal
  version.

 http://dbdev.us.oracle.com/twiki/bin/view/Sage/Yum_wrap

 

References

<BUG:17457471> - EXADATA: DBNODEUPDATE SCRIPT IS REMOVING GCC RELATED RPMS
<BUG:17326296> - TRACKING CHANGES DBNODEUPDATE 1.64
<BUG:12398882> - EXADATA: ONECOMMAND SHOULD NOT REMOVE GCC RPM, IT MAKES PATCH APPLY BROKEN

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