![Apache 死前的 suEXEC](https://linux22.com/image/554727/Apache%20%E6%AD%BB%E5%89%8D%E7%9A%84%20suEXEC.png)
我们的一台 Apache 服务器宕机了。Web 服务器重启后,服务器面板上出现红灯,我们正在联系硬件供应商以调查任何潜在的硬件问题。
error_log
服务器关闭之前的最后一行是:
[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
这是什么意思?
答案1
suExec 用于更改 CGI 脚本运行的用户。上面的通知只是告诉您它已启用。它通常被视为 Apache 启动的一部分,例如,当我重新启动 Apache 时,我得到:
[Thu Jul 07 22:09:41 2011] [notice] caught SIGTERM, shutting down
[Thu Jul 07 22:09:43 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 22:09:43 2011] [notice] SSL FIPS mode disabled
[Thu Jul 07 22:09:44 2011] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 07 22:09:44 2011] [notice] Digest: done
[Thu Jul 07 22:09:44 2011] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 22:09:44 2011] [notice] FastCGI: process manager initialized (pid xxxx)
[Thu Jul 07 22:09:44 2011] [notice] SSL FIPS mode disabled
[Thu Jul 07 22:09:44 2011] [notice] Apache/2.2.16 (Unix) mod_fastcgi/2.4.6 DAV/2 PHP/5.3.6 mod_ssl/2.2.16 OpenSSL/1.0.0a-fips SVN/1.6.16 configured -- resuming normal operations