My Oracle Support Banner

Running root.sh during Grid Infrastructure Installation Fails because the size of some of the binaries is 0 byte (Doc ID 2025000.1)

Last updated on JULY 30, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

OUI installed software on local node without giving any error on the monitor and prompted to run root.sh, but executing root.sh fails.

This MOS note is for errors that occur on the local node and not on the remote nodes.

roothas (or rootcrs) log shows it is failing because the GI (CRS or HAS) is not starting.

The following is from Stand Alone install failure (roothas):

2015-04-27 09:50:13: Succeeded in writing the checkpoint:'ROOTCRS_OHASD' with status:SUCCESS
2015-04-27 09:50:13: Starting ohasd
......

2015-04-27 09:50:18: Installed new /etc/inittab
2015-04-27 09:50:18: Executing /usr/sbin/init q
2015-04-27 09:50:18: Executing cmd: /usr/sbin/init q
2015-04-27 09:50:18: Executing cmd: /u01/app/oracle/product/12.1.0/grid/bin/crsctl start has
2015-04-27 09:50:18: Executing /etc/ohasd install
2015-04-27 09:50:18: Executing cmd: /etc/ohasd install
2015-04-27 09:50:18: ohasd is starting
2015-04-27 09:50:18: Started service 'ohasd'
2015-04-27 09:50:18: Successfully started ohasd for SIHA
2015-04-27 09:50:18: Checking ohasd
2015-04-27 09:50:18: Configured CRS Home: /u01/app/oracle/product/12.1.0/grid
2015-04-27 09:50:18: Executing cmd: /u01/app/oracle/product/12.1.0/grid/bin/crsctl check has
2015-04-27 09:50:18: Checking the status of ohasd
2015-04-27 09:50:23: Executing cmd: /u01/app/oracle/product/12.1.0/grid/bin/crsctl check has
......
2015-04-27 10:20:15: Checking the status of ohasd
2015-04-27 10:20:20: Executing cmd: /u01/app/oracle/product/12.1.0/grid/bin/crsctl check has
2015-04-27 10:20:20: Checking the status of ohasd
2015-04-27 10:20:25: Executing cmd: /u01/app/oracle/product/12.1.0/grid/bin/clsecho -p has -f clsrsc -m 199
2015-04-27 10:20:25: Executing cmd: /u01/app/oracle/product/12.1.0/grid/bin/clsecho -p has -f clsrsc -m 199


The failure in the rootcrs log file would show "crsctl check crs" instead of "crsctl check has", but checking to se if CRS/GI started fails.

 

The installation log file shows messages about missing files and directories:

INFO: chmod: bin/racgevtf: A file or directory in the path name does not exist.
chmod: bin/racgvip: A file or directory in the path name does not exist.
chmod: bin/sclsspawn: A file or directory in the path name does not exist.
chmod: bin/scriptagent.bin: A file or directory in the path name does not exist.
chmod: bin/cssdagent: A file or directory in the path name does not exist.
chmod: bin/cssdmonitor: A file or directory in the path name does not exist.
chmod: bin/oprocd: A file or directory in the path name d
INFO: oes not exist.
chmod: bin/emcrsp.bin: A file or directory in the path name does not exist.
chmod: bin/appvipcfg: A file or directory in the path name does not exist.
chmod: bin/clscfg.bin: A file or directory in the path name does not exist.
chmod: bin/clsecho.bin: A file or directory in the path name does not exist.
chmod: bin/clsid.bin: A file or directory in the path name does not exist.
chmod: bin/crsctl.bin: A file or directory in the path name does not exist.
chmod: bin/ocssd.bin: A file or directory
INFO: in the path name does not exist.
chmod: bin/ocssdrim.bin: A file or directory in the path name does not exist.
chmod: bin/odig.bin: A file or directory in the path name does not exist.

 

Installation error log shows a java error

java.io.EOFException: Unexpected end of ZLIB input stream
  at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:234)
  at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
  at java.util.zip.ZipInputStream.read(ZipInputStream.java:165)
  at java.io.FilterInputStream.read(FilterInputStream.java:101)
  at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1551)
  at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyFileFromJar(OiijFastJarExtracter.java:308)
  at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyJarContents(OiijFastJarExtracter.java:228)
  at oracle.sysman.oii.oiij.OiijFastJarExtracter.extract(OiijFastJarExtracter.java:147)
  at oracle.sysman.oii.oiij.OiijFastCopyPhase.processCompInfo(OiijFastCopyPhase.java:991)
  at oracle.sysman.oii.oiij.OiijFastCopyPhase.readAndExtract(OiijFastCopyPhase.java:920)
  at oracle.sysman.oii.oiij.OiijFastCopyPhase.doFileOperations(OiijFastCopyPhase.java:637)
  at oracle.sysman.oii.oiij.OiijFastCopyPhase.doFastModeOperations(OiijFastCopyPhase.java:428)
  at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentIP1WCCE.doOperation(OiifwInstallPhaseWCCE.java:1998)
  at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
  at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE.doOperation(OiifwInstallPhaseWCCE.java:915)
  at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)

 

Issuing "crsctl check has" returns the prompt without any message or error.
#crsctl check has
#

 

Issuing "ls -l GI_HOME/bin/crsctl*" shows that a file is of 0 length.
-rwxr-x--- 1 oracle oinstall 9464 May 20 14:27 /u01/app/oracle/product/12.1.0/grid/bin/crsctl
-rwxr-x--- 1 oracle oinstall 0 May 20 14:27 /u01/app/oracle/product/12.1.0/grid/bin/crsctl.bin

 

Files are missing from GI_HOME/bin although OUI did not issue any warning or error on the monitor.

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.