我在 jail 环境中编译了 Apache 2.4.10 和 PHP 5。当我尝试通过启用 SSL 来启动 Apache 时,它会给出如下错误日志:
**ERROR: [Wed Mar 11 11:47:34.958947 2015] [core:emerg] [pid 29267:tid 139645284288256] (22)Invalid argument: AH00024: Couldn't set permissions on the ssl-cache mutex; check User and Group directives
AH00016: Configuration Failed**
**compiled :**
Apache : 2.4.10
openssl :openssl-1.0.1i
pcre-8.35
最佳答案
似乎互斥锁(文件)存在权限问题。
检查 ssl 互斥体的路径(在配置中指定为 SSLMutex)——并验证 Web 服务器运行“as”的用户(例如 www)是否允许在该目录中写入;并允许沿其路径使用“r”和“x”。
或者 - 使用不需要文件的互斥体类型:请参阅 http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslmutex寻求建议和权衡。
关于apache - AH00024 : Couldn't set permissions on the ssl-cache mutex; check User and Group directives,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28980925/