Current time: 12-24-2024, 01:09 PM Hello There, Guest! (LoginRegister)


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

Posts: 77
Joined: May 2008
Post: #1
webserver down, cant find reasons
This morning our webserver was down for some reason. when surfing in to some webpage on the server or the admin controlpanel it showed "Internet Explorer cannot display the webpage", i tried to find the error logs, cant find them, which error logs am i supposed to read to see what´s happening with the server?

I first tried to restart apache2, didnt work so I just rebooted the server and after that it was up and running again, this is the second time that it has happen but last time was a couple of months ago, i just wanna know whats going on.

Help appriciated
04-25-2010 05:16 PM
Find all posts by this user Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #2
RE: webserver down, cant find reasons
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
04-25-2010 05:48 PM
Find all posts by this user Quote this message in a reply
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
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: webserver down, cant find reasons
This is à Etch System. Please Upgrade to Lenny. Etch is tooooo old and are Not really good (and with 1.0.6 not longer) supported by ispCP Wink
04-26-2010 02:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
peman Offline
Banned

Posts: 77
Joined: May 2008
Post: #5
RE: webserver down, cant find reasons
Ok, no wonder then Smile

I have backups on everything and its on a vmware so it shouldnt be any problems to go back.

Thanks!
04-26-2010 08:11 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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