LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2012, 11:20 AM   #1
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Rep: Reputation: Disabled
.oui: cannot execute binary file .oui: cannot execute binary file .oui


please solve my problem.... I'm trying to run runInstaller file but it was not working, following error occur every time...

[root@localhost database]# ./runInstaller
./runInstaller: line 254: /home/tmp2/database/install/.oui: cannot execute binary file
[root@localhost database]#


Please let me know step by step procedure to solve this problem...
 
Old 09-19-2012, 03:51 AM   #2
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Likely, /home/tmp2/database/install/.oui (if it's a regular file) is lacking executable permission, so you just need to
Code:
chmod +x /home/tmp2/database/install/.oui
and rerun the runInstaller script.
Executable permission may be not settable depending on what kind of partition /home is mounted onto and the mount options specified.
 
Old 09-19-2012, 04:37 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Kazi;

Please provide complete information, including the version of Linux you are running, and what SW you are installing.

Also, please follow up in your previous thread--I think there could be issues there that relate to this new question.
 
Old 09-19-2012, 04:41 AM   #4
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
I tried but it was not working.....

[root@localhost database]# chmod +x /home/tmp2/database/install/.oui
[root@localhost database]# ./runInstaller
./runInstaller: line 254: /home/tmp2/database/install/.oui: cannot execute binary file
[root@localhost database]#
 
Old 09-19-2012, 04:43 AM   #5
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
Kazi;

Please provide complete information, including the version of Linux you are running, and what SW you are installing.

Also, please follow up in your previous thread--I think there could be issues there that relate to this new question.

Red Hat 5 distro is running, and I'm trying to install Oracle 11g on it.....
 
Old 09-19-2012, 06:15 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by kazi9822 View Post
Red Hat 5 distro is running, and I'm trying to install Oracle 11g on it.....
And in your previous thread, you were advised not to use RHEL 5....

Can you execute that file manually?---i.e. not as part of the script. Also, show us the output of:
ls -l /home/tmp2/database/install/
 
Old 09-19-2012, 01:00 PM   #7
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
And in your previous thread, you were advised not to use RHEL 5....

Can you execute that file manually?---i.e. not as part of the script. Also, show us the output of:
ls -l /home/tmp2/database/install/

Following output.....


[root@localhost ~]# ls -la /home/tmp2/database/install/
total 488
drwxr-xr-x 4 root root 4096 Mar 28 2011 .
drwxr-xr-x 8 root root 4096 Mar 28 2011 ..
-rwxr-xr-x 1 root root 205 Mar 28 2011 addLangs.sh
-rwxr-xr-x 1 root root 417 Mar 28 2011 addNode.sh
-rwxr-xr-x 1 root root 275 Mar 28 2011 attachHome.sh
-rwxr-xr-x 1 root root 182 Mar 28 2011 detachHome.sh
drwxr-xr-x 2 root root 4096 Mar 28 2011 images
-rwxr-xr-x 1 root root 32642 Mar 28 2011 lsnodes
-rwxr-xr-x 1 root root 2071 Mar 28 2011 oraparam.ini
-rwxr-xr-x 1 root root 6437 Mar 28 2011 oraparamsilent.ini
-rwxrwxrwx 1 root root 193708 Mar 28 2011 .oui
drwxr-xr-x 2 root root 4096 Mar 28 2011 resource
-rwxr-xr-x 1 root root 161128 Mar 28 2011 unzip
[root@localhost ~]#
 
Old 09-19-2012, 09:48 PM   #8
Red_Man
LQ Newbie
 
Registered: Nov 2007
Location: Dallas, TX
Distribution: RHEL, CentOS, Fedora
Posts: 16

Rep: Reputation: 0
Oracle install requires GUI.
 
Old 09-20-2012, 12:26 PM   #9
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
The error message can be misleading: what is missing might be the interpreter. If you execute:
Code:
$ readelf -l /home/tmp2/database/install/.oui
you will see a line like:
Code:
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
or:
Code:
[Requesting program interpreter: /lib/ld-linux.so.2]
If the 32 bit version is missing, it might be necessary to install ia32-libs. Otherwise check the header:
Code:
$ readelf -h /home/tmp2/database/install/.oui
whether it’s the right one for your architecture.

Last edited by Reuti; 09-21-2012 at 08:15 AM. Reason: Typo
 
Old 09-21-2012, 12:58 AM   #10
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Reuti View Post
The error message can be misleading: what is missing might be the interpreter. If you execute:
Code:
$ readelf -l /home/tmp2/database/install/.oui
you will see a line like:
Code:
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
or:
Code:
[Requesting program interpreter: /lib/ld-linux.so.2]
If the 32 bit version is missing, it might be necessary to install ia32-libs. Otherwise check the header:
Code:
 readelf -h /home/tmp2/database/install/.oui
whether it’s the right one for your architecture.

[oracle@localhost ~]$ readelf -l /home/tmp2/database/install/.oui

Elf file type is EXEC (Executable file)
Entry point 0x800022ec
There are 8 program headers, starting at offset 64

Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000080000040 0x0000000080000040
0x00000000000001c0 0x00000000000001c0 R E 8
INTERP 0x0000000000000200 0x0000000080000200 0x0000000080000200
0x0000000000000011 0x0000000000000011 R 1
[Requesting program interpreter: /lib64/ld64.so.1]
LOAD 0x0000000000000000 0x0000000080000000 0x0000000080000000
0x000000000001b4f4 0x000000000001b4f4 R E 1000
LOAD 0x000000000001b4f8 0x000000008001c4f8 0x000000008001c4f8
0x0000000000000470 0x0000000000004130 RW 1000
DYNAMIC 0x000000000001b520 0x000000008001c520 0x000000008001c520
0x00000000000001a0 0x00000000000001a0 RW 8
NOTE 0x0000000000000214 0x0000000080000214 0x0000000080000214
0x0000000000000020 0x0000000000000020 R 4
GNU_EH_FRAME 0x0000000000019a58 0x0000000080019a58 0x0000000080019a58
0x00000000000003bc 0x00000000000003bc R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 8

Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
03 .ctors .dtors .jcr .dynamic .got .data .bss
04 .dynamic
05 .note.ABI-tag
06 .eh_frame_hdr
07
[oracle@localhost ~]$
 
Old 09-21-2012, 08:14 AM   #11
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
The requested interpreter is /lib64/ld64.so.1 in your above output, which looks like PowerPC 64. What’s in the:
Code:
$ readelf -h /home/tmp2/database/install/.oui
output?
 
Old 09-21-2012, 10:36 AM   #12
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Reuti View Post
The requested interpreter is /lib64/ld64.so.1 in your above output, which looks like PowerPC 64. What’s in the:
Code:
$ readelf -h /home/tmp2/database/install/.oui
output?

[oracle@localhost ~]$ readelf -h /home/tmp2/database/install/.oui
ELF Header:
Magic: 7f 45 4c 46 02 02 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, big endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: IBM S/390
Version: 0x1
Entry point address: 0x800022ec
Start of program headers: 64 (bytes into file)
Start of section headers: 179568 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 8
Size of section headers: 64 (bytes)
Number of section headers: 36
Section header string table index: 33
[oracle@localhost ~]$
 
Old 09-21-2012, 10:37 AM   #13
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
So: your machine is an IBM S/390?
 
Old 09-21-2012, 10:42 AM   #14
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yeah....
Please let me know the solution..... its very important for me.... Please solve my problem....
 
Old 09-21-2012, 10:44 AM   #15
kazi9822
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
And in your previous thread, you were advised not to use RHEL 5....

Can you execute that file manually?---i.e. not as part of the script. Also, show us the output of:
ls -l /home/tmp2/database/install/

I'm trying to solve this error from last 4 days..... but nothing work..... Please help me...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot execute binary file wanas Linux - Newbie 6 04-03-2009 03:55 AM
cannot execute binary file stefand Linux - Newbie 6 09-11-2007 12:04 PM
DHCP question about denying complete OUI heiner71 Linux - Networking 2 05-04-2007 04:28 PM
Assigning IP via MAC OUI MS3FGX Linux - Networking 1 12-03-2005 04:40 PM
Cannot execute binary file Bigun Linux - Software 17 11-03-2002 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration