AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  how to run 64bit apache httpd

    Posted Tue March 19, 2019 04:39 AM

    Originally posted by: ctremel


    when trying to start the 64bit apache, it still starts up the 32bit version...

     

    root@aixtest01: /root # /opt/freeware/sbin/apachectl_64 stop
    AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.14.13. Set the 'ServerName' directive globally to suppress this message
    root@aixtest01: /root # /opt/freeware/sbin/apachectl_64 start
    root@aixtest01: /root # ps -ef | grep httpd
        root  9634270        1   0 09:37:10      -  0:00 /opt/freeware/sbin/httpd -k start
      apache 10027308  9634270   0 09:37:10      -  0:00 /opt/freeware/sbin/httpd -k start
      apache 15139074  9634270   0 09:37:10      -  0:00 /opt/freeware/sbin/httpd -k start
      apache 20513224  9634270   0 09:37:10      -  0:00 /opt/freeware/sbin/httpd -k start
        root 22872558 21496308   0 09:37:13  pts/1  0:00 grep httpd
      apache 23069166  9634270   0 09:37:10      -  0:00 /opt/freeware/sbin/httpd -k start
      apache 27197734  9634270   0 09:37:10      -  0:00 /opt/freeware/sbin/httpd -k start

    so how to startup the 64bit version?

     

    additionally the mod_ssl config is buggy...

     

    AH00526: Syntax error on line 97 of /opt/freeware/etc/httpd/conf/extra/httpd-ssl.conf:
    SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).

     

     

     



  • 2.  Re: how to run 64bit apache httpd

    Posted Tue March 19, 2019 05:12 AM

    Originally posted by: AyappanP


    Thanks for reporting the bugs. We will fix them soon. 

    For time being, you can modify the script "/opt/freeware/sbin/apachectl_64" to invoke /opt/freeware/sbin/httpd_64 instead of /opt/freeware/sbin/httpd .

    Regarding mod_ssl issue, enable (uncomment) the shmcb module in httpd.conf.

    LoadModule socache_shmcb_module /opt/freeware/lib/httpd/modules/mod_socache_shmcb.so