Current time: 09-27-2024, 09:06 PM Hello There, Guest! (LoginRegister)


Post Reply 
Apache just stopped :O!!
Author Message
nicolas Offline
Junior Member
*

Posts: 21
Joined: Aug 2008
Reputation: 1
Post: #10
RE: Apache just stopped :O!!
rauschr Wrote:you have a find in apache2.conf
uncomment this lines
and add ExtendedStatus On

<ifmodule mod_status.c>
<location /server-status>
SetHandler server-status
</location>
....

after you'll see the apache tread, if you type a webbrowser your ip and /server-status
examp. : 87.229.2.55/server-status
some website make a lot ordering width not too much traffic.
they run out it apache threads
you can find the domain in the server-status list (80%),what many times can be found
that is a advertisement server swich off!

or DOS you are the victim of an attack

Server-status is up, and Apache server is running fine. No overload, or other problem.

Anyway I just noticed ownerships and rights in /var/log/apache2 were a mess. I am trying to investigate any possibilities. Given the fact apache is dying after log rotation that may be a path to investigate. Could anyone post which ownerships and mode should be used for /var/log/apache2 directory and files inside?

Currently I have:
/var/log
drwxr-x--- 4 root adm 16384 2008-09-01 07:29 apache2

/var/log/apache
drwxr-xr-x 2 root root 4096 2008-08-21 21:42 backup
drwxr-xr-x 2 www-data www-data 20480 2008-09-01 07:29 users
-rw-r----- 1 root adm 5328 2008-09-01 13:13 suexec.log
-rw-r----- 1 root adm 99968 2008-08-30 19:15 suexec.log.1
-rw-r--r-- 1 root www-data 313 2008-08-22 17:39 suexec.log.2.gz
-rw-r----- 1 root adm 14696714 2008-09-01 13:31 site1.com-combined.log
-rw-r----- 1 root adm 67363979 2008-08-31 07:31 site1.com-combined.log.1
-rw-r--r-- 1 root root 265528 2008-08-27 06:38 site1.com-combined.log.2.gz
-rw-r----- 1 root adm 278791 2008-09-01 13:31 site1.com-traf.log
-rw-r----- 1 root adm 1316532 2008-08-31 07:31 site1.com-traf.log.1
-rw-r--r-- 1 root root 21991 2008-08-27 06:38 site1.com-traf.log.2.gz
... etc

/var/log/apache2/users
-rw-r----- 1 root adm 5766735 2008-09-01 13:32 site1.com-access.log
-rw-r----- 1 root adm 25967717 2008-08-31 07:31 site1.com-access.log.1
-rw-r--r-- 1 root root 167339 2008-08-27 06:38 site1.com-access.log.2.gz
-rw-r----- 1 root adm 34015 2008-09-01 11:41 site1.com-error.log
-rw-r----- 1 root adm 57657 2008-08-31 02:28 site1.com-error.log.1
-rw-r--r-- 1 root root 296 2008-08-22 14:56 site1.com-error.log.2.gz
... etc
09-01-2008 09:35 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Apache just stopped :O!! - rauschr - 07-28-2008, 08:05 AM
RE: Apache just stopped :O!! - nicolas - 08-25-2008, 05:05 AM
RE: Apache just stopped :O!! - rauschr - 08-26-2008, 03:32 AM
RE: Apache just stopped :O!! - nicolas - 09-01-2008, 09:28 PM
RE: Apache just stopped :O!! - nicolas - 08-27-2008, 06:21 PM
RE: Apache just stopped :O!! - rauschr - 08-29-2008, 08:02 AM
RE: Apache just stopped :O!! - nicolas - 08-30-2008, 01:05 AM
RE: Apache just stopped :O!! - rauschr - 09-01-2008, 08:10 AM
RE: Apache just stopped :O!! - nicolas - 09-01-2008 09:35 PM
RE: Apache just stopped :O!! - nicolas - 09-10-2008, 06:44 PM
RE: Apache just stopped :O!! - sci2tech - 09-11-2008, 06:18 AM
RE: Apache just stopped :O!! - nicolas - 09-12-2008, 08:15 PM
RE: Apache just stopped :O!! - sci2tech - 09-13-2008, 12:32 AM
RE: Apache just stopped :O!! - nicolas - 09-13-2008, 01:26 AM
RE: Apache just stopped :O!! - nicolas - 09-17-2008, 07:32 PM
RE: Apache just stopped :O!! - Wut - 10-16-2008, 05:26 PM
RE: Apache just stopped :O!! - sci2tech - 10-16-2008, 08:59 PM
RE: Apache just stopped :O!! - Wut - 10-17-2008, 01:40 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)