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
<Location /whatever>
WLSRequest On
SetHandler weblogic-handler
PathTrim /whatever
PathPrepend /whatever
WebLogicHost 192.168.1.39
WebLogicPort 8888
</Location>

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

😉

 

6 Comments

  1. allfadir

    Thanks, you have saved my day. Here is a cookie for you:

    Cookie cookie = new Cookie( “thanks”, “please have this cookie” );
    HttpServletResponse tummy = new HttpServletResponse();
    tummy.add( cookie );

    Like

  2. Jesus

    good solution, however, after the restart I am getting this message …

    [root@weblogic1 httpd]# /usr/sbin/httpd -k restart
    httpd: Could not reliably determine the server’s fully qualified domain name, using 192.168.56.8 for ServerName
    [root@weblogic1 httpd]# service httpd restart
    Stopping httpd: [ OK ]
    Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 192.168.56.8 for ServerName
    [ OK ]

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.