Oracle Database 11g install on Centos 7

Problem encountered when installing Oracle 11g on Centos 7

Google suggested this was a fairly common problem with machines with a newer GLIBC. Most of the suggested solutions didn’t work for me (writing a glib memcpy shim etc). Instead I was able to statically link this executable against the glibc archive which didn’t have the problem with the missing [email protected] reference.

yum install glibc-static.x86_64

yum install glibc-static.i686

vi /u01/app/oracle/product/11.2.0/dbhome_2/ctx/lib/ins_ctx.mk

ctxhx: $(CTXHXOBJ)

-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib64/stdc.a

I additionally had to patch the the ins_emagent.mk to link to the libnnz11 library:

vi /u01/app/oracle/product/11.2.0/dbhome_2/sysman/lib/ins_emagent.mk

Search for the line

$(MK_EMAGENT_NMECTL)

Change it to:

$(MK_EMAGENT_NMECTL) -lnnz11

Then press the Retry button and it should install correctly!

 

——

ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;

ALTER SYSTEM SET OPEN_CURSORS=500 SCOPE=SPFILE;

 

7 Replies to “Oracle Database 11g install on Centos 7”

  1. Thanks! this worked for me

    I was installing Oracle 11gR2 on CentOS 7 and ran into the first problem listed here (ins_ctx)

    I ran the fix for both of them (my oracle home was a slightly different place) and then selected retry on my oracle installation and all good!

    Plus to note i had a bunch of pre-check failures which I ignored and continued.. 9 packages it couldn’t find I believe, which I had new versions of them or I couldn’t find them on yum

  2. its not working for me. can anyone suggest any other workround. i am installing 11gR2 on RHEL 5. I got the below error.

    Error in invoking target ‘nmo’ of makefile ‘/u01/app/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk’. See ‘/u01/app/oraInventory/logs/installActions2015-12-12_11-57-43AM.log’ for details.

    i have changed the below value in ins_emagent.mk

    $(MK_EMAGENT_NMECTL) -lnnz11

    but still issue persist. Plese suggest.

    1. Any updates for Ravi’s question above?

      its not working for me. can anyone suggest any other workround. i am installing 11gR2 on RHEL 5. I got the below error.

      Error in invoking target ‘nmo’ of makefile ‘/u01/app/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk’. See ‘/u01/app/oraInventory/logs/installActions2015-12-12_11-57-43AM.log’ for details.

      i have changed the below value in ins_emagent.mk

      $(MK_EMAGENT_NMECTL) -lnnz11

      but still issue persist. Plese suggest.

  3. You might want to check all the pre-requisite checks that are done when installing. I know you can ignore them but sometimes that is bad 🙂 Also you can try using Centos6 or OEL6

  4. I was installing Oracle 11gR2 on CentOS 7 and ran into the first problem listed here (ins_ctx) but the solution does’nt work for me, i have checked all the pre-requisite .

    any suggest??

    thanks

Leave a Reply

Your email address will not be published. Required fields are marked *