如何解决在两台主机中的第二台上重新启动Apache失败
我在同一域中有两台服务器,一台用于前端,另一台用于后端处理,我创建了一个涵盖两个主机的SSL证书,但是当使用相同过程将证书应用于两个服务器时,我可以得到 apache 作为前端,但后端失败。
操作系统为 Centos 7 ,我附上以下httpd / error_log,因为 apachectl configtest 不会返回任何致命错误。自从出现初始错误以来,我已经添加了index.html。
[Thu Aug 13 19:07:38.798130 2020] [autoindex:error] [pid 29808] [client 97.102.226.107:59831] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found,and server-generated directory index forbidden by Options directive
[Thu Aug 13 19:07:51.498014 2020] [mpm_prefork:notice] [pid 29794] AH00170: caught SIGWINCH,shutting down gracefully
[Thu Aug 13 19:07:52.553808 2020] [core:notice] [pid 29903] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Aug 13 19:07:52.554821 2020] [suexec:notice] [pid 29903] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name,using ::1. Set the 'ServerName' directive globally to suppress this message
[Thu Aug 13 19:07:52.570568 2020] [lbmethod_heartbeat:notice] [pid 29903] AH02282: No slotmem from mod_heartmonitor
[Thu Aug 13 19:07:52.573073 2020] [mpm_prefork:notice] [pid 29903] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Aug 13 19:07:52.573101 2020] [core:notice] [pid 29903] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Aug 13 19:08:16.102639 2020] [mpm_prefork:notice] [pid 29903] AH00170: caught SIGWINCH,shutting down gracefully
[Thu Aug 13 19:08:17.159400 2020] [core:notice] [pid 29925] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Aug 13 19:08:17.160657 2020] [suexec:notice] [pid 29925] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name,using ::1. Set the 'ServerName' directive globally to suppress this message
[Thu Aug 13 19:08:17.178648 2020] [lbmethod_heartbeat:notice] [pid 29925] AH02282: No slotmem from mod_heartmonitor
[Thu Aug 13 19:08:17.181816 2020] [mpm_prefork:notice] [pid 29925] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。