12 Replies Latest reply: May 6, 2011 11:50 PM by 838779 RSS

    RW-50004 while installing R12

    622319
      Hi everybody,

      I got this error while installing Oracle applications R12 on linux AS4 or Oracle unbreakable linux (I got the same error on both OSs)

      During step 2 in the installation (Configuring Database) i got the following error:

      RW-50004: Error code received when running
      external process. Check log file for details.
      Running Datasbe Install Driver for MYPROD instance

      * and I have two options (Retry and Abort)


      Here is the logfile contents:
      =============================

      [root@adel ~]# tail -50 /oracle/MYPROD/db/tech_st/10.2.0/appsutil/log/MYPROD_adel/04080757.log

      Processing Disk46....


      runProcess_2

      Statusstring Registering Database

      Executing command: /Stage/startCD/Disk1/rapidwiz/jre/Linux/1.5.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /Stage/startCD/Disk1/rapidwiz/jlib/java:/Stage/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/Stage/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /oracle/MYPROD/db/tech_st/10.2.0/appsutil/MYPROD_adel.xml -stage /Stage/startCD/Disk1/rapidwiz -showProgress -phase reg -nopromptmsg

      Log file located at /oracle/MYPROD/db/tech_st/10.2.0/appsutil/log/MYPROD_adel/ApplyDatabase_04080913.log


      | 0% completed



      runProcess_3

      Statusstring Configuring Database

      Executing command: /Stage/startCD/Disk1/rapidwiz/jre/Linux/1.5.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /Stage/startCD/Disk1/rapidwiz/jlib/java:/Stage/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/Stage/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/Stage/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /oracle/MYPROD/db/tech_st/10.2.0/appsutil/MYPROD_adel.xml -stage /Stage/startCD/Disk1/rapidwiz -showProgress -phase cfg -nopromptmsg

      Log file located at /oracle/MYPROD/db/tech_st/10.2.0/appsutil/log/MYPROD_adel/ApplyDatabase_04080913.log


      | 0% completed
      / 0% completed
      - 0% completed
      \ 0% completed
      | 0% completed
      / 0% completed
      - 0% completed
      \ 0% completed
      | 0% completed
      / 0% completed
      - 0% completed
      \ 0% completed
      | 0% completed
      / 0% completed
      - 0% completed
      \ 0% completed RC-50004: Fatal: Error occurred in ApplyDatabase:

      Control file creation failed

      Cannot execute configure of database using RapidClone

      RW-50010: Error: - script has returned an error: 1
      RW-50004: Error code received when running external process. Check log file for details.
      Running Database Install Driver for MYPROD instance


      ===========================================
      I try to connect to the database using sys account:
      ---------------------------------------------------------------
      [root@adel 10.2.0]# echo $ORACLE_HOME
      /oracle/MYPROD/db/tech_st/10.2.0
      [root@adel 10.2.0]# echo $ORACLE_SID
      MYPROD
      [root@adel 10.2.0]# echo $LD_LIBRARY_PATH
      /oracle/MYPROD/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/MYPROD/db/tech_st/10.2.0/lib:/usr/dt/lib:/oracle/MYPROD/db/tech_st/10.2.0/ctx/lib
      [root@adel 10.2.0]# echo $PATH
      /oracle/MYPROD/db/tech_st/10.2.0/perl/bin:/oracle/MYPROD/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/MYPROD/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
      [root@adel 10.2.0]#



      [root@adel bin]# sqlplus "/ as sysdba"

      SQL*Plus: Release 10.2.0.2.0 - Production on Tue Apr 8 11:08:24 2008

      Copyright (c) 1982, 2005, Oracle. All Rights Reserved.

      oracleMYPROD: error while loading shared libraries: libskgxp10.so: cannot open shared object file: No such file or directory
      ERROR:
      ORA-12547: TNS:lost contact

      ============================================

      I try the following :
      ====================

      cd $ORACLE_HOME/lib
      relink all


      after finish I still have the same error !!!!

      Can you help me in that, Thanks in advance.
        • 1. Re: RW-50004 while installing R12
          639351
          Hi,

          I am having the same problem.. Did you solve your problem? Please let me know. I am stuck.

          Thanks,

          Srini
          • 2. Re: RW-50004 while installing R12
            505467
            pls check this..if it can be of any help

            http://appsdbablog.com/blog/2006/09/installing_oracle_applications.html
            • 3. Re: RW-50004 while installing R12
              Hussein Sawwan-Oracle
              Control file creation failed
              Make sure you have all pre-req. packages/software installed, and set kernel parameters properly before running RapidWiz.

              Note: 402310.1 - Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (32-bit)
              https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=402310.1
              • 4. Re: RW-50004 while installing R12
                622319
                Hello again,

                this is my configurations :

                [oratest@ondemand01 ~]$ cat /etc/redhat-release
                Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
                [oratest@ondemand01 ~]$ uname -r
                2.6.9-42.EL
                [oratest@ondemand01 ~]

                Checking all packages:
                =======================
                [oratest@ondemand01 Stage]$ rpm -q glibc-2.3.4-2.25 glibc-common-2.3.4-2.25 binutils-2.15.92.0.2-21 compat-libstdc++-296-2.96-132.7.2 gcc-3.4.6-3 gcc-c++-3.4.6-3 libgcc-3.4.6-3 libstdc++-3.4.6-3 libstdc++-devel-3.4.6-3 openmotif21-2.1.30-11.RHEL4.6 pdksh-5.2.14-30.3 setarch-1.6-1 make-3.80-6.EL4 gnome-libs-1.4.1.2.90-44.1 sysstat-5.0.5-11.rhel4 compat-db-4.1.25-9 control-center-2.8.0-12.rhel4.5 xscreensaver-4.18-5.rhel4.11 libaio-0.3.105-2 libaio-devel-0.3.105-2

                glibc-2.3.4-2.25
                glibc-common-2.3.4-2.25
                binutils-2.15.92.0.2-21
                compat-libstdc++-296-2.96-132.7.2
                gcc-3.4.6-3
                gcc-c++-3.4.6-3
                libgcc-3.4.6-3
                libstdc++-3.4.6-3
                libstdc++-devel-3.4.6-3
                openmotif21-2.1.30-11.RHEL4.6
                pdksh-5.2.14-30.3
                setarch-1.6-1
                make-3.80-6.EL4
                gnome-libs-1.4.1.2.90-44.1
                sysstat-5.0.5-11.rhel4
                compat-db-4.1.25-9
                control-center-2.8.0-12.rhel4.5
                xscreensaver-4.18-5.rhel4.11
                libaio-0.3.105-2
                libaio-devel-0.3.105-2
                [oratest@ondemand01 Stage]$


                sysctl.conf:
                ============
                [oratest@ondemand01 Stage]$ cat /etc/sysctl.conf
                # Kernel sysctl configuration file for Red Hat Linux
                #
                # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
                # sysctl.conf(5) for more details.

                # Controls IP packet forwarding
                net.ipv4.ip_forward = 0

                # Controls source route verification
                net.ipv4.conf.default.rp_filter = 1

                # Do not accept source routing
                net.ipv4.conf.default.accept_source_route = 0

                # Controls the System Request debugging functionality of the kernel
                kernel.sysrq = 0

                # Controls whether core dumps will append the PID to the core filename.
                # Useful for debugging multi-threaded applications.
                kernel.core_uses_pid = 1

                kernel.sem = 256 32000 100 142
                kernel.shmall = 2097152
                kernel.shmmax = 2147483648
                kernel.shmmni = 4096
                kernel.msgmax = 8192
                kernel.msgmnb = 65535
                kernel.msgmni = 2878
                fs.file-max = 65536
                net.ipv4.ip_local_port_range = 1024 65000
                net.core.rmem_default = 262144
                net.core.rmem_max = 262144
                net.core.wmem_default = 262144
                net.core.wmem_max = 262144

                resolv.conf:
                ============
                [oratest@ondemand01 Stage]$ cat /etc/resolv.conf
                nameserver 192.168.93.1
                options attempts:5
                options timeout:15
                [oratest@ondemand01 Stage]$

                hosts:
                =======

                [oratest@ondemand01 Stage]$ cat /etc/hosts
                # Do not remove the following line, or various programs
                # that require network functionality will fail.
                127.0.0.1 localhost.localdomain localhost
                192.168.93.20 ondemand01.oracle.com ondemand01
                [oratest@ondemand01 Stage]$

                network:
                ========
                [oratest@ondemand01 Stage]$ cat /etc/sysconfig/network
                NETWORKING=yes
                HOSTNAME=ondemand01.oracle.com
                [oratest@ondemand01 Stage]$

                network file check:
                ===================
                [oratest@ondemand01 Stage]$ ls -l /etc/sysconfig/networking/profiles/default/network
                ls: /etc/sysconfig/networking/profiles/default/network: No such file or directory
                [oratest@ondemand01 Stage]$

                limits.conf:
                =============
                [oratest@ondemand01 Stage]$ tail -10 /etc/security/limits.conf
                #@student hard nproc 20
                #@faculty soft nproc 20
                #@faculty hard nproc 50
                #ftp hard nproc 0
                #@student - maxlogins 4
                * hard nofile 65535
                * soft nofile 4096
                * hard nproc 16384
                * soft nproc 2047
                # End of file
                [oratest@ondemand01 Stage]$


                I tried to reinstall the OS and start from scratch but still face the same problem...

                can you help please ..........

                Thanks
                • 5. Re: RW-50004 while installing R12
                  user517036
                  Hi,

                  I am having the same problem.. Did you solve your problem? Please let me know. I am stuck.

                  Thanks,

                  Rafael Teixeira
                  • 6. Re: RW-50004 while installing R12
                    622319
                    Hi Rafael,

                    I am still with no solutions ... Can anybody help us in this ? ?
                    • 7. Re: RW-50004 while installing R12
                      user517036
                      Hi Mohamed,

                      Our environment is installed the Operational System Oracle Enterprise Linux 4 (Update 7) in 32 bit.

                      What is the Operational System and platform of your environment? It´s 32 bit? You already tried to install on 64 bit?

                      Let you know if I can install.

                      Thanks,

                      Rafael Teixeira
                      • 8. Re: RW-50004 while installing R12
                        user517036
                        Hy Mohamed,

                        Great news!!!!!

                        My problem was resolved. After to change the parameter kernel.shmmax (file /etc/sysctl.conf) for the new value 2147483648 the Installation of the EBS was successfully.

                        Please, check the Note 462077.1 for more details.

                        Let me know if you solved your problem.

                        Good luck,

                        Rafael Teixeira
                        (mail=> rafaelfteixeira@gmail.com)
                        • 9. Re: RW-50004 while installing R12
                          622319
                          Hi Rafael,

                          My configuration already contains this value, you can kindly check my configurations in a previous update
                          and let me know if you can see any wrong configurations.

                          Thanks,
                          Mohamed
                          • 10. Re: RW-50004 while installing R12
                            854859
                            Hi,
                            I am installing R12 on Windows 2008 (32 bit). After 13% I got the same error .
                            RW-50004 : Error code received when running external process. Check log file for details.

                            Running Database Install Driver for prod instance.

                            I am stuck . How can i resolve the issue .

                            Thanks
                            Bikash
                            • 11. Re: RW-50004 while installing R12
                              Hussein Sawwan-Oracle
                              I am installing R12 on Windows 2008 (32 bit). After 13% I got the same error .
                              RW-50004 : Error code received when running external process. Check log file for details.

                              Running Database Install Driver for prod instance.
                              This is a generic error -- Please check the installation log files for details about the error.

                              Thanks,
                              Hussein
                              • 12. Re: RW-50004 while installing R12
                                838779
                                Hi,

                                Please check this doc id : 468695.1
                                Problem : Getting RW-50010 and RW-50004 Errors When Installing Oracle Applications Release 12.0 on Linux 64-bit

                                Hope it's works.

                                Thanks
                                Jimmy