My Oracle Support Banner

Non-RAC CSS creation failures with crsctl.bin or clscfg.bin fatal errors (Doc ID 824393.1)

Last updated on JANUARY 24, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

In a non-RAC environment, the CSS creation process of root.sh or "localconfig add" executions could fail with the following error messages related to crsctl.bin binary.

The errors could be in different formats. After fixing one, another one could show up.

Initial error could be

# sh -x $ORACLE_HOME/bin/localconfig add
SILENT=%s_silent%
CSS_ORACLE_HOME=%s_OracleHome%
CSS_ORACLE_OWNER=%OwnerId%
CSS_DBA_GROUP=%s_usergroup%
CSS_LANGUAGE_ID=%s_languageid%
.....
+ /bin/echo No value set for the parameter CSS_ORACLE_HOME. Use parameter file to set values
No value set for the parameter CSS_ORACLE_HOME. Use parameter file to set values
+ usage
+ printf Usage:
Usage:+ printf /u01/app/oracle/product/asm/bin/localconfig [add] [delete] [ reset <destination Oracle home> ]
/u01/app/oracle/product/asm/bin/localconfig [add] [delete] [ reset <destination Oracle home> ]+ printf [-silent]
[-silent]+ printf [-paramfile <Complete path of file specifying parameter values>]
[-paramfile <Complete path of file specifying parameter values>]+ return 1


Then after hard-coding the parameter values to the correct ones. The error changed to

CRSCTL=/u01/app/oracle/product/asm/bin/crsctl
+ /u01/app/oracle/product/asm/bin/crsctl create scr oracle
/u01/app/oracle/product/asm/bin/localconfig: /u01/app/oracle/product/asm/bin/crsctl: cannot execute
....
+ /u01/app/oracle/product/asm/bin/clscfg -local -o /u01/app/oracle/product/asm -l AMERICAN_AMERICA.AL32UTF8
/u01/app/oracle/product/asm/bin/localconfig: /u01/app/oracle/product/asm/bin/clscfg: cannot execute
SCRIPT_STATUS=1


After fixing permissions of the target binaries, the error changed to

+ /u01/app/oracle/product/asm/bin/crsctl create scr oracle
ld.so.1: crsctl.bin: fatal: libclntsh.so.10.1: open failed: No such file or directory
Killed
.....
/u01/app/oracle/product/asm/bin/localconfig: /u01/app/oracle/product/asm/bin/clscfg: cannot execute
SCRIPT_STATUS=1


Then the error changed to

+ /u01/app/oracle/product/asm/bin/clscfg -local -o /u01/app/oracle/product/asm -l AMERICAN_AMERICA.AL32UTF8
ld.so.1: clscfg.bin: fatal: libuini10.so: open failed: No such file or directory
Killed
SCRIPT_STATUS=137





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
References

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