Apache not loading any pages?!

sspitfire

Active Member
Mar 5, 2011
28
0
51
Hi. I ordered WHM from my ISP and they gave me the trial version - I assume it has all the features working. Problem is apache isnt loading anything after I create a new account. I get "Chrome cannot connect to mysite.com" - the same with IE. I tried entering the IP in the browser - the same. I uploaded 2 test files - test.html and test.php in the /home/user/public_html dir - nothing. Port 80 is not blocked. I can ping the IP. I tried to create another account on a different IP- still nothing. Its not even loading the apache default or error page. Apache is running and I can't see anything in the error log except :
Code:
[Thu Mar 06 04:56:00 2014] [notice] Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cp$
[Thu Mar 06 04:58:43 2014] [notice] Graceful restart requested, doing restart
when i get in this user's account > security it says leech protection is disabled.

PLS help!
 
Last edited:

sspitfire

Active Member
Mar 5, 2011
28
0
51
This solved it:

service iptables stop

service httpd restart

not sure what caused the problem though.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Please ensure you save the empty iptables rules, otherwise the issue will occur again when iptables starts. EX:

Code:
/etc/init.d/iptables save
Note that you may want to consider installing a firewall management utility such as CSF to help manage your firewall rules.

Thank you.