Skip to main content

Fatal Error: TXK Install Service RW-50010: Error: - script has returned an error: /bin/sh: error importing function definition for `which'

Fatal Error: TXK Install Service   RW-50010: Error: - script has returned an error:  /bin/sh: error importing function definition for `which'

Description: R12.2 Installation fails during Install web Tier. 

------------------------------------------------------

Fatal Error: TXK Install Service

oracle.apps.fnd.txk.config.ProcessStateException: OUI process failed : Exit=1 See log for details. CMD= /u01/soft/ebs/TechInstallMedia/ohs11119/Disk1/runInstaller -waitForCompletion -ignoreSysPrereqs -force -silent  -responseFile /u01/oracle/tstebs/fs2/inst/apps/tstebs_ebs22/temp/cfgHome/response/APPS_OHS_HOME/txkOHS_11119.rsp


    at oracle.apps.fnd.txk.config.OUIPatchActionNode.processState(OUIPatchActionNode.java:159)


    at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)


    at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)


    at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)


    at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)


    at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)


    at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)


    at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)


    at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)




Cannot install Web Tier Utilities


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

RW-50004: Error code received when running external process.  Check log file for details.

Running APPL_TOP Install Driver for tstebs instance


In the install log under /u01/app/oraInventory/*install*log

-----------------------------------------

/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/u01/oracle/tstebs/fs2/FMW_Home/webtier//bin/sh: which: line 1: syntax error: unexpected end of file

/bin/sh: error importing function definition for `which'

/bin/sh: which: line 1: syntax error: unexpected end of file

/bin/sh: error importing function definition for `which'

-----------------------------------------


Solution

This is due to the missing rpm of glibc

------------------------------------------

 yum install glibc-*.i686

Last metadata expiration check: 5:19:11 ago on Fri 04 Mar 2022 03:33:24 PM +03.

Package glibc-devel-2.28-164.0.1.el8.i686 is already installed.

Package glibc-headers-2.28-164.0.1.el8.i686 is already installed.

Dependencies resolved.

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

 Package                                          Architecture                          Version                                            Repository                                        Size

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

Upgrading:

 glibc                                            i686                                  2.28-164.0.4.el8                                   ol8_baseos_latest                                3.4 M

 glibc                                            x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                3.6 M

 glibc-common                                     x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                1.3 M

 glibc-devel                                      i686                                  2.28-164.0.4.el8                                   ol8_baseos_latest                                1.0 M

 glibc-devel                                      x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                1.0 M

 glibc-headers                                    i686                                  2.28-164.0.4.el8                                   ol8_baseos_latest                                481 k

 glibc-headers                                    x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                481 k

 glibc-langpack-en                                x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                829 k

 libnsl                                           x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                104 k


Transaction Summary

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

Upgrade  9 Packages


Total download size: 12 M

Is this ok [y/N]: y

Downloading Packages:

(1/9): glibc-2.28-164.0.4.el8.i686.rpm                                                                                                                            518 kB/s | 3.4 MB     00:06

(2/9): glibc-common-2.28-164.0.4.el8.x86_64.rpm                                                                                                                   195 kB/s | 1.3 MB     00:06

(3/9): glibc-devel-2.28-164.0.4.el8.i686.rpm                                                                                                                      1.7 MB/s | 1.0 MB     00:00

(4/9): glibc-headers-2.28-164.0.4.el8.i686.rpm                                                                                                                    1.3 MB/s | 481 kB     00:00

(5/9): glibc-headers-2.28-164.0.4.el8.x86_64.rpm                                                                                                                  1.0 MB/s | 481 kB     00:00

(6/9): glibc-langpack-en-2.28-164.0.4.el8.x86_64.rpm                                                                                                              1.7 MB/s | 829 kB     00:00

(7/9): glibc-devel-2.28-164.0.4.el8.x86_64.rpm                                                                                                                    568 kB/s | 1.0 MB     00:01

(8/9): libnsl-2.28-164.0.4.el8.x86_64.rpm                                                                                                                         502 kB/s | 104 kB     00:00

(9/9): glibc-2.28-164.0.4.el8.x86_64.rpm                                                                                                                          267 kB/s | 3.6 MB     00:13

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                                                                                             911 kB/s |  12 MB     00:13

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                          1/1

  Upgrading        : glibc-common-2.28-164.0.4.el8.x86_64                                                                                                                                    1/18

  Upgrading        : glibc-langpack-en-2.28-164.0.4.el8.x86_64                                                                                                                               2/18

  Running scriptlet: glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Upgrading        : glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Running scriptlet: glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Running scriptlet: glibc-headers-2.28-164.0.4.el8.i686                                                                                                                                     4/18

  Upgrading        : glibc-headers-2.28-164.0.4.el8.i686                                                                                                                                     4/18

  Upgrading        : glibc-devel-2.28-164.0.4.el8.x86_64                                                                                                                                     5/18

  Running scriptlet: glibc-devel-2.28-164.0.4.el8.x86_64                                                                                                                                     5/18

  Running scriptlet: glibc-headers-2.28-164.0.4.el8.x86_64                                                                                                                                   6/18

  Upgrading        : glibc-headers-2.28-164.0.4.el8.x86_64                                                                                                                                   6/18

  Upgrading        : libnsl-2.28-164.0.4.el8.x86_64                                                                                                                                          7/18

  Running scriptlet: glibc-2.28-164.0.4.el8.i686                                                                                                                                             8/18

  Upgrading        : glibc-2.28-164.0.4.el8.i686                                                                                                                                             8/18

  Running scriptlet: glibc-2.28-164.0.4.el8.i686                                                                                                                                             8/18

  Upgrading        : glibc-devel-2.28-164.0.4.el8.i686                                                                                                                                       9/18

  Running scriptlet: glibc-devel-2.28-164.0.4.el8.i686                                                                                                                                       9/18

  Running scriptlet: glibc-devel-2.28-164.0.1.el8.i686                                                                                                                                      10/18

  Cleanup          : glibc-devel-2.28-164.0.1.el8.i686                                                                                                                                      10/18

  Running scriptlet: glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                    11/18

  Cleanup          : glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                    11/18

  Cleanup          : glibc-2.28-164.0.1.el8.i686                                                                                                                                            12/18

  Running scriptlet: glibc-2.28-164.0.1.el8.i686                                                                                                                                            12/18

  Cleanup          : glibc-headers-2.28-164.0.1.el8.x86_64                                                                                                                                  13/18

  Cleanup          : glibc-headers-2.28-164.0.1.el8.i686                                                                                                                                    14/18

  Cleanup          : libnsl-2.28-164.0.1.el8.x86_64                                                                                                                                         15/18

  Cleanup          : glibc-2.28-164.0.1.el8.x86_64                                                                                                                                          16/18

  Running scriptlet: glibc-2.28-164.0.1.el8.x86_64                                                                                                                                          16/18

  Cleanup          : glibc-langpack-en-2.28-164.0.1.el8.x86_64                                                                                                                              17/18

  Cleanup          : glibc-common-2.28-164.0.1.el8.x86_64                                                                                                                                   18/18

  Running scriptlet: glibc-common-2.28-164.0.1.el8.x86_64                                                                                                                                   18/18

  Running scriptlet: glibc-common-2.28-164.0.4.el8.x86_64                                                                                                                                   18/18

  Verifying        : glibc-2.28-164.0.4.el8.i686                                                                                                                                             1/18

  Verifying        : glibc-2.28-164.0.1.el8.i686                                                                                                                                             2/18

  Verifying        : glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Verifying        : glibc-2.28-164.0.1.el8.x86_64                                                                                                                                           4/18

  Verifying        : glibc-common-2.28-164.0.4.el8.x86_64                                                                                                                                    5/18

  Verifying        : glibc-common-2.28-164.0.1.el8.x86_64                                                                                                                                    6/18

  Verifying        : glibc-devel-2.28-164.0.4.el8.i686                                                                                                                                       7/18

  Verifying        : glibc-devel-2.28-164.0.1.el8.i686                                                                                                                                       8/18

  Verifying        : glibc-devel-2.28-164.0.4.el8.x86_64                                                                                                                                     9/18

  Verifying        : glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                    10/18

  Verifying        : glibc-headers-2.28-164.0.4.el8.i686                                                                                                                                    11/18

  Verifying        : glibc-headers-2.28-164.0.1.el8.i686                                                                                                                                    12/18

  Verifying        : glibc-headers-2.28-164.0.4.el8.x86_64                                                                                                                                  13/18

  Verifying        : glibc-headers-2.28-164.0.1.el8.x86_64                                                                                                                                  14/18

  Verifying        : glibc-langpack-en-2.28-164.0.4.el8.x86_64                                                                                                                              15/18

  Verifying        : glibc-langpack-en-2.28-164.0.1.el8.x86_64                                                                                                                              16/18

  Verifying        : libnsl-2.28-164.0.4.el8.x86_64                                                                                                                                         17/18

  Verifying        : libnsl-2.28-164.0.1.el8.x86_64                                                                                                                                         18/18


Upgraded:

  glibc-2.28-164.0.4.el8.i686          glibc-2.28-164.0.4.el8.x86_64          glibc-common-2.28-164.0.4.el8.x86_64       glibc-devel-2.28-164.0.4.el8.i686  glibc-devel-2.28-164.0.4.el8.x86_64

  glibc-headers-2.28-164.0.4.el8.i686  glibc-headers-2.28-164.0.4.el8.x86_64  glibc-langpack-en-2.28-164.0.4.el8.x86_64  libnsl-2.28-164.0.4.el8.x86_64


Complete!

[root@ebs122 1220]#

 

Comments

Popular posts from this blog

12.1.0 Grid Installation on Solaris 11.3 fails with ASM failed to start

Issue Description  We faced one issue, while installing the GI 12.1.0.1.0 on Solaris 11.3  ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-201202PM061908.log for details. 2020/12/02 18:19:17 CLSRSC-184: Configuration of ASM failed 2020/12/02 18:19:17 CLSRSC-258: Failed to configure and start ASM Died at /u01/app/12.1.0/grid_1/crs/install/crsinstall.pm line 1976. The command '/u01/app/12.1.0/grid_1/perl/bin/perl -I/u01/app/12.1.0/grid_1/perl/lib -I/u01/app/12.1.0/grid_1/crs/install /u01/app/12.1.0/grid_1/crs/install/rootcrs.pl ' execution failed This error is coming during root.sh execution on primary node. After checking the asmca logs, the error seen is as below: ========================== [main] [ 2020-12-02 17:00:49.575 AST ] [UsmcaLogger.logException:156] SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:configureLocalASM [main] [ 2020-12-02 17:00:49.575 AST ] [UsmcaLogger.logException:157] ORA-27122: unable to protect memory [main] [ 2020-1...

Health Check Script

Oracle Database Health Check Script Run this script has sysdba user or any user having DBA Role Change the spool file patch to correct directory. In this example it is set to  /export/home/oraprod/ $ cat Health_Check_Script.sql set pagesize 1100 SET MARKUP HTML ON SPOOL ON spool /export/home/oraprod/health_check_new.html set feedback off set linesize 200; set pages 50 set lines 1000 set pages 70 set heading on PROMPT================================================================ prompt PROMPT PROMPT Daily_Monitoring Checkup Report prompt ================================================================================================================================================= PROMPT REPORT DATE select to_char(sysdate,'DD-MON-YYYY:HH:MI:SS') "Report Run Date" from dual; prompt DATABASE NAME PROMPT ============== select instance_name,host_name,version,status from gv$instance ,v$database a; PROMPT DATABASE INFO PROMPT =============...

12.2 Stage area creation fails with startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory

 12.2 Stage area creation fails with startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory While creating the stage area for 12.2 Installation, we face issue while running the buildstage.sh ....startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory Solution:  Please go to the path provided in the error log and check if the java is working fine with below command: java -version Generally this java is having some issues.   Install the jre 7 or jre 8 and copy the the jre at the same path by renaming old folder. It should work fine.  Now if your run the build command again, it should succeed.  Running command: /u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java -classpath /u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/emocmutl.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/ewt-3_4_22.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/share-1_1_18.jar:/u01/soft/ebs/star...