#1  
Old 27th October 2010, 14:34
azler.meh azler.meh is offline
Junior Member
 
Join Date: Oct 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache stops woring.

I have set up a Centos box and ISPconfig 3 from a tutorial on this website, it was very well written and i though it was working fine.
At the moment it is only being used as a test server so i only wanted one website on it, and this appears to be working well, there is no domain name it is just running off its IP address.

However i installed Moodle on it, this went very well got it all up and running no errors, but Apache appears to just stop responding every 30 min or so when you are moving about the moodle it will stop loading i can only assume that Apache has crashed.

I have checked all the logs and cant find any errors that would cause this.

I am not a Linux expert so finding it a little difficult to troubleshoot this.
Can some one please try and help me out / point me in the right direction and tell me what log files to be looking in.

Regards,
Az
Reply With Quote
Sponsored Links
  #2  
Old 28th October 2010, 14:52
azler.meh azler.meh is offline
Junior Member
 
Join Date: Oct 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I believe i have now figured out what is causing this.

Monit is not working well with apache.

Quote:
check process apache with pidfile /var/run/httpd.pid
group www
start program = "/etc/init.d/httpd start"
stop program = "/etc/init.d/httpd stop"
if failed host 172.16.1.98 port 80 protocol http
and request "/monit/token" then restart
This is what im using.
When you first start the server up /var/run/httpd.pid is there, but as soon as Monit trys to view it is gone.

the path of 172.16.1.98/monit/token is valid.

But on the Monit apache page it shows:
If failed 172.16.1.98:80%2Fmonit%2Ftoken [HTTP via TCP]
172.16.1.98:80%2Fmonit%2Ftoken is not a valid path, %2F is html for the '/' but its not working.

Am i being a numpty and got some thing in the wrong place?

Az
Reply With Quote
  #3  
Old 28th October 2010, 17:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Do you have multiple vhosts on the server, or just one? If you have multiple vhosts, please make sure that 172.16.1.98/monit/token goes to the correct vhost.
__________________
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
  #4  
Old 26th December 2010, 11:37
pjack pjack is offline
Junior Member
 
Join Date: Dec 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default Apache stops working after 20 minutes or so

Apache seems to just stop working after about 20 minutes and I have to restart the service. I saw this person with a similar issue

http://www.howtoforge.com/forums/sho...ghlight=apache

I don't know if this is my problem but I'm not sure how to go about fixing it or why it's doing this.

Any help please?
Reply With Quote
  #5  
Old 27th December 2010, 21:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please don't double-post!
__________________
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:
pjack (27th December 2010)
  #6  
Old 27th December 2010, 21:20
pjack pjack is offline
Junior Member
 
Join Date: Dec 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
Please don't double-post!
Sorry it was an accident. I thought I hit new post but I hit post reply. But it was already too late. I meant to start a thread from the start instead of a reply to this old one.
Thanks
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
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 20:13
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 00:41.


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