Knowledgebase

httpd failed - sites don't load - Host can't help

Posted by lithman, 01-09-2008, 08:09 AM
Long story short. The last 2-3 days my websites on my vps all started acting funny. Randomly throughout the day they will all just stop loading. If you go to one of my sites they will just load and load and load and eventually time out after 5 minutes. To fix this problem, all I have to do is reset Apache in my WHM. Everything will be fine for awhile until it decides to stop loading again. I've been talking to tech support for 2 days. They're out of options. They tried banning some IPs as they thought I might be getting hacked. They tried moving me to a different host machine. They've checked all my logs... there are no errors or problems with the vps. The server load is always very low. Memory is always very low. I run about 15-20 websites on this VPS. Two of them are vbulletin (v. 3.6.4 and v3.6.8) and all the rest are wordpress). My VPS is hosted with ServInt. Server Version: Apache/1.3.39 (Unix) PHP/5.2.4 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 mysql (5.0.45-community-log) I get these emails all day: httpd failed @ Wed Jan 9 06:10:42 2008. A restart was attempted automagically. I am completely out of ideas and options. Can anyone think of something? Think outside the box... make random suggestions. I don't care, I need to try something. I most recently added 3 or so brand new websites to my vps about a week ago. However, they are just running wordpress so I can't imagine they're the problem. Thanks, Dave

Posted by StevenG, 01-09-2008, 08:28 AM
OK, # tail -500 /usr/local/apache/logs/error_log > logs.txt # netstat -a -n -p > output.txt The error_log may show it, but check that you don't have any log files +2GB in size as well. Lets see the output of those.

Posted by lithman, 01-09-2008, 08:39 AM
Is it safe to post those 2 files here, or should I PM them to you?

Posted by StevenG, 01-09-2008, 08:44 AM
You can PM me any details that you don't want here, it's ok to do that.

Posted by InfiniteTech, 01-09-2008, 09:09 AM
Check your httpd config. You could have it broken... probably during the cPanel auto update. Like Dotable Steve said, check the error log!

Posted by robocap, 01-09-2008, 09:29 AM
please edit /usr/local/apache/conf/httpd.conf and then : MaxClients 450

Posted by StevenG, 01-09-2008, 09:31 AM
He doesn't have that many connections and on a VPS of those specs, it wouldn't handle it anyway..

Posted by Kustom, 01-09-2008, 10:55 AM
Hi, a command issue with cpanel servers when auto update is enabled is for the httpd service to failed below is a quick guide to help get you on line as soon as possible. Please not any modification to httpd or php will need to be re-applied after following this guide. login as root to your server using ssh client such as putty, cd /scripts ./easyapache when given the options for install I would select option 1 (try the others at your own risk) after around 10-15 mins depending upon the speed of your server httpd will be online, you may need to add some php modules by going to; whm>apacheupdate clicking load config then selecting the required and clicking build Thats it!

Posted by Kustom, 01-09-2008, 11:12 AM
or try upgrading to apache 2 Make a copy of your current httpd.conf incase you need to roll-back cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back Download The Apache Tar.Gz File wget pm me for link wont let me post Extract The File To Your Server tar -xz -f httpd* Move Into The Extracted Folder cd httpd* Run The Configuration File ./config.nice Run The Make File make Run The Install Make File make install Start Apache /usr/local/apache/bin/apachectl restart

Posted by robocap, 01-09-2008, 01:25 PM
with the work,httpd.conf going to good? means if i have 400 site in httpd.conf,don`t removed it?

Posted by SmartTux, 01-09-2008, 02:01 PM
Can you tail the apache error_log when the webpage timeout occurs ? And check for any significant message in the log ? If you want to post here any information that looks suspicious, be sure to edit the message and replace all references to your server name/ website name/IP address or anything you dont want to disclose to others.. If you dont want to post it here, you can PM me.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Named shutting down (Views: 611)
SERVAGE.NET (Views: 624)
Linux C compilers (Views: 628)


Language:

Client Login

Email

Password

Remember Me

Search