AIX Open Source

 View Only
  • 1.  Apache on AIX

    Posted Wed May 13, 2020 12:58 AM

    Originally posted by: mdrury


    I downloaded and installed everything from IBM Linux Toolkit website.  However, when I try to start Apache, I get the following error:

     

    pdpoundsandutil01:root:/#/opt/freeware/sbin/apachectl -k start
    exec(): 0509-036 Cannot load program /opt/freeware/sbin/httpd because of the following errors:
            0509-150   Dependent module /opt/freeware/lib64/libexpat.a(libexpat.so.1) could not be loaded.
            0509-103   The module has an invalid magic number.
    pdpoundsandutil01:root:/#echo $LIBPATH
    /opt/freeware/lib64:/opt/freeware/lib:/usr/lib
    pdpoundsandutil01:root:/#rpm -qa | grep expat
    expat-2.2.9-1.ppc
    pdpoundsandutil01:root:/#ls /opt/freeware/lib64/libexpat*
    /opt/freeware/lib64/libexpat.a
    pdpoundsandutil01:root:/#oslevel -s
    7200-04-01-1939
    pdpoundsandutil01:root:/#rpm -qa | grep httpd
    httpd-2.4.41-1.ppc
    pdpoundsandutil01:root:/#
     



  • 2.  Re: Apache on AIX

    Posted Wed May 13, 2020 12:04 PM

    Originally posted by: sangameshm


    Either you can unset the LIBPATH or launch 64-bit httpd /opt/freeware/sbin/apachectl_64 -k start.

     

    Thanks,

    Sangamesh