IBM Support

setuid/setgid permission on httpd binary causes IHS to fail to start on Linux

Troubleshooting


Problem

setuid or setgid permission on httpd binary causes IHS to fail to start on Linux
IHS is unable to load its own Apache Portable Runtime ( which are included as part of IHS installation)

Symptom

When IHS is started with apachectl, the following error occurs (emphasis on the bolded section):


httpd: Syntax error on line ### of /opt/IBM/HTTPServer/conf/httpd.conf: Cannot load /opt/IBM/HTTPServer/modules/mod_ibm_ssl.so into server: /opt/IBM/HTTPServer/modules/mod_ibm_ssl.so: undefined symbol: ihs_socket_iol_push

"apachectl start" can fail with different "undefined_symbol" errors, depends which module we need to load first. Some other examples that indicate the same problem:
  • httpd: Syntax error on line 145 of /apps/conf/httpd.conf: Cannot load modules/mod_rewrite.so into server: /apps/modules/mod_rewrite.so: undefined symbol: apr_global_mutex_lockfile 
  • httpd: Syntax error on line 93 of /opt/IBM/HTTPServer9/conf/httpd.conf: Cannot load modules/mod_mpm_event.so into server: /opt/IBM/HTTPServer9/modules/mod_mpm_event.so: undefined symbol: apr_skiplist_pop
     

[{"Product":{"code":"SSEQTJ","label":"IBM HTTP Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Runtime","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.0;8.0;8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
07 September 2022

UID

swg21680610