Wednesday, October 23, 2013

CreateOUIProcess(): 13 : Permission denied

Hit the error when install 11.2.0.3 client on Redhat 5.4 x64

[oracle@test01 client]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 664 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4095 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2001-07-23_06-31-05AM. Please wait ...Error in CreateOUIProcess(): 13 : Permission denied


[oracle@test01 client]$ cd /tmp/OraInstall2001-07-23_06-31-05AM
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ ls -l
total 44
-rwxr-x--- 1 oracle dba 8218 Jul 23 06:31 command_output_8385
drwxr-x--- 3 oracle dba 4096 Jul 23 06:31 diagnostics
drwxrwx--- 3 oracle dba 4096 Jul 23 06:31 ext
drwxr-x--- 2 oracle dba 4096 Jul 23 06:31 images
-rwxr-x--- 1 oracle dba 4855 Jul 23 06:31 installActions2001-07-23_06-31-05AM.log
drwxr-x--- 6 oracle dba 4096 Jul 23 06:31 jdk
drwxr-x--- 8 oracle dba 4096 Jul 23 06:31 oui
drwxr-x--- 3 oracle dba 4096 Jul 23 06:31 srvm
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ find ./ -name java
./jdk/jre/bin/java
./jdk/bin/java
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ ls -l ./jdk/jre/bin/java
-rwxr-xr-x 1 oracle dba 66432 Jul 11  2011 ./jdk/jre/bin/java
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ ls -l ./jdk/bin/java
-rwxr-x--- 1 oracle dba 66432 Jul 11  2011 ./jdk/bin/java

[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ ./jdk/jre/bin/java -version
-bash: ./jdk/jre/bin/java: Permission denied
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ ./jdk/bin/java  -version
-bash: ./jdk/bin/java: Permission denied
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ file ./jdk/bin/java
./jdk/bin/java: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ file ./jdk/bin/java
./jdk/bin/java: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
[oracle@test01 OraInstall2001-07-23_06-31-05AM]$ grep tmp /etc/fstab
/dev/vgvolume/lv_tmp    /tmp                    ext3    defaults,nodev,nosuid,noexec  1 2
/tmp                    /var/tmp                none    bind            0 0
tmpfs                   /dev/shm                tmpfs   defaults,nodev,nosuid,noexec  0 0

problem solved by following below URL

http://muthuappsdba.blogspot.sg/2013/02/error-in-createouiprocess-13-permission.html
http://pythianpang.wordpress.com/2010/06/03/oracle-runinstaller-createouiprocess-13-permission-denied/
http://kb.dbatoolz.com/tp/2817.error_in_createouiprocess_13.html

Solution :

 temporarily remove noexec option from /tmp

Or redirect TMP and TMPDIR environment variables to other directory