LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   .oui: cannot execute binary file .oui: cannot execute binary file .oui (https://www.linuxquestions.org/questions/linux-server-73/oui-cannot-execute-binary-file-oui-cannot-execute-binary-file-oui-4175427848/)

kazi9822 09-18-2012 11:20 AM

.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...

414N 09-19-2012 03:51 AM

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.

pixellany 09-19-2012 04:37 AM

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.

kazi9822 09-19-2012 04:41 AM

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]#

kazi9822 09-19-2012 04:43 AM

Quote:

Originally Posted by pixellany (Post 4784002)
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.....

pixellany 09-19-2012 06:15 AM

Quote:

Originally Posted by kazi9822 (Post 4784010)
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/

kazi9822 09-19-2012 01:00 PM

Quote:

Originally Posted by pixellany (Post 4784039)
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 ~]#

Red_Man 09-19-2012 09:48 PM

Oracle install requires GUI.

Reuti 09-20-2012 12:26 PM

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.

kazi9822 09-21-2012 12:58 AM

Quote:

Originally Posted by Reuti (Post 4785252)
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 ~]$

Reuti 09-21-2012 08:14 AM

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?

kazi9822 09-21-2012 10:36 AM

Quote:

Originally Posted by Reuti (Post 4785798)
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 ~]$

Reuti 09-21-2012 10:37 AM

So: your machine is an IBM S/390?

kazi9822 09-21-2012 10:42 AM

Yeah.... :(
Please let me know the solution..... its very important for me.... Please solve my problem....

kazi9822 09-21-2012 10:44 AM

Quote:

Originally Posted by pixellany (Post 4784039)
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...


All times are GMT -5. The time now is 10:33 AM.