08 November 2010

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

I have stated the APEX i am getting below error
Error:-
[oracle@samtest bin]$ ./opmn startall
./opmn: error while loading shared libraries: libmodapi.so: cannot open shared object file: No such file or directory
[oracle@samtest bin]$

Solution:-
please export below env

[oracle@samtest bin]$ export ORACLE_HOME=/backup/SOABPEL/product/10.1.3.1/OracleAS_1/
[oracle@samtest bin]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/opmn/lib
[oracle@samtest bin]$ export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin


[oracle@samtest bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
[oracle@samtest bin]$./opmnctl status

Processes in Instance: SOABPEL.samtest.acecranes.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oc4j_soa      |    9697 | Alive
OC4JGroup:default_group          | OC4J:home          |    9698 | Alive
ASG                                           | ASG                |     N/A | Down
HTTP_Server                             | HTTP_Server        |    9696 | Alive
[oracle@samtest bin]

No comments: