Hallo Leute
Heute in der früh stellte ich fest mein Apache Webserver hat sich einfach abgeschaltet. Ein normaler /etc/init.d/apache2 start genügte und er startete ohne Probleme. Die Logs sagen dieses aus:
Der Server verwaltet über 800 Domains und hatt im durchschnitt 10% CPU LAST. Habe in der apache2.conf diese einstellungen:
Was meint Ihr wo liegt der Fehler? Ich wollte mal testweise alles höher setzen in den oben gelisteten Einstellungen.
Danke für jeden Vorschlag
MENKI
Heute in der früh stellte ich fest mein Apache Webserver hat sich einfach abgeschaltet. Ein normaler /etc/init.d/apache2 start genügte und er startete ohne Probleme. Die Logs sagen dieses aus:
Code:
[Wed Dec 24 04:11:40 2008] [notice] child pid 20323 exit signal Segmentation fault (11)
[Wed Dec 24 04:20:20 2008] [error] [client 81.169.186.77] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Wed Dec 24 04:21:40 2008] [notice] child pid 2287 exit signal Segmentation fault (11)
[Wed Dec 24 04:31:40 2008] [notice] child pid 1590 exit signal Segmentation fault (11)
[Wed Dec 24 04:41:41 2008] [notice] child pid 2950 exit signal Segmentation fault (11)
[Wed Dec 24 04:51:40 2008] [notice] child pid 9334 exit signal Segmentation fault (11)
[Wed Dec 24 05:02:39 2008] [notice] child pid 9968 exit signal Segmentation fault (11)
[Wed Dec 24 05:11:40 2008] [notice] child pid 15947 exit signal Segmentation fault (11)
[Wed Dec 24 05:14:27 2008] [error] [client 66.249.71.133] ModSecurity: Access denied with code 400 (phase 2). Invalid URL Encoding: Non-hexadecimal digits used at REQUEST_URI. [file "/etc/modsecurity2/modsecurity_crs_20_protocol_violations.conf"] [line "60"] [id "950107"] [msg "URL Encoding Abuse Attack Attempt"] [severity "WARNING"] [tag "PROTOCOL_VIOLATION/EVASION"] [hostname "dutchmach.menkisys.net"] [uri "/forumrakovcani2/index.php"] [unique_id "ILKwMFt5j78AAED3aYgAAAAC"]
[Wed Dec 24 05:21:40 2008] [notice] child pid 16631 exit signal Segmentation fault (11)
[Wed Dec 24 05:29:21 2008] [error] [client 77.239.10.112] ModSecurity: Access denied with code 500 (phase 2). Pattern match "\\.(?:c(?:o(?:nf(?:ig)?|m)|s(?:proj|r)?|dx|er|fg|md)|p(?:rinter|ass|db|ol|wd)|v(?:b (?:proj|s)?|sdisco)|a(?:s(?:ax?|cx)|xd)|d(?:bf?|at|ll|os)|i(?:d[acq]|n[ci])|ba(?:[kt]|ckup)|res(?:ources|x)|s(?:h?tm|ql|ys)|l(?:icx|nk|og)|\\w{0,5}~|webinfo|ht[rw]|xs[dx]| ..." at REQUEST_BASENAME. [file "/etc/modsecurity2/modsecurity_crs_30_http_policy.conf"] [line "97"] [id "960035"] [msg "URL file extension is restricted by policy"] [severity "CRITICAL"] [tag "POLICY/EXT_RESTRICTED"] [hostname "**-clan.menkisys.net"] [uri "/images/userpics/Thumbs.db"] [unique_id "VgH5@Ft5j78AAEOGbasAAAAL"]
[Wed Dec 24 05:31:38 2008] [notice] child pid 8680 exit signal Segmentation fault (11)
[Wed Dec 24 05:41:38 2008] [notice] child pid 23140 exit signal Segmentation fault (11)
[Wed Dec 24 05:50:37 2008] [notice] child pid 17286 exit signal Segmentation fault (11)
[Wed Dec 24 06:00:40 2008] [notice] child pid 23845 exit signal Segmentation fault (11)
[Wed Dec 24 06:10:39 2008] [notice] child pid 30212 exit signal Segmentation fault (11)
[Wed Dec 24 06:20:39 2008] [notice] child pid 31008 exit signal Segmentation fault (11)
[Wed Dec 24 06:29:51 2008] [notice] caught SIGTERM, shutting down
[Wed Dec 24 06:29:56 2008] [notice] ModSecurity for Apache/2.5.6 (http://www.modsecurity.org/) configured.
[Wed Dec 24 06:29:56 2008] [notice] Original server signature: Apache/2.2.3 (Debian)
[Wed Dec 24 06:29:57 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Dec 24 06:29:58 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Dec 24 06:29:58 2008] [notice] FastCGI: process manager initialized (pid 3026)
[Wed Dec 24 06:29:58 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 3030)
[Wed Dec 24 06:29:58 2008] [notice] Apache/2.2.0 (Fedora) mod_fastcgi/2.4.2 mod_watch/4.3 configured -- resuming normal operations
[Wed Dec 24 06:30:05 2008] [warn] child process 3038 still did not exit, sending a SIGTERM
[Wed Dec 24 06:30:07 2008] [warn] child process 3038 still did not exit, sending a SIGTERM
[Wed Dec 24 06:30:10 2008] [warn] child process 3038 still did not exit, sending a SIGTERM
[Wed Dec 24 06:30:12 2008] [error] child process 3038 still did not exit, sending a SIGKILL
[Wed Dec 24 06:30:13 2008] [notice] caught SIGTERM, shutting down
Der Server verwaltet über 800 Domains und hatt im durchschnitt 10% CPU LAST. Habe in der apache2.conf diese einstellungen:
Code:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
Was meint Ihr wo liegt der Fehler? Ich wollte mal testweise alles höher setzen in den oben gelisteten Einstellungen.
Danke für jeden Vorschlag
MENKI