title: LoadModule weblogic_module */lib/mod_wl_24.so
body: <p>I have a problem with Apache/2.4.17 (Unix) and the weblogic module (plugin) mod_wl_24.so</p>
  
  <p>For this project I have used the httpd_vhosts.conf configuration under the extra directory (that I have enabled before in httpd.conf whith "Include conf/extra/httpd-vhosts.conf") and i have keep the default configurations in httpd.conf</p>
  
  <p>I'm on arch-linux, but i think this is not relevant...</p>
  
  <p>I download the right version of WL plugin and i had put the WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0 directory under the ServerRoot of apache:</p>
  
  <pre><code>/etc/httpd
  
      drwxr-xr-x   4 root root  4096  4 dic 18.24 .
      drwxr-xr-x 100 root root 12288  9 dic 09.57 ..
      drwxr-xr-x   5 root root  4096  9 dic 11.02 conf
      lrwxrwxrwx   1 root root    22 11 nov 17.33 modules -&gt; /usr/lib/httpd/modules
      drwxr-xr-x   5 root root  4096  4 dic 12.48 WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0
  </code></pre>
  
  <p>when I configure the httpd_vhosts.conf in extra directory of apache for load the plugin:</p>
  
  <pre><code>LoadModule weblogic_module WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/mod_wl_24.so
  </code></pre>
  
  <p>and after restart apache, I receive this error:</p>
  
  <pre><code>systemctl status httpd -l
  
  ● httpd.service - Apache Web Server
     Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since mer 2015-12-09 11:14:06 CET; 2h 23min ago
    Process: 4231 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=1/FAILURE)
    Process: 4211 ExecStart=/usr/bin/apachectl start -DFOREGROUND (code=exited, status=1/FAILURE)
   Main PID: 4211 (code=exited, status=1/FAILURE)
  
  dic 09 11:14:06 lollo-sorint systemd[1]: Stopped Apache Web Server.
  dic 09 11:14:06 lollo-sorint systemd[1]: Started Apache Web Server.
  dic 09 11:14:06 lollo-sorint apachectl[4211]: httpd: Syntax error on line 499 of /etc/httpd/conf/httpd.conf: Syntax error on line 26 of /etc/httpd/conf/extra/httpd-vhosts.conf: Cannot load WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory
  dic 09 11:14:06 lollo-sorint systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
  dic 09 11:14:06 lollo-sorint apachectl[4231]: httpd: Syntax error on line 499 of /etc/httpd/conf/httpd.conf: Syntax error on line 26 of /etc/httpd/conf/extra/httpd-vhosts.conf: Cannot load WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/mod_wl_24.so into server: libopmnsecure.so: cannot open shared object file: No such file or directory
  dic 09 11:14:06 lollo-sorint systemd[1]: httpd.service: Control process exited, code=exited status=1
  dic 09 11:14:06 lollo-sorint systemd[1]: httpd.service: Unit entered failed state.
  dic 09 11:14:06 lollo-sorint systemd[1]: httpd.service: Failed with result 'exit-code'.
  </code></pre>
  
  <p>I have correctly set the LD_LIBRARY_PATH on system for the lib directory of mod_wl_24.so:</p>
  
  <pre><code>ls -lrta WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/
  
  -rwxr-x--- 1 root root   552424  6 ott 07.59 mod_wl.so
  -rwxr-x--- 1 root root   553554  6 ott 07.59 mod_wl_24.so
  -rwxr-x--- 1 root root 10535697  6 ott 07.59 libnnz11.so
  -rwxr-x--- 1 root root    85909  6 ott 07.59 libopmnsecure.so
  -rwxr-x--- 1 root root    67967  6 ott 07.59 libonssys.so
  -rwxr-x--- 1 root root   326469  6 ott 07.59 libdms2.so
  -rwxr-x--- 1 root root 52761218  6 ott 07.59 libclntsh.so
  drwxr-xr-x 5 root root     4096  4 dic 12.48 ..
  drwxr-xr-x 2 root root     4096  4 dic 17.15 .
  
  env
  
  LD_LIBRARY_PATH=/etc/httpd/WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib
  
  ldd WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/mod_wl_24.so
  
      linux-vdso.so.1 (0x00007ffd173fb000)
      libstdc++.so.6 =&gt; /usr/lib/libstdc++.so.6 (0x00007fe6f4178000)
      libopmnsecure.so =&gt; /etc/httpd/WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/libopmnsecure.so (0x00007fe6f3f68000)
      libonssys.so =&gt; /etc/httpd/WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/libonssys.so (0x00007fe6f3d5a000)
      libdms2.so =&gt; /etc/httpd/WLSPlugin12.2.1-Apache2.2-Apache2.4-Linux_x86_64-12.2.1.0.0/lib/libdms2.so (0x00007fe6f3b19000)
      libm.so.6 =&gt; /usr/lib/libm.so.6 (0x00007fe6f381b000)
      libgcc_s.so.1 =&gt; /usr/lib/libgcc_s.so.1 (0x00007fe6f3604000)
      libc.so.6 =&gt; /usr/lib/libc.so.6 (0x00007fe6f3260000)
      libdl.so.2 =&gt; /usr/lib/libdl.so.2 (0x00007fe6f305c000)
      /usr/lib64/ld-linux-x86-64.so.2 (0x0000563b8fd02000)
      libpthread.so.0 =&gt; /usr/lib/libpthread.so.0 (0x00007fe6f2e3e000)
      librt.so.1 =&gt; /usr/lib/librt.so.1 (0x00007fe6f2c36000)
  </code></pre>
  
  <p>So, libopmnsecure.so lib is defined and elaborate from system...</p>
  
  <p>I'm little desperate because i can not find a logical explanation for that...</p>
  
  <p>anyone had that such problem before? Any little help would be grateful :)</p>