3 Replies Latest reply: Nov 11, 2013 4:31 AM by Pradeepcmst RSS

    Oracle Grid Infrastructure Installation Error at Step 10 of 11

    817202

      Hi Guru's

       

      Today i am facing strange problem. I done installation of Grid before this but at that time installation is done successfully but thi stime i am getting the error as mentioned below at Step 10 of 11 on Installation screen.

       

      OS: RHEL 5

      DB VERSION:11GR2

       

      Error:-

       

      Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile

      '/u01/app/oracle/product/grid/network/lib/ins_net_client.mk'.

      See

      '/u01/app/oraInventory/logs/installActions2013-11-10_05-52-30AM.log' for details.

       

      Details of the above mentioned file is:-

       

      INFO: End output from spawned process.

      INFO: ----------------------------------

      INFO: Calling Action unixActions10.2.0.3.0  make

              registerOnly = false

              installMakePath = /usr/bin/make

              installMakeFileName = /u01/app/oracle/product/11.2.0/grid/network/lib/ins_net_client.mk

              installTarget = mkldflags ntcontab.o nnfgt.o

              undoMakeFileName =

              installArguments = ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid

              logFile = /u01/app/oracle/product/11.2.0/grid/install/make.log

              undoTarget =

              progMsg = Linking ldflags

       

      INFO: Linking ldflags

      INFO: Linking ldflags

      INFO: The output of this make operation is also available at: '/u01/app/oracle/product/11.2.0/grid/install/make.log'

      INFO:

       

      INFO: Start output from spawned process:

      INFO: ----------------------------------

      INFO:

       

      INFO: rm -f ntcontab.*

       

      INFO: (if [ "compile" = "compile" ] ; then \

                /u01/app/oracle/product/11.2.0/grid/bin/gennttab > ntcontab.c

                /usr/bin/gcc -m32  -c ntcontab.c

                rm -f /u01/app/oracle/product/11.2.0/grid/lib/ntcontab.o

                mv ntcontab.o /u01/app/oracle/product/11.2.0/grid/lib/

       

      INFO:           /usr/bin/ar rv /u01/app/oracle/product/11.2.0/grid/lib/libn11.a /u01/app/oracle/product/11.2.0/grid/lib/ntcontab.o ; fi)

       

      INFO: /bin/sh: line 2: /usr/bin/gcc: No such file or directory

       

      INFO: mv:

      INFO: cannot stat `ntcontab.o'

      INFO: : No such file or directory

      INFO:

       

      INFO: /usr/bin/ar: /u01/app/oracle/product/11.2.0/grid/lib/ntcontab.o: No such file or directory

       

      INFO: make:

      INFO: *** [ntcontab.o] Error 1

      INFO:

       

      INFO: End output from spawned process.

      INFO: ----------------------------------

      INFO: Exception thrown from action: make

      Exception Name: MakefileException

      Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/u01/app/oracle/product/11.2.0/grid/network/lib/ins_net_client.mk'. See '/u01/app/oraInventory/logs/installActions2013-11-10_05-52-30AM.log' for details.

      Exception Severity: 1

       

       

       

      The Steps i followed to do installation is as follows which i done previously as Well without any problem

       

       

      STEP 1:- Create the new groups and users

      Login as root and create te user oracle which belongs to oinstall,dba,asmdba and asmadmin groups.

      su -
      #groupadd oinstall

      #groupadd dba

      #groupadd oper

      #groupadd asmadmin

      #groupadd asmdba

      #groupadd asmoper

       
      #useradd -g oinstall -G dba,oper,asmadmin oracle
      #passwd oracle

      STEP2:- Setting System kernel parameters

      Edit the /etc/sysctl.confand add following lines: 
      # vi /etc/sysctl.conf

      fs.suid_dumpable = 1
      fs.aio-max-nr = 1048576
      fs.file-max = 6815744
      kernel.shmall = 2097152
      kernel.shmmax = 536870912
      kernel.shmmni = 4096
      # semaphores: semmsl, semmns, semopm, semmni
      kernel.sem = 250 32000 100 128
      net.ipv4.ip_local_port_range = 9000 65500
      net.core.rmem_default=4194304
      net.core.rmem_max=4194304
      net.core.wmem_default=262144
      net.core.wmem_max=1048586

      Note: You need reboot system or execute "sysctl -p" command to apply above settings.
      /sbin/sysctl -p

      STEP 3:- When you login via the /bin/login program the file /etc/pam.d/login file is consulted

       

      Edit /etc/pam.d/login:

      session    required pam_limits.so

       

      STEP 4:- The /etc/profile file controls system-wide default variables, such as:

      1. Export variables
      2. File creation mask (umask)
      3. Terminal types
      4. Mail messages to indicate when new mail has arrived

       

      Edit /etc/profile:
      if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
      umask 022
      if [ $SHELL = "/bin/ksh" ]; then
      ulimit -p 16384
      ulimit -n 65536
      else
      ulimit -u 16384 -n 65536
      fi
      fi


      STEP 5: - To limit httpd (or any other users) user to specific limits by editing /etc/security/limits.conf file

      Edit the /etc/security/limits.conf file and add following lines:

      # vi /etc/security/limits.conf

      oracle              soft    nproc   2047
      oracle              hard    nproc   16384
      oracle              soft    nofile  4096
      oracle              hard    nofile  65536
      oracle              soft    stack   10240


      STEP6:-. Creating oracle directories:-

      #mkdir -p /u01/app/oracle/product/11.2.0/db_1
      #chown -R oracle:oinstall /u01
      #chmod -R 775 /u01
       
      STEP7:- INSTALL THE FOLLOWING PACKAGES:-
      rpm -Uvh binutils-2.*
      rpm -Uvh compat-libstdc++-33*
      rpm -Uvh compat-libstdc++-33*.i386.rpm
      rpm -Uvh elfutils-libelf*
      rpm -Uvh gcc-4.*
      rpm -Uvh gcc-c++-4.*
      rpm -Uvh glibc-2.*
      rpm -Uvh glibc-common-2.*
      rpm -Uvh glibc-devel-2.*
      rpm -Uvh glibc-headers-2.*
      rpm -Uvh ksh*
      rpm -Uvh libaio-0.*
      rpm -Uvh libaio-devel-0.*
      rpm -Uvh libgomp-4.*
      rpm -Uvh libgcc-4.*
      rpm -Uvh libstdc++-4.*
      rpm -Uvh libstdc++-devel-4.*
      rpm -Uvh make-3.*
      rpm -Uvh sysstat-7.*
      rpm -Uvh unixODBC-2.*
      rpm -Uvh unixODBC-devel-2.*
      rpm -Uvh numactl-devel-*
       

      STEP7:- Set secure Linux to permissive by editing the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.

      SELINUX=permissive

       

      STEP 8:- Login as the oracle user and add the following lines at the end of the ".bash_profile" file, remembering to adjust them for your specific installation.

      su - oracle

      cd /home/oracle

      # Oracle Settings

      TMP=/tmp; export TMP

      TMPDIR=$TMP; export TMPDIR

       

      ORACLE_HOSTNAME=ol5-112.localdomain; export ORACLE_HOSTNAME

      ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME

      ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

      ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME

      ORACLE_SID=DB11G; export ORACLE_SID

      PATH=/usr/sbin:$PATH; export PATH

      PATH=$ORACLE_HOME/bin:$PATH; export PATH

       

      LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

      CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

       

      STEP-8- INSTALL ASM RPM's

      oracleasm-support-2.1.3-1.el5.i386.rpm

      oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm

      oracleasm-2.6.18-164.el5PAE-2.0.5-1.el5.i686.rpm

      oracleasmlib-2.0.4-1.el5.i386.rpm

       

      TO PARTITION A DISK :-

      # cat/proc/partitions

      # fdisk /dev/sdc

      # fdisk /dev/sdd

      # fdisk /dev/sde

      # fdisk /dev/sdf

      # fdisk /dev/sdg

      # fdisk /dev/sdh

      # fdisk /dev/sdi

      # fdisk /dev/sdj

      # fdisk /dev/sdk

      # fdisk /dev/sdl

      # fdisk /dev/sdm

      # fdisk /dev/sdn

      # fdisk /dev/sdo

      #cat /proc/parttions

      # oracleasm configure -i

      #oracleasm init

      # oracleasm createdisk ASMDATA1 /dev/sdc1

      # oracleasm createdisk ASMDATA2 /dev/sdd1

      # oracleasm createdisk ASMDATA3 /dev/sde1

      # oracleasm createdisk ASMDATA4 /dev/sdf1

      # oracleasm createdisk ASMDATA5 /dev/sdg1

      # oracleasm createdisk ASMDATA6 /dev/sdh1

      # oracleasm createdisk ASMDATA7 /dev/sdi1

      # oracleasm createdisk ASMDATA8 /dev/sdj1

      # oracleasm createdisk ASMDATA9 /dev/sdk1

      # oracleasm createdisk ASMDATA10 /dev/sdl1

      # oracleasm createdisk ASMDATA11 /dev/sdm1

      # oracleasm createdisk ASMDATA12 /dev/sdn1

      # oracleasm createdisk ASMDATA13 /dev/sdo1

      #oracleasm listdisks

      # ls -l /dev/oracleasm/disks

      # chown -R oracle:oinstall /stage/grid/runInstaller

      # chmod -R 775 /stage/grid/runInstaller

      # chown -R oracle:oinstall /stage/grid/install/.oui

      # chmod -R 775 /stage/grid/install/.oui

      # chown -R oracle:oinstall /stage/grid/install/unzip

      # chmod -R 775 /stage/grid/install/unzip

       

       

       

       

      One thin more during the prereuisites check Installer will throw error but when i checked the details of the error it shows :-

       

       

      PRVF-7531:Physical Mmeory check cannot be performed on node "testing"

      -Cause: Could not perform check for physical memory on the node indicated.

      -Action: Ensure ability to access the node sepcified and view memory information

       

       

      Please help over the same its urgent.

       

       

      Thanks in advance.