16 July 2012

error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

/data/PROD/inst/apps/PROD_apps/admin/scripts/adapcctl.sh start
script returned:
****************************************************

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: opmn is already running.
opmnctl: starting opmn managed processes...
================================================================================
opmn id=dev147.chainsys.com:6220
    0 of 1 processes started.

ias-instance id=PROD_apps.apps.chainsys.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=531433557,pid=2219)
    failed to start a managed process after the maximum retry limit
    Log:
    /data/PROD/inst/apps/PROD_apps/logs/ora/10.1.3/opmn/HTTP_Server~1.log


adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/PROD/inst/apps/PROD_apps/logs/appl/admin/log/adapcctl.txt for more information ... 


.end std out.

.end err out.

****************************************************
Apache server Status:-

[oracle@dev147 scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2

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

Processes in Instance: PROD_apps.apps.chainsys.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status 
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |    2489 | Alive  
OC4JGroup:default_group          | OC4J:forms         |    2417 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |    2258 | Alive  
HTTP_Server                      | HTTP_Server        |     N/A | Down   


adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/PROD/inst/apps/PROD_apps/logs/appl/admin/log/adapcctl.txt for more information ... 

[oracle@dev147 scripts]$

Solution:-

1) Shutdown Apache services.
2) create link for library file as below
ln -s   /usr/lib/libgdbm.so.2.0.0  /usr/lib/libdb.so.2
3) Startup Apache services.
Now you can be able to access the application

Result :-

[oracle@dev147 scripts]$ ./adapcctl.sh start

You are running adapcctl.sh version 120.7.12010000.2

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

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/PROD/inst/apps/PROD_apps/logs/appl/admin/log/adapcctl.txt for more information ... 

[oracle@dev147 scripts]$ ./adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2

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

Processes in Instance: PROD_apps.apps.chainsys.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status 
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |    2489 | Alive  
OC4JGroup:default_group          | OC4J:forms         |    2417 | Alive  
OC4JGroup:default_group          | OC4J:oacore        |    2258 | Alive  
HTTP_Server                      | HTTP_Server        |    3126 | Alive  


adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /data/PROD/inst/apps/PROD_apps/logs/appl/admin/log/adapcctl.txt for more information ... 

[oracle@dev147 scripts]$

No comments: