apache - AH00024 : Couldn't set permissions on the ssl-cache mutex; check User and Group directives

标签 apache ssl openssl apache2

我在 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/

相关文章:

apache - 在 linux vps 中使用 cpanel 在 apache 服务器中找不到 a2enmod 命令

php - 如何保护在 Linux 上运行的 MySQL 服务器?

ssl - Realm Object Server - SSL配置导致ROS启动失败

ios - 将 PEM 编码的 X.509 证书导入 iOS KeyChain

apache - 如何使用 htaccess 正确重定向?

php - mod_rewrite 删除 .php 但仍然提供 .php 文件?

internet-explorer - 旧浏览器 TLS 1.0 和 1.1

php - 如何使用 PHP 将 PFX 转换为 CRT 和 PEM?

php - 如何生成有效的 PEM 私钥字符串?

php - 在命令行 PHP 脚本中找不到“Memcache”