1 2 3 Previous Next 34 Replies Latest reply: Mar 14, 2013 5:24 PM by Hussein Sawwan-Oracle RSS

    RW-50010: Error: - script has returned an error:   127

    user564785
      I'm trying to intall EBS 12.1.1 on Linux 5. During the install, I get the following error. Does anyone have any idea what this is?

      Cannot execute Install for database ORACLE_HOME

      RW-50010: Error: - script has returned an error: 127
      RW-50004: Error code received when running external process. Check log file for details.
      Running Database Install Driver for PROD instance
      instantiate file:
      source : /tmp/RapidInstall/etc/adxdbctx.tmp
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/tmpPROD_localhost.xml
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/tmpPROD_localhost.xml
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/RapidInstall/etc/adxmlctx.tmp
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/tmpPROD_localhost.xml
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/tmpPROD_localhost.xml
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/RapidInstall/etc/adxdbctx.tmp
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/tmpPROD_localhost.xml
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
      source : /tmp/tmpPROD_localhost.xml
      dest : /tmp/tmpPROD_localhost.xml
      instantiate file:
        • 1. Re: RW-50010: Error: - script has returned an error:   127
          Hussein Sawwan-Oracle
          RW-50010: Error: - script has returned an error: 127
          RW-50004: Error code received when running external process. Check log file for details.
          This is a generic error, so please check the log files for details -- How to locate the log files and troubleshoot Rapid Install for Release 12.0.x and 12.1.x [ID 452120.1]

          Please also run md5sum as per (MD5 Checksums for R12.1.1 Rapid Install Media [ID 802195.1]) to verify the integrity of the stage area directory.
          dest : /tmp/tmpPROD_localhost.xml
          instantiate file:
          Please avoid using localhost in your installation and use a different hostname.

          Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
          Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]

          Thanks,
          Hussein
          • 2. Re: RW-50010: Error: - script has returned an error:   127
            user564785
            Where exactly is this directory?
            • 3. Re: RW-50010: Error: - script has returned an error:   127
              user564785
              Where exactly is this directory?
              • 4. Re: RW-50010: Error: - script has returned an error:   127
                Hussein Sawwan-Oracle
                user564785 wrote:
                Where exactly is this directory?
                What directory you are referring to? If you mean the stage area directory, then it is the directory that you created and where you run the installer from.

                Thanks,
                Hussein
                • 5. Re: RW-50010: Error: - script has returned an error:   127
                  user564785
                  I was referring to the log files. I was able to view the log file in /d01/oracle/PROD/db//tech/11.1.0/appsutil/log/PORD_localhost, but that log was only showed the generic error.
                  • 6. Re: RW-50010: Error: - script has returned an error:   127
                    Hussein Sawwan-Oracle
                    user564785 wrote:
                    I was referring to the log files. I was able to view the log file in /d01/oracle/PROD/db//tech/11.1.0/appsutil/log/PORD_localhost, but that log was only showed the generic error.
                    It is in the doc referenced in my first reply!

                    Thanks,
                    Hussein
                    • 7. Re: RW-50010: Error: - script has returned an error:   127
                      user564785
                      I perfomed the md5sum and all files seems to have downloaded ok. Below are some additonal information found in the log file. Please let me know if anyone has any solution to this?


                      RW-50011: Error: - Database ORACLE_HOME connection test has returned an error: 1
                      command: su applmgr -c "/tmp/RapidInstall/bin/riwTDBup.sh /d01/oracle/PROD/inst/apps/PROD_localhost/ora/10.1.2/PROD_localhost.env APPS/APPS"


                      riwTDBup.sh started at Wed Feb 20 07:08:04 PST 2013

                      Parameters passed are : /d01/oracle/PROD/inst/apps/PROD_localhost/ora/10.1.2/PROD_localhost.env APPS/APPS
                      Cannot find environment file /d01/oracle/PROD/inst/apps/PROD_localhost/ora/10.1.2/PROD_localhost.env


                      RW-50011: Error: - Apps ORACLE_HOME connection test has returned an error: 1
                      Configuration Upload


                      uploading config file at /d01/oracle/PROD/db/tech_st/11.1.0/appsutil/conf_PROD.txt

                      AppsConfig : 'config.txt' uploading...

                      ---------------------------------------------------------------
                      ADX Database Utility
                      ---------------------------------------------------------------

                      getConnectionUsingAppsJDBCConnector() -->
                      APPS_JDBC_URL='null'
                      Trying to get connection using SID based connect descriptor
                      getConnection() -->
                      sDbHost : localhost
                      sDbDomain : localdomain
                      sDbPort : 1521
                      sDbSid : PROD
                      sDbUser : APPS
                      Trying to connect using SID...
                      getConnectionUsingSID() -->
                      JDBC URL: jdbc:oracle:thin:@localhost.localdomain:1521:PROD
                      Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
                      Trying to connect using SID as ServiceName
                      getConnectionUsingServiceName() -->
                      JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
                      Failed upload of config file at /d01/oracle/PROD/db/tech_st/11.1.0/appsutil/conf_PROD.txt
                      • 8. Re: RW-50010: Error: - script has returned an error:   127
                        Hussein Sawwan-Oracle
                        Please use a hostname different than "localhost" when you do EBS installation.

                        Please upload all log files to any free hosting website (in one zip file) and post the link here so we can review the logs.

                        Thanks,
                        Hussein
                        • 9. Re: RW-50010: Error: - script has returned an error:   127
                          user564785
                          Found some additional information in the log file. Any idea how to resolve this?

                          =============================================================
                          Processing the contents of : Disk57
                          Processing the driver file : /mnt/hgfs/shared/EBS/r12stage/oraAppDB/Disk57/data/driver/Disk57.drv
                          ----------------------------
                          UNZIPPING THE DISK57 CONTENTS
                          ----------------------------

                          UNZIP used: UnZip 5.52 of 28 February 2005, by Info-ZIP. Maintained by C. Spieler. Send
                          Unzip1 - Start of native unzipping /mnt/hgfs/shared/EBS/r12stage/oraAppDB/Disk57/data/stage/data_dat24.zip at /d01/oracle/PROD/db/apps_st/data/
                          Unzip1

                          .end std out.

                          .end err out.


                          Unzip1 - Completed native unzipping unzip -qn /mnt/hgfs/shared/EBS/r12stage/oraAppDB/Disk57/data/stage/data_dat24.zip -d /d01/oracle/PROD/db/apps_st/data/
                          Thread exiting ..
                          Unzip3 - Start of native unzipping /mnt/hgfs/shared/EBS/r12stage/oraAppDB/Disk57/data/stage/data_dat21.zip at /d01/oracle/PROD/db/apps_st/data/
                          Unzip3

                          .end std out.

                          .end err out.


                          Unzip3 - Completed native unzipping unzip -qn /mnt/hgfs/shared/EBS/r12stage/oraAppDB/Disk57/data/stage/data_dat21.zip -d /d01/oracle/PROD/db/apps_st/data/
                          Thread exiting ..
                          Unzip5 - Start of native unzipping /mnt/hgfs/shared/EBS/r12stage/oraAppDB/Disk57/data/stage/data_dat211.zip at /d01/oracle/PROD/db/apps_st/data/
                          Unzip5

                          .end std out.

                          .end err out.
                          • 10. Re: RW-50010: Error: - script has returned an error:   127
                            Hussein Sawwan-Oracle
                            This log file does not show any errors.

                            Thanks,
                            Hussein
                            • 11. Re: RW-50010: Error: - script has returned an error:   127
                              user564785
                              I'm getting another error. Looks like a permission issue. Any idea what would cause this? I'm running rapidwiz as root.

                              RW-20000: Error: Unable to run the CHMOD command. The ucrrent user must have permissisions to modify this file. /d01/oraclePROD/db/tech_st/11.1.0/appsutil/log/PORD_ebs12
                              • 12. Re: RW-50010: Error: - script has returned an error:   127
                                Hussein Sawwan-Oracle
                                user564785 wrote:
                                I'm getting another error. Looks like a permission issue. Any idea what would cause this? I'm running rapidwiz as root.

                                RW-20000: Error: Unable to run the CHMOD command. The ucrrent user must have permissisions to modify this file. /d01/oraclePROD/db/tech_st/11.1.0/appsutil/log/PORD_ebs12
                                Can you change the ownership of this directory to oracle user (and the group that oracle belongs to) and retry then?

                                Thanks,
                                Hussein
                                • 13. Re: RW-50010: Error: - script has returned an error:   127
                                  user564785
                                  I have a new error. Any ideas?

                                  Executable : /d01/oracle/PROD/db/tech_st/11.1.0/bin/sqlplus



                                  ADX-1101 : Rapid Install characterset conversion failed

                                  Error found while running addbccnv.sql

                                  Cannot convert database characterset

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

                                  Succesfully changed Permissions for /d01/oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_ebs12
                                  Processing DriverFile = /mnt/hgfs/shared/EBS/stage/startCD/Disk1/rapidwiz/template/adridb.drv
                                  Running Instantiation Drivers for /mnt/hgfs/shared/EBS/stage/startCD/Disk1/rapidwiz/template/adridb.drv
                                  instantiate file:
                                  source : /mnt/hgfs/shared/EBS/stage/startCD/Disk1/rapidwiz/template/adrun11g.sh
                                  dest : /d01/oracle/PROD/db/tech_st/11.1.0/temp/PROD_ebs12/adrun11g.sh
                                  backup : /d01/oracle/PROD/db/tech_st/11.1.0/temp/PROD_ebs12/adrun11g.sh to /d01/oracle/PROD/db/tech_st/11.1.0/appsutil/out/PROD_ebs12/templbac/adrun11g.sh
                                  setting permissions: 755
                                  setting ownership: oracle:dba
                                  instantiate file:
                                  • 14. Re: RW-50010: Error: - script has returned an error:   127
                                    Hussein Sawwan-Oracle
                                    ADX-1101 : Rapid Install characterset conversion failed

                                    Error found while running addbccnv.sql

                                    Cannot convert database characterset

                                    RW-50010: Error: - script has returned an error: 127
                                    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 upload the installation log files.

                                    Thanks,
                                    Hussein
                                    1 2 3 Previous Next