我正在检查 /usr/local/apache/logs/error_log
这已经发生了好几次。有时服务器重启很快,有时很慢。什么因素可能导致这种混乱。
[Mon Dec 31 21:40:49 2012] [notice] Graceful restart requested, doing restart
[Mon Dec 31 21:40:53 2012] [error] [client 66.249.74.237] File does not exist: /home2/wallpape/public_html/tag
[Mon Dec 31 21:40:53 2012] [error] [client 66.249.74.237] File does not exist: /home2/wallpape/public_html/404.shtml
[Mon Dec 31 21:50:02 2012] [notice] SSL FIPS mode disabled
[Mon Dec 31 21:50:03 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
Run Code Online (Sandbox Code Playgroud)
另一方面,不正常的重启似乎更快:
[Mon Dec 31 21:52:58 2012] [notice] SIGHUP received. Attempting to restart …
Run Code Online (Sandbox Code Playgroud) 这是紧急情况。
我只想做一件愚蠢而简单的事情。我不想有 dom 日志。就是这样。
所以我编辑 vconf.local 并重建 httpd.conf。
出现一些错误,例如一个域存在所有权冲突。所以呢?我只是继续并重新启动apache
root@host [/var/cpanel/templates/apache2]# vi vhost.local
root@host [/var/cpanel/templates/apache2]# /usr/local/cpanel/bin/apache_conf_distiller --update
info [apache_conf_distiller] 'local' datastore in use (/var/cpanel/conf/apache/local)
info [apache_conf_distiller] Missing IP for domain host.buildingsuperteams.com, using 67.159.44.4
info [apache_conf_distiller] Missing port for domain host.buildingsuperteams.com, using 80
info [apache_conf_distiller] Missing user for domain host.buildingsuperteams.com, using nobody
info [apache_conf_distiller] Missing group for domain host.buildingsuperteams.com, using nobody
info [apache_conf_distiller] Missing ServerName for domain host.buildingsuperteams.com, using host.buildingsuperteams.com
info [apache_conf_distiller] Domain ownership conflict detected for buildingsuperteams.com, users nobody, building …
Run Code Online (Sandbox Code Playgroud)