LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2012, 08:04 PM   #1
reddy.fsc
LQ Newbie
 
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
Oracle 10g installation error on Centos 6.2 64 bit Server


Hi All,

I am trying to install oracle (10201_database_linux_x86_64.cpio) on Centos 6.2 64 bit system ,when i ran runInstaller i am running into following error, can someone please help me in fixing this issue-

[oracle@ms database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2, redhat-5 or redhat-6
Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-05-28_09-02-18PM. Please wait ...[oracle@ms database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-05-28_09-02-18PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)

Thanks,
Reddy
 
Old 05-28-2012, 09:08 PM   #2
Zetec
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
Do you need to sudo the installer?

[oracle@ms database]$sudo ./runInstaller
 
Old 05-28-2012, 10:49 PM   #3
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
did you check if libXp is installed on your system?
 
Old 05-29-2012, 07:38 AM   #4
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
It appears like libXp is not installed in the system. You can install it using yum

Quote:
yum install libXp
 
Old 05-29-2012, 08:58 AM   #5
reddy.fsc
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
HI Zetec,

I am installing as Oracle User , Do we need to install as root user?

LibXP is already installed on system And i tried to reinstall I386 LibXp rpm ,but it didnt went through .Below is the o/p

[root@ms ~]# yum install libXp
Loaded plugins: refresh-packagekit, security
Repository google-chrome is listed more than once in the configuration
Setting up Install Process
Package libXp-1.0.0-15.1.el6.x86_64 already installed and latest version
Nothing to do
[root@ms ~]#


[root@ms ~]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e856 2897: NOKEY
Preparing... ########################################### [100%]
package libXp-1.0.0-15.1.el6.x86_64 (which is newer than libXp-1.0.0-8.1 .el5.i386) is already installed
file /usr/share/doc/libXp-1.0.0/AUTHORS from install of libXp-1.0.0-8.1. el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
file /usr/share/doc/libXp-1.0.0/COPYING from install of libXp-1.0.0-8.1. el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
file /usr/share/doc/libXp-1.0.0/ChangeLog from install of libXp-1.0.0-8. 1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
file /usr/share/doc/libXp-1.0.0/INSTALL from install of libXp-1.0.0-8.1. el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
[root@ms ~]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ########################################### [100%]
package libXp-1.0.0-15.1.el6.x86_64 (which is newer than libXp-1.0.0-8.1.el5.i386) is already installed
file /usr/share/doc/libXp-1.0.0/AUTHORS from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
file /usr/share/doc/libXp-1.0.0/COPYING from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
file /usr/share/doc/libXp-1.0.0/ChangeLog from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
file /usr/share/doc/libXp-1.0.0/INSTALL from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
[root@ms ~]# rpm -ivh libX11-1.0.3-11.el5_7.1.i386.rpm
warning: libX11-1.0.3-11.el5_7.1.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
libXdmcp.so.6 is needed by libX11-1.0.3-11.el5_7.1.i386
[root@ms ~]#
 
Old 05-29-2012, 09:34 AM   #6
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Do you see libXp.so.6 under /usr/lib64 dir?

Code:
ll /usr/lib/libXp.so.6
Try to find using find command,

Quote:
find / -iname libXp.so.6 -type f
then you will need to copy the file to /usr/lib64/ and check the installation again
 
Old 05-29-2012, 09:00 PM   #7
reddy.fsc
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I did find libXp.so.6 in /usr/lib64 directory . i then copied the same file to usr/lib and then ran runinstaller . i ran into following error

[oracle@ms database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2, redhat-5 or redhat-6
Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-05-29_10-50-22AM. Please wait ...[oracle@ms database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-05-29_10-50-22AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: wrong ELF class: ELFCLASS64
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
 
Old 05-29-2012, 09:29 PM   #8
commx
LQ Newbie
 
Registered: Sep 2003
Distribution: Arch
Posts: 16

Rep: Reputation: 0
Please do not copy files from /usr/lib64 to /usr/lib as the directory structure separates 64bit libraries from 32bit ones. Remove your /usr/lib/libXp.so.6 that you've been copying over previously and install the appropriate 32bit package of libXp by using
Code:
yum install libXp.i686
 
Old 05-29-2012, 10:16 PM   #9
reddy.fsc
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi,

LibXp.i686 package is already installed , Installation is looking for i386 package (/jre/1.4.2/lib/i386/libawt.so: libXp.so.6). I tried to install 386 package, but unable to succeed . i pasted the issue in one of response for this thread. please guide me
 
Old 05-29-2012, 11:46 PM   #10
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Can you give the output of this command

PHP Code:
rpm -qa grep -i libxp 
 
Old 05-30-2012, 06:44 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
What you have
Code:
Package libXp-1.0.0-15.1.el6.x86_64 already installed and latest version
What you tried to install (twice!)
Code:
 rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
What you also tried to install
Code:
rpm -ivh libX11-1.0.3-11.el5_7.1.i386.rpm
Hint: el6 = RHEL6, el5 = RHEL5 .....

I strongly suggest you contact RH and get some proper advice.
 
Old 08-22-2012, 08:02 AM   #12
cnd
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
You need these 3 to run the installer:-

yum install libXp.i686
yum install libXt.i686
yum install libXtst.i686

(and yes - I know is says i686 on those - this is the *same* as i386, and does work).

You also need this to pass the resulting database "link" stage:-

yum install glibc-devel.i686

I think there's more work still needed though - whines about "ins_emdb.mk" after the above.
 
Old 08-22-2012, 10:59 AM   #13
cnd
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
Update - it is safe to click "Continue" when the "ins_emdb.mk" popup shows up - the install completes without errors, and everything works fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Oracle 10g Installation on Redhat Enterprize Linux 4 Advance server sachinkhot Linux - Enterprise 6 05-07-2013 09:39 AM
installation of oracle 10g on redhat 5.following error ocur waheed gul Linux - Newbie 2 12-04-2011 01:12 AM
error occured during oracle database 10g installation muvendrann Linux - Software 1 10-06-2009 09:17 AM
Oracle 10g installation on RHEL 5 server shobhit85 Red Hat 2 07-21-2009 09:43 AM


All times are GMT -5. The time now is 12:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration