{"id":6007,"date":"2016-07-13T10:01:35","date_gmt":"2016-07-13T02:01:35","guid":{"rendered":"http:\/\/rmohan.com\/?p=6007"},"modified":"2016-07-13T10:01:35","modified_gmt":"2016-07-13T02:01:35","slug":"weblogic-cannot-open-shared-object-file-no-such-file-or-directory","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6007","title":{"rendered":"Weblogic cannot open shared object file: No such file or directory"},"content":{"rendered":"<p>Cannot load \/u01\/wls_plugin\/lib\/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory<\/p>\n<p>I\u2019ve configured weblogic proxy plugin 12c for linux according to documentation but I run into \u201cCannot load \/u01\/wls_plugin\/lib\/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory\u201d<\/p>\n<p>The error:<\/p>\n<p>[root@localhost ~]# apachectl restart<br \/>\nJob for httpd.service failed. See \u2018systemctl status httpd.service\u2019 and \u2018journalctl -xn\u2019 for details.<\/p>\n<p>My settings:<\/p>\n<p>[root@localhost ~]# vi \/etc\/httpd\/conf.d\/whatever.conf<br \/>\nLoadModule weblogic_module \/u01\/wls_plugin\/lib\/mod_wl_24.so<br \/>\n<Location \/whatever><br \/>\nWLSRequest On<br \/>\nSetHandler weblogic-handler<br \/>\nPathTrim \/whatever<br \/>\nPathPrepend \/whatever<br \/>\nWebLogicHost 192.168.1.10<br \/>\nWebLogicPort 7001<br \/>\n<\/Location><\/p>\n<p>\u2014<\/p>\n<p>LD_LIBRARY_PATH=\/u01\/wls_plugin\/lib<\/p>\n<p>This solution worked for me:<\/p>\n<p>[root@localhost ~]# vi \/etc\/ld.so.conf<br \/>\ninclude ld.so.conf.d\/*.conf<br \/>\n\/u01\/wls_plugin\/lib<\/p>\n<p>[root@localhost ~]# ldconfig<\/p>\n<p>[root@localhost ~]# apachectl restart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cannot load \/u01\/wls_plugin\/lib\/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory<\/p>\n<p>I\u2019ve configured weblogic proxy plugin 12c for linux according to documentation but I run into \u201cCannot load \/u01\/wls_plugin\/lib\/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory\u201d<\/p>\n<p>The error:<\/p>\n<p>[root@localhost ~]# apachectl restart Job for [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6007"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6007"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6007\/revisions"}],"predecessor-version":[{"id":6008,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6007\/revisions\/6008"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}