Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing Oracle 11gR2 on RHE5

932263Apr 21 2012 — edited Apr 21 2012
Hello all,

First of, this is my first post and I am definetly a newbie when it comes to Oracle and Linux, so bear with me.

I am trying to install the Oracle 11gR2 32-bits database on Red Hat Enterprise 5.5 64-bits. I tried to look up information on google about this and found I needed to install certain packages for this to be possible. So I went ahead and installed the following list of packages, doing the following procedure:

mount /dev/cdrom /mnt; cd /mnt/Server
rpm -ivh kernel-headers-2.6.18-194.el5.x86_64.rpm
rpm -ivh glibc-headers-2.5-49.x86_64.rpm
rpm -ivh glibc-devel-2.5-49.x86_64.rpm
rpm -ivh libstdc++-devel-4.1.2-48.el5.x86_64.rpm
rpm -ivh compat-db-4.2.52-5.1.x86_64.rpm
rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm
rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm
rpm -ivh gcc-c++-4.1.2-48.el5.x86_64.rpm
rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm
rpm -ivh unixODBC-2.2.11-7.1.x86_64.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.x86_64.rpm
rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
rpm -ivh libstdc++-devel-4.1.2-48.el5.i386.rpm
rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
rpm -ivh libaio-devel-0.3.106-5.x86_64.rpm
rpm -ivh elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
rpm -ivh compat-gcc-34-3.4.6-4.x86_64.rpm
rpm -ivh compat-gcc-34-c++-3.4.6-4.x86_64.rpm
rpm -ivh gdb-7.0.1-23.el5.x86_64.rpm
rpm -ivh libtermcap-devel-2.0.8-46.1.x86_64.rpm
rpm -ivh readline-devel-5.1-3.el5.x86_64.rpm
rpm -ivh glibc-devel-2.5-49.i386.rpm
rpm -ivh libaio-devel-0.3.106-5.i386.rpm
cd /; umount /mnt; eject

I then proceeded to extract both linux_11gR2_database_1of2.zip and linux_11gR2_database_2of2.zip and did the pertinent cut/paste to the database folder. I went ahead and excuted the runInstaller.sh in the Terminal. I am logged in a regular user account, not root. As I ran the installer, I wanted to modify the installation destination to /oracle but it wouldnt let me. So I opened a new Terminal, logged in as root using su command, made my way to / and did mkdir /oracle. Then, I did cd oracle and had to create another folder for the installer to proceed, so I did mkdir /oracle/oraDirectory. The installer went fine until the pre reqs, but I ran the fix script the installer brings. I worked like charm and proceeded to start the installation.

At that point, it gave me following message:
Error in invoking target '' of makefile... It did two times, here is the log for the error.

Exception Name: MakefileException
Exception String: Error in invoking target 'nmo' of makefile '/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/oraInventory/logs/installActions2012-04-21_09-16-00AM.log' for details.
Exception Severity: 1
INFO: Calling Action unixActions10.2.0.3.0 make
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = /oracle/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk
installTarget = ctx_on
undoMakeFileName =
installArguments = ORACLE_HOME=/oracle/product/11.2.0/dbhome_1
logFile = /oracle/product/11.2.0/dbhome_1/install/make.log
undoTarget =
progMsg = Linking Text Option

Exception String: Error in invoking target 'agent nmhs' of makefile '/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/oraInventory/logs/installActions2012-04-21_09-16-00AM.log' for details.
Exception Severity: 1
INFO: Calling Action unixActions10.2.0.3.0 make
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = /oracle/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk
installTarget = all_no_orcl
undoMakeFileName =
installArguments = ORACLE_HOME=/oracle/product/11.2.0/dbhome_1
logFile = /oracle/product/11.2.0/dbhome_1/install/make.log
undoTarget =
progMsg = Linking RDBMS Executables

Exception String: Error in invoking target 'nmb' of makefile '/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/oraInventory/logs/installActions2012-04-21_09-16-00AM.log' for details.
Exception Severity: 1
INFO: Calling Action unixActions10.2.0.3.0 make
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = /oracle/product/11.2.0/dbhome_1/sqlplus/lib/ins_sqlplus.mk
installTarget = install
undoMakeFileName =
installArguments = ORACLE_HOME=/oracle/product/11.2.0/dbhome_1
logFile = /oracle/product/11.2.0/dbhome_1/install/make.log
undoTarget =
progMsg = Linking SQLPLUS Executables


I hit continous to all three of these and the installation kept going fine, until the Oracle Net Configuration failed (INS-20802). This I cound find in the log file:

INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Parsing command line arguments:
INFO: Parameter "orahome" = /oracle/product/11.2.0/dbhome_1
INFO: Parameter "orahnam" = OraDb11g_home1
INFO: Parameter "instype" = typical
INFO: Parameter "inscomp" = client,oraclenet,javavm,server,ano
INFO: Parameter "insprtcl" = tcp
INFO: Parameter "cfg" = local
INFO: Parameter "authadp" = NO_VALUE
INFO: Parameter "responsefile" = /oracle/product/11.2.0/dbhome_1/network/install/netca_typ.rsp
INFO: Parameter "silent" = true
INFO: Done parsing command line arguments.
INFO: Oracle Net Services Configuration:
INFO: #
INFO: # An unexpected error has been detected by HotSpot Virtual Machine:
INFO: #
INFO: # SIGSEGV (0xb) at pc=0xe45d936e, pid=10531, tid=4160395472
INFO: #
INFO: # Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
INFO: # Problematic frame:
INFO: # C [libnnz11.so+0x3c36e]
INFO: #
INFO: # An error report file with more information is saved as hs_err_pid10531.log
INFO: #
INFO: # If you would like to submit a bug report, please visit:
INFO: # http://java.sun.com/webapps/bugreport/crash.jsp
INFO: #
WARNING: /oracle/product/11.2.0/dbhome_1/bin/netca: line 178: 10531 Aborted $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*
WARNING:
INFO:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.

I clicked OK and then the Database Configuration failed also. Afterwards, the installer said to run two scripts, which I did, no problems there. And the installer finished with succeeded in everything but the two services.

And that's where I stand right now, thanking in advance to you guys for any useful help. I need to get Oracle running on Linux, and be able to create and connect and mantain a database.

Thanks again!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2012
Added on Apr 21 2012
4 comments
773 views