Database Installation fails with Error:"/usr/bin/gcc: Permission denied" (Doc ID 2186140.1)

Last updated on SEPTEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Information in this document applies to any platform.

Symptoms

Database  Installation  fails with error:

Example: 12.1.0.2 on RHEL6:


INFO: /u01/app/oracle/product/12.1.0.2/bin/orald: line 31: /usr/bin/gcc: Permission denied

INFO: /u01/app/oracle/product/12.1.0.2/bin/orald: line 31: exec: /usr/bin/gcc: cannot execute: Permission denied

INFO: genclntsh: Failed to link libclntshcore.so.12.1

INFO: make: *** [client_sharedlib] Error 126

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/app/oracle/product/12.1.0.2/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2016-05-07_10-44-38AM.log' for details.
Exception Severity: 1
INFO: Adding ExitStatus STOP_INSTALL to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -4
INFO: Shutdown Oracle Database 12c Release 1 Installer

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms