dcsimg
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: 254 Cannot execute binary file error when installing oracle 11g R2 on linux 6.5

  1. #1
    Join Date
    Jun 2013
    Location
    United States
    Posts
    10

    254 Cannot execute binary file error when installing oracle 11g R2 on linux 6.5

    Hello all,

    I am installing oracle 11g R2 on Linux 6.5. I run the command (./runInstaller) and get the following error:

    ./runInstaller: line 254: /oracle/database/install/. OUI: cannot execute binary file.
    I have downloaded the following:

    linux.zseries64_11gR2_database_1of2.zip
    linux.zseries64_11gR2_database_2of2.zip

    I was thinking it is problem about permission but I tried with root profile but it still the same:


    [root@mino oracle]# cd database
    [root@mino database]# ls
    doc install response rpm runInstaller sshsetup stage welcome.html
    [root@mino database]# ls -altr
    total 52
    -rw-r--r--. 1 root root 5575 Dec 17 2010 welcome.html
    drwxr-xr-x. 12 root root 4096 Mar 25 2011 doc
    drwxr-xr-x. 2 root root 4096 Mar 28 2011 sshsetup
    -rwxr-xr-x. 1 root root 8560 Mar 28 2011 runInstaller
    drwxr-xr-x. 2 root root 4096 Mar 28 2011 rpm
    drwxr-xr-x. 2 root root 4096 Mar 28 2011 response
    drwxr-xr-x. 4 root root 4096 Mar 28 2011 install
    drwxr-xr-x. 14 root root 4096 Mar 28 2011 stage
    drwxr-xr-x. 8 root root 4096 Mar 29 2011 .
    drwxr-xr-x. 3 root root 4096 Sep 23 01:27 ..
    [root@mino database]# ./runInstaller
    ./runInstaller: line 254: /oracle/database/install/.oui: cannot execute binary file

    Could anybody help please??


    thank you

  2. #2
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,165
    You should have unzipped the zip files as the Oracle user. At this point, you should probably just delete the directory, change the owner of the zip file and parent directory to Oracle, then unzip the files again. Make sure that all the directories including and under /oracle are owned by Oracle with the group as dba. You can't install Oracle as root, you need to install it as a user other than root. Most people use Oracle as the user and dba as the group.
    this space intentionally left blank

  3. #3
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Thumbs down Rtfm

    Quote Originally Posted by cracboy View Post
    Hello all,

    I am installing oracle 11g R2 on Linux 6.5. I run the command (./runInstaller) and get the following error:

    ./runInstaller: line 254: /oracle/database/install/. OUI: cannot execute binary file.
    . . .
    Could anybody help please??
    What gandolf is trying to say is that in order to install Oracle correctly, you need to:
    Read The Fine Manual: Oracle Database Installation Guide and follow the instructions.

    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

  4. #4
    Join Date
    Jun 2013
    Location
    United States
    Posts
    10
    Hello all,

    I tried as oracle user first and it did not work.
    Now I tried to download another version. I found that this one is zlinux version and I am using the oracle linux 6.5, I had to download the correct version and it works now.

    Thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width