环境:CentOS 7.9

IBM HTTP Server 9.0.5.10

问题:/opt/IBM/HTTPServer/bin/apachectl -k start 启动失败.
./apachectl: line 96: 112485 Segmentation fault (core dumped) SHTTPD “$@”

诊断工具:

1. 下载解压ihsdiag

https://www.ibm.com/support/pages/ihsdiag-utility-package-capturing-ibm-http-server-diagnostic-information

2. 执行以下命令生成core文件

java -jar ihsdiag-1.4.32/ServerDoc.jar GatherCrashDoc /opt/IBM/HTTPServer /opt/core

3. 打开目录 “CrashDoc.202411261019.023″,里面包含以下文件:

查看history发现最近服务器安装了一个国产APM监控,

root 1586 1 0.2 0.0 999984 11112 Sl 10:29:17 00:04:04 14 /opt/cloudwise/smartagent/bin/smartagentd

将CloudWise的监控进程kill掉之后,IBM HTTP Server正常启动。