Current time: 11-27-2024, 02:42 PM Hello There, Guest! (LoginRegister)


Post Reply 
webserver down, cant find reasons
Author Message
peman Offline
Banned

Posts: 77
Joined: May 2008
Post: #3
RE: webserver down, cant find reasons
(04-25-2010 05:48 PM)dcreation Wrote:  You can start with a:

cat /var/log/syslog | grep apache
and
/var/log/apache2/users/default-error.log

But, it is much more interesting why apache wont restart.
If happens for the next time try to stop it first:
/etc/init.d/apache2 stop
Wait a second.. then look at the processes:
ps aux | grep apache
to verify it is really down. Then try to start it and copy and paste the error-message Smile

Hello and thank you for your reply Smile

Well, it gave me this:
Quote:portal2:/home/martin# cat /var/log/syslog | grep apache
Apr 25 06:40:02 portal2 /USR/SBIN/CRON[5744]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null)
Apr 25 06:50:02 portal2 /USR/SBIN/CRON[6188]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null)

Quote:portal2:/home/martin# cat /var/log/apache2/users/default-error.log
[Sun Apr 25 08:41:06 2010] [notice] Apache/2.2.3 (Debian) configured -- resuming normal operations
[Sun Apr 25 08:41:11 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Apr 25 08:42:01 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Sun Apr 25 08:42:01 2010] [notice] mod_fcgid: server /var/www/ispcp/gui/index.php(3059) started
[Sun Apr 25 08:50:14 2010] [error] [client 62.249.xx.xxx] Premature end of script headers: index.php
[Sun Apr 25 08:50:18 2010] [notice] mod_fcgid: process 3133 going graceful shutdown, sending SIGTERM
[Sun Apr 25 09:24:00 2010] [error] [client 211.65.xx.xx] Premature end of script headers: index.php
[Sun Apr 25 09:24:01 2010] [notice] mod_fcgid: process 3842 going graceful shutdown, sending SIGTERM
[Sun Apr 25 09:45:35 2010] [error] [client 211.65.xx.xx] Premature end of script headers: index.php
[Sun Apr 25 09:45:39 2010] [notice] mod_fcgid: process 3847 going graceful shutdown, sending SIGTERM

Can this logs explain something?

This mod_fcgid is antother problem i have, i think it is why every wordpress blogs recieves the Error 500 Internal Server Error! But i think i have to upgrade to Debian Lenny.

Too bad i didnt check if apache was running. I will come back next time it happens with why apache wont start.

Thank you
04-25-2010 06:13 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
webserver down, cant find reasons - peman - 04-25-2010, 05:16 PM
RE: webserver down, cant find reasons - peman - 04-25-2010 06:13 PM

Forum Jump:


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