09 September 2015

mod_security2.so into server: libpcre.so.0: cannot open shared object file: No such file or directory

adapcctl.sh start filed after R12.2.0 upgrade from R12.1.1 with 12.1.0.2 database

Error :

[applmgr@r1224 appl]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@r1224 scripts]$ ./adapcctl.sh start

You are running adapcctl.sh version 120.0.12020000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl startproc: starting opmn managed processes...
================================================================================
opmn id=r1224.muthu.com:6205
Response: 0 of 1 processes started.

ias-instance id=EBS_web_PROD_OHS1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
  EBS_web_PROD/OHS/OHS/

Error
--> Process (index=1,uid=2125522711,pid=20757)
  failed to start a managed process after the maximum retry limit
  Log:
  /apps/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/diagnostics/logs/OHS/EBS_web_PROD/console~OHS~1.log


adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /apps/fs1/inst/apps/PROD_r1224/logs/appl/admin/log/adapcctl.txt for more information ... 

[applmgr@r1224 scripts]$cat /apps/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/diagnostics/logs/OHS/EBS_web_PROD/console~OHS~1.log

--------
15/09/09 17:01:41 Start process
--------
/apps/fs1/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
httpd.worker: Syntax error on line 1042 of /apps/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS_web_PROD/httpd.conf: Syntax error on line 30 of /apps/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS_web_PROD/oracle_apache.conf: Syntax error on line 19 of /apps/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/config/OHS/EBS_web_PROD/security2.conf: Cannot load /apps/fs1/FMW_Home/webtier/ohs/modules/mod_security2.so into server: libpcre.so.0: cannot open shared object file: No such file or directory

Solution:

If your webtier version 11.1.1.7.0 then please apply 21081177

If your webtier version 11.1.1.6.0 then copy libpcre.so.0 file from patch 21081177

[applmgr@r1224 lib]$ pwd
/apps/fs1/FMW_Home/webtier/lib
[applmgr@r1224 lib]$ls -lrt libpcre.so.0
ls: cannot access libpcre.so.0: No such file or directory
[applmgr@r1224 lib]$ cp /oracle/12c/apps/21081177/files/ohs/lib/libpcre.so.0 .
[applmgr@r1224 scripts]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@r1224 scripts]$ ./adapcctl.sh start

You are running adapcctl.sh version 120.0.12020000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl start: opmn is already running.
opmnctl startproc: starting opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /apps/fs1/inst/apps/PROD_r1224/logs/appl/admin/log/adapcctl.txt for more information ... 

[applmgr@r1224 scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.0.12020000.2

Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...

Processes in Instance: EBS_web_PROD_OHS1
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status 
---------------------------------+--------------------+---------+---------
EBS_web_PROD                     | OHS                |   21378 | Alive  


adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /apps/fs1/inst/apps/PROD_r1224/logs/appl/admin/log/adapcctl.txt for more information ... 

[applmgr@r1224 scripts]$ ./adapcctl.sh stop

You are running adapcctl.sh version 120.0.12020000.2

Stopping OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl stopproc: stopping opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /apps/fs1/inst/apps/PROD_r1224/logs/appl/admin/log/adapcctl.txt for more information ... 

[applmgr@r1224 scripts]$
 

No comments: