Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th March 2007, 22:00
celtic celtic is offline
Member
 
Join Date: Jan 2007
Location: Oporto - PORTUGAL
Posts: 61
Thanks: 4
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 5th March 2007, 08:10
jameso jameso is offline
Member
 
Join Date: Nov 2006
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Default

I also have this issue occasionally.

Celtic, are you using ISPconfig?
Reply With Quote
  #3  
Old 5th March 2007, 08:19
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

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?
Reply With Quote
The Following User Says Thank You to martinfst For This Useful Post:
bowlAltetle (29th March 2014)
  #4  
Old 5th March 2007, 12:12
celtic celtic is offline
Member
 
Join Date: Jan 2007
Location: Oporto - PORTUGAL
Posts: 61
Thanks: 4
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 5th March 2007, 12:26
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

To find your apache version
Code:
httpd -V
. I'm running Ubt 6.10.
Reply With Quote
  #6  
Old 5th March 2007, 16:43
celtic celtic is offline
Member
 
Join Date: Jan 2007
Location: Oporto - PORTUGAL
Posts: 61
Thanks: 4
Thanked 0 Times in 0 Posts
Default

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"
Reply With Quote
  #7  
Old 6th March 2007, 17:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
bowlAltetle (29th March 2014)
  #8  
Old 8th March 2007, 12:32
celtic celtic is offline
Member
 
Join Date: Jan 2007
Location: Oporto - PORTUGAL
Posts: 61
Thanks: 4
Thanked 0 Times in 0 Posts
Default

In my webadmin Apache2 is not configured (???) so can anyone tell me what file to watch and post?
Reply With Quote
  #9  
Old 9th March 2007, 16:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's webadmin?
Are there any errors in Apache's error log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 10th March 2007, 12:12
celtic celtic is offline
Member
 
Join Date: Jan 2007
Location: Oporto - PORTUGAL
Posts: 61
Thanks: 4
Thanked 0 Times in 0 Posts
 
Default

Sorry... Its not webadmin but webmin.

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.
Attached Files
File Type: zip error.zip (7.4 KB, 620 views)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSI with Apache2 on Debian jchaven Server Operation 7 25th August 2008 17:06
Apache2 without APXS ctroyp Installation/Configuration 8 29th January 2007 03:05
Web server offline after php4 and apache2 upgrade dfriis Installation/Configuration 11 7th December 2006 16:14
PHP on Apache2 no longer works after ISPconfig azorman Installation/Configuration 6 23rd July 2006 22:06
apache2 "problem" LuisC-SM Installation/Configuration 6 2nd May 2006 15:59


All times are GMT +2. The time now is 02:18.


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