gpt4 book ai didi

apache - 无法在 Centos 7 上启动 httpd 服务 "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject"

转载 作者:行者123 更新时间:2023-12-04 19:33:42 24 4
gpt4 key购买 nike

尝试(重新)启动 httpd 服务时,出现以下错误:

** (pkttyagent:2574): WARNING **: 01:33:55.345: Unable to register authentication agent:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject Error registering authentication agent:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0) Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
然后
systemctl status httpd.service
没有说明问题:
httpd.service - Web server Apache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-07-22 01:33:55 BST; 26min ago
Process: 2578 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Jul 22 01:33:55 server... systemd[1]: Starting Web server Apache...
Jul 22 01:33:55 server... systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 22 01:33:55 server... systemd[1]: Failed to start Web server Apache.
Jul 22 01:33:55 server... systemd[1]: Unit httpd.service entered failed state.
Jul 22 01:33:55 server... systemd[1]: httpd.service failed.
这可能是什么原因造成的?我应该在哪里调试?

最佳答案

[Thu Jul 23 05:40:44.885963 2020] [ssl:emerg] [pid 2877:tid 140514669713280] AH02565:证书和私钥不匹配
看起来 key 和证书不匹配。请检查 key 和证书文件的 md5。

关于apache - 无法在 Centos 7 上启动 httpd 服务 "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63025273/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com