Sunday, 16 February 2014

adalnctl.sh: exiting with status 127

SYMPTOMS
=========

When attempting to start the listener the following error messages are displayed :

$ adalnctl.sh start APPS_PROD
adalnctl.sh version
Checking for FNDFS executable.
Starting listener process APPS_PROD.
adalnctl.sh: exiting with status 127
The logfile adalnctl.txt shows following error :

adalnctl.sh: line 126: lsnrctl: command not found
Starting listener process APPS_PROD.
adalnctl.sh: line 137: lsnrctl: command not found
adalnctl.sh: exiting with status 127
...
CAUSE :

The lsnrctl executable is missing.

On Linux, this is a common issue if the Patch 3830807 - 'PATCH 3293983 NEEDS TO INCLUDE ALL THE MAKEFILES UNDER THE 8.0.6 ORACLE_HOME' has not been applied.

SOLUTION
========

To fix the failure please apply Patch 3830807 - 'PATCH 3293983 NEEDS TO INCLUDE ALL THE MAKEFILES UNDER THE 8.0.6 ORACLE_HOME'

ERROR in RELINK Log :
=====================

While running patch relinking error:

/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: *** [otrcfmt] Error 1
.
Solution :
==========

[root@apps lib]# cd /usr/bin/
[root@apps bin]# ls -ltr gcc*
-rwxr-xr-x  2 root root  86344 Oct  7  2006 gcc32
-rwxr-xr-x  2 root root 191072 May  2  2007 gcc4
-rwxr-xr-x  2 root root  96344 May  3  2007 gcc
[root@apps bin]# mv gcc gcc344
[root@apps bin]# mv g++ g++344
[root@apps bin]# ln -s gcc32 gcc
[root@apps bin]# ln -s gcc++32 g++
[root@apps bin]#


[applprod@apps bin]$ cd /a01/others/3830807/
[applprod@apps 3830807]$ ls -ltr
total 280
-rwxrwxrwx  1 applprod dba 261328 Dec  3  2003 libc-2.1.3-stub.so
-rwxrwxrwx  1 applprod dba     71 Dec  3  2003 libc.so
-rwxrwxrwx  1 applprod dba   4499 Sep 17  2004 patch.sh
-rwxrwxrwx  1 applprod dba   2285 Jun 14  2007 README.txt
-rw-r--r--  1 applprod dba   2876 Feb 16 19:31 ins_network.mkinstall.log
[applprod@apps 3830807]$ sh patch.sh
Patching makefiles
  checking file 'network/lib/env_network.mk'... [already patched, not changed]
  checking file 'network/lib/ins_network.mk'... [already patched, not changed]
  checking file 'forms60/lib/env_forms60.mk'... [already patched, not changed]
  checking file 'graphics60/lib/env_graphics60.mk'... [already patched, not changed]
  checking file 'reports60/lib/env_reports60.mk'... [already patched, not changed]
  checking file 'procbuilder60/lib/env_procbuilder.mk'... [already patched, not changed]
  checking file 'pj60/lib/env_pj60.mk'... [already patched, not changed]
  checking file 'browser60/lib/env_browser60.mk'... [already patched, not changed]
  checking file 'network/lib/env_oemagent.mk'... [already patched, not changed]
  checking file 'network/lib/ins_oemagent.mk'... [already patched, not changed]
  checking file 'otrace/lib/env_otrace.mk'... [already patched, not changed]
  checking file 'plsql/lib/env_plsql.mk'... [already patched, not changed]
  checking file 'plsql/lib/ins_plsql.mk'... [already patched, not changed]
  checking file 'precomp/lib/env_precomp.mk'... [already patched, not changed]
  checking file 'rdbms/lib/env_rdbms.mk'... [already patched, not changed]
  checking file 'rdbms/lib/ins_rdbms.mk'... [already patched, not changed]
  checking file 'sqlplus/lib/env_sqlplus.mk'... [already patched, not changed]
  checking file 'svrmgr/lib/env_svrmgr.mk'... [already patched, not changed]
Checking glibc stub
Backing up existing glibc stub
Copying new glibc stub
Modifying libc.so
Relinking Network executables
Relinking ins_network.mk install ...
Relink of install OK.
Relinking D2k executables
Relinking ins_forms60w.mk install ...
Relink of install OK.
Relinking ins_graphics60w.mk install ...
Relink of install OK.
Relinking ins_reports60w.mk install ...
Relink of install OK.
Relinking procbuilder60
Relinking ins_procbuilder.mk install ...
Relink of install OK.
Relinking pj60
Relinking ins_pj60.mk install ...
Relink of install OK.
Relinking browser60
Relinking ins_browser60.mk minstall ...
Relink of minstall OK.
Relinking optional products
Relinking ins_oemagent.mk install ...
Relink of install OK.
Relinking ins_sqlplus.mk install ...
Relink of install OK.
Relinking ins_rdbms.mk install ...
Relink of install OK.
Relinking ins_precomp.mk proc ...
Relink of proc OK.
Relinking ins_plsql.mk install ...
Relink of install OK.
Relinking ins_otrace.mk install ...
Relink of install OK.
Patch installation now complete
[applprod@apps 3830807]$

 Regards,
Vijay.

No comments:

Post a Comment