[我有重新启动apache的脚本,所以我一直在尝试找到一种重新启动apache而不要求ssl密码的方法,因为这意味着它不会在脚本中重新启动。
我能想到的两个解决方案是在脚本中输入密码(我不知道如何通过)或在此处的文档中说明的解决方案:
https://knowledge.digicert.com/solution/SO14536.html
除了尝试此操作时,运行时出现错误
systemctl restart httpd
我收到错误消息
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
当我查看journalctl时,出现以下错误消息(服务器信息已取出)
-- Unit httpd.service has begun starting up.
httpd.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Unit httpd.service entered failed state.
httpd.service failed.
我肯定已使密码文件可执行,并正确输入了路径
任何想法为什么会这样或有其他替代解决方案?
您能否分享以下命令输出。
systemctl status httpd -l