Issue Definition:-
==> All plugin files are copied to the apache module folder /etc/httpd/modules
==> In httpd.conf below line is added
LoadModule weblogic_module /etc/httpd/modules/mod_wl_24.so
==> Below issue occurs while loading WebLogic Pxoy Plugin 12.2.1.2.0
While executing "httpd -t" OR "./apachectl -t"
[root@test2 conf]# httpd -t
httpd: Syntax error on line 60 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory
[root@test2 conf]#
Cause:-
This issue occurs because link to shared library are not present
Solution :-
a) Edit the file ld.so.conf by adding plugin module path /etc/httpd/modulesvi /etc/ld.so.conf
/etc/httpd/modules
b) Execute below command
ldconfig
c) Now test the httpd syntax check.
httpd -t OR ./apachectl -t
It Works!
For more information click on the link: http://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html
Thanks, it's helps me a lot.
ReplyDeletethanks , help me too now
ReplyDeleteA mi no me funciono, persiste el problema.
ReplyDeleteHi, I am facing the same issue on a Windows platform. I receive the "D:\Apache24\bin>httpd.exe -t
ReplyDeletehttpd.exe: Syntax error on line 533 of D:/Apache24/conf/httpd.conf: Cannot load D:\\Apache24\\WLSPlugin12.2.1\\lib\\mod_wl_24.so into server: The specified module could not be found." error. The D:\Apache24\WLSPlugin12.2.1\lib\mod_wl_24.so does exist. I have also added the D:\Apache24\WLSPlugin12.2.1\lib\ as a path to the environmental variables and yet I cannot start the service. Do you have any suggestions for me? Thanks.