donvike1
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/instal l/.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?
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/instal
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?
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.
Agreed, and it never hurts to confirm the file is there, with adequate permissions:
ls -la /u02/stage/database/instal l/.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.
ls -la /u02/stage/database/instal
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you - I will try these solutions.
ASKER
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/instal l/.oui: cannot execute binary file
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/instal
check and post the permissions of the file
/u02/stage/database/instal l/.oui
if needed modify those to allow execution
/u02/stage/database/instal
if needed modify those to allow execution
ASKER
Here is the file permission
[brownd@dst1vm2011~]$ ls -la /u02/stage/database/instal l/.oui
-rwxr-xr-x 1 oracle dba 193708 Mar 28 2011 /u02/stage/database/instal l/.oui
[brownd@dst1vm2011~]$ ls -la /u02/stage/database/instal
-rwxr-xr-x 1 oracle dba 193708 Mar 28 2011 /u02/stage/database/instal
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
please check that you are using the 64bit for both or the 32bit for both
ASKER
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.
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.
ASKER
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.
Thank you.
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.
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.