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
😉
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 );
LikeLike
Thanks Bro working like a charm
LikeLike
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 ]
LikeLike
Perhaps this can hep: https://wiki.apache.org/httpd/CouldNotDetermineServerName
Regards
LikeLike
Hi,
Thanks for watching
It sounds a lack of hostname configuration or so, I’d suggest review your settings in /etc/hosts or domain configuration
Regards
LikeLike
Thank you Javier! It works for me! 🙂
LikeLike