我的httpd服务器在大约2-3个小时内崩溃了。 我今天通过whm / easyapache重新安装apache服务器3-4次;但无法解决。 (我可以重新启动,现在修复)
我在/ etc / httpd / logs / error_log文件中遇到了一些错误(摘要如下)。你有什么建议给我?它每2-3小时仍然被压碎:/
HTTPD.CONF:
包含“/usr/local/apache/conf/includes/pre_main_global.conf”
包含“/usr/local/apache/conf/includes/pre_main_2.conf”
LoadModule bw_module /usr/local/apache/modules/mod_bw.so
LoadModule frontpage_module modules / mod_frontpage.so
LoadModule bwlimited_module modules / mod_bwlimited.so
LoadModule auth_passthrough_module modules / mod_auth_passthrough.so
包含“/usr/local/apache/conf/mod_bandwidth.conf”
包括“/usr/local/apache/conf/php.conf”
包括“/usr/local/apache/conf/modsec2.conf”
包含“/usr/local/apache/conf/includes/errordocument.conf”
ErrorLog“logs / error_log”
DefaultType text / plain
ScriptAliasMatch ^ /?controlpanel /?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^ /?cpanel /?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^ /?kpanel /?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^ /?securecontrolpanel /?$ /usr/local/cpanel/cgi-sys/sredirect.c $
ScriptAliasMatch ^ /?securecpanel /?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
ScriptAliasMatch ^ /?securewhm /?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
ScriptAliasMatch ^ /?webmail /?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^ /?whm /?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
Alias / bandwidth / usr / local / bandmin / htdocs /
Alias / img-sys / usr / local / cpanel / img-sys /
Alias / java-sys / usr / local / cpanel / java-sys /
Alias / mailman / archives / usr / local / cpanel / 3rdparty / mailman / archives / public /
Alias / pipermail / usr / local / cpanel / 3rdparty / mailman / archives / public /
Alias / sys_cpanel / usr / local / cpanel / sys_cpanel /
ScriptAlias / cgi-sys / usr / local / cpanel / cgi-sys /
ScriptAlias / mailman / usr / local / cpanel / 3rdparty / mailman / cgi-bin /
ScriptAlias / scgi-bin / usr / local / cpanel / cgi-sys / scgiwrap
sysctl.conf的
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
limits.conf中
# /etc/security/limits.conf
#Each line describes a limit for a user in the form:
#<domain> <type> <item> <value>#Where:
#<domain> can be: # - an user name # - a group name, with @group syntax # - the wildcard *, for default entry # - the wildcard %, can be also used with %group syntax, # for maxlogin limit #<type> can have the two values: # - "soft" for enforcing the soft limits # - "hard" for enforcing hard limits
等等......这里很难写:S