Link to home
Start Free TrialLog in
Avatar of donvike1
donvike1Flag for United States of America

asked on

Cannot run Oracle 11g runInstaller

Hi all,

I'm new to Linux and Oracle

I'm trying to install Oracle 11g Database onto RHEL 5 (VM).  I've set the parameters as requested by the installation guide.

 But when I try running the runInstaller I get the the following error
 [root@ers1vm5001 database]# ./runInstaller
./runInstaller: line 254: /u02/stage/database/install/.oui: cannot execute binary file

and logged in as oracle, I get runInstaller:command not found.

Can someone please help me our with this - as I said earlier I'm new to this.  Why won't my runInstaller run?
Avatar of jgiordano
jgiordano
Flag of United States of America image

When you log in as oracle you need to be in the directory where the runInstaller is. If you are in a different directory you need to give the full path.
Avatar of David VanZandt
Agreed, and it never hurts to confirm the file is there, with adequate permissions:

ls -la /u02/stage/database/install/.oui

should return a string including three numbers such as 0-4-6, that indicate read-write-execute levels.

I presume for now that the Oracle O/S was set up correctly for groups and such.
ASKER CERTIFIED SOLUTION
Avatar of Dmitriy Sky
Dmitriy Sky
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of donvike1

ASKER

Thank you - I will try these solutions.
Hi all,

I am in the directory where runInstaller is but I'm still getting the "cannot execute binary file" error - see below

What does this mean?  Please keep it simple as I'm very new at this.

[brownd@dst1vm2011 stage]$ cd database
[brownd@dst1vm2011 database]$ ls -la
total 92
drwxr-xr-x  8 oracle  dba      4096 Mar 29  2011 .
drwxrwxrwx  3 oracle1 oinstall 4096 Apr 20 16:10 ..
drwxr-xr-x 12 oracle  dba      4096 Mar 25  2011 doc
drwxr-xr-x  4 oracle  dba      4096 Mar 28  2011 install
drwxr-xr-x  2 oracle  dba      4096 Mar 28  2011 response
drwxr-xr-x  2 oracle  dba      4096 Mar 28  2011 rpm
-rwxr-xr-x  1 oracle  dba      8560 Mar 28  2011 runInstaller
drwxr-xr-x  2 oracle  dba      4096 Mar 28  2011 sshsetup
drwxr-xr-x 14 oracle  dba      4096 Mar 28  2011 stage
-rw-r--r--  1 oracle  dba      5575 Dec 17  2010 welcome.html
[brownd@dst1vm2011 database]$ ./runInstaller
./runInstaller: line 254: /u02/stage/database/install/.oui: cannot execute binary file
check and post the permissions of the file

 /u02/stage/database/install/.oui

if needed modify those to allow execution
Here is the file permission

[brownd@dst1vm2011~]$ ls -la /u02/stage/database/install/.oui
-rwxr-xr-x 1 oracle dba 193708 Mar 28  2011 /u02/stage/database/install/.oui
as  undersky noted this may be related to the version of binary you downloaded and the version of the os may be different.

please check that you are using the 64bit for both or the 32bit for both
1. first as dvz says, check that .oui file set as executable (chmod +x)
2. when you run as oracle user, you lost your enviroment, type: "echo $PATH" as oracle,
btw you still need $ORACLE_HOME; $LD_LIBRARY; etc enviroments in your /etc/enviroment file
btw, also check ldd ./runinstaller, may be some librarys not exists. or if file binary, may be you get wrong system (in bit) 32bit binary can't be running in 64bit RHEL, btw you can install ia32-libs, it must helps.

also better use rpm, if you have it.


undersky,

can you show me how to do this? I have very little experience/knowledge in this area.
You were absolutely right I was running the zseries which is for IBM.  I've since downloaded the correct version and the runInstaller is now running.

Thank you.
Avatar of Cheng Fuyi
Cheng Fuyi

I got the same problem, you should make sure which oracle 11g version used,
I use Oracle Database 11g Enterprise Edition Release 11.2.0.1.0, it will install successful,
before I user higher version, even I grant .oui permission, it won't be installed.