April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Weblogic cannot open shared object file: No such file or directory

Cannot load /u01/wls_plugin/lib/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory

I’ve configured weblogic proxy plugin 12c for linux according to documentation but I run into “Cannot load /u01/wls_plugin/lib/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory”

The error:

[root@localhost ~]# apachectl restart
Job for httpd.service failed. See ‘systemctl status httpd.service’ and ‘journalctl -xn’ for details.

My settings:

[root@localhost ~]# vi /etc/httpd/conf.d/whatever.conf
LoadModule weblogic_module /u01/wls_plugin/lib/mod_wl_24.so

WLSRequest On
SetHandler weblogic-handler
PathTrim /whatever
PathPrepend /whatever
WebLogicHost 192.168.1.10
WebLogicPort 7001

LD_LIBRARY_PATH=/u01/wls_plugin/lib

This solution worked for me:

[root@localhost ~]# vi /etc/ld.so.conf
include ld.so.conf.d/*.conf
/u01/wls_plugin/lib

[root@localhost ~]# ldconfig

[root@localhost ~]# apachectl restart

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>