HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Apache2 Freezes (http://www.howtoforge.com/forums/showthread.php?t=11104)

celtic 4th March 2007 22:00

Apache2 Freezes
 
My ISPconfig v10 is working fine but sometimes and without any known pattern all websites come offline and inspite the server is up the only way to put thinks back in order is to stop and start Apache service.

This can be very serious since I cand diagnose the cause and sometimes the websites are offline several hours.

Can anyone help me troubleshoot this issue~?

Kind regards and thanks in advance

jameso 5th March 2007 08:10

I also have this issue occasionally.

Celtic, are you using ISPconfig?

martinfst 5th March 2007 08:19

One of my reasons to switch to ISPConfig was the ability to use the Apache webserver version I wanted, because I experienced the same problems with DirectAdmin. Apache on my previous servers always core dumped. I had a cron job watching the log files, which restarted apache when it found an error.

I also switched from Redhat to Ubuntu and this last change seems to be the best choice I even made. I do no have any problem with apache anymore. I do use the distrubution version, as the manual compiled Apache on Redhat was the one giving problems. I know this statement doesn't help solving your problem. Which distro are you using?

celtic 5th March 2007 12:12

I am using ISPCOnfig 2.2.10 under Ubunto 6.06.

Don't know my Apache2 version because my linux skills are very poor.

I've had the idea of creating a script that restarts the service from time to time to put order in my server but that wont solve the issue just minimizes the damages.

Help is appreciated.

martinfst 5th March 2007 12:26

To find your apache version
Code:

httpd -V
. I'm running Ubt 6.10.

celtic 5th March 2007 16:43

Server version: Apache/2.0.55
Server built: May 29 2006 01:52:53
Server's Module Magic Number: 20020903:11
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec2"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"

falko 6th March 2007 17:14

Are there any errors in Apache's error log?

Quote:

I've had the idea of creating a script that restarts the service from time to time to put order in my server but that wont solve the issue just minimizes the damages.
Monit can do this for you: http://www.howtoforge.com/server_monitoring_monit_munin

celtic 8th March 2007 12:32

In my webadmin Apache2 is not configured (???) so can anyone tell me what file to watch and post?

falko 9th March 2007 16:22

What's webadmin?
Are there any errors in Apache's error log?

celtic 10th March 2007 12:12

1 Attachment(s)
Sorry... Its not webadmin but webmin. :rolleyes:

Anyway... My error log manages to collect 11 Mb of data in one week so it probably has some issue pending.

Attached is the error log from 9th March till now and we had a breakdown yesterday.


All times are GMT +2. The time now is 22:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.