Topic
  • 1 reply
  • Latest Post - ‏2010-04-28T13:17:57Z by dzodzo
SystemAdmin
SystemAdmin
3903 Posts

Pinned topic 0509-150 Dependent module libhttpdap2_stub.so could not be loaded.

‏2009-07-08T20:45:43Z |
Hi all,

I have an issue while performing the IHS restart as root user.
We have AIX 5.3 64 bit on pur environment.
We wrote a startup script to reboot the IHS after OS restart, while performing the reboot we have the following errors.

Syntax error on line 173 of /opt/IBM/IBMHttpServerU01/conf/httpd.conf:
Cannot load /opt/apps/cognos/c8/rs2/cgi-bin/mod2_cognos.so into server: 0509-022 Cannot load module /opt/apps/cognos/c8/rs2/cgi-bin/mod2_cognos.so.
0509-150 Dependent module libhttpdap2_stub.so could not be loaded.
0509-022 Cannot load module libhttpdap2_stub.so.
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module /opt/apps/cognos/c8/rs2/cgi-bin/mod2_cognos.so.
0509-150 Dependent module /opt/apps/cognos/c8/rs2/cgi-bin/mod2_cognos.so could not be loaded.

I'm not sure if why this is not running.
Do I have to set any env variables?
Please let me know.
Updated on 2010-04-28T13:17:57Z at 2010-04-28T13:17:57Z by dzodzo
  • dzodzo
    dzodzo
    2 Posts

    Re: 0509-150 Dependent module libhttpdap2_stub.so could not be loaded.

    ‏2010-04-28T13:17:57Z  
    Hello, check if your LIBPATH variable is set, for start/stop apache you can script something like this:

    
    #!/bin/sh ARG=$@   LIBPATH=/usr/cognos/c8_64/cgi-bin PATH=$PATH:/usr/cognos/c8_64/cgi-bin   export PATH   echo $PATH     export LIBPATH echo $LIBPATH   cd /usr/cognos/c8_64/cgi-bin   
    
    case $ARG in start) sudo /usr/local/apache2/bin/apachectl start ;; stop) sudo /usr/local/apache2/bin/apachectl stop ;; *) echo 
    "Usage: ./apache <start|stop>" exit 1 esac