var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
cPanel error logs?
Does anyone know the exact path for cPanel error logs? My access logs are in /usr/local/apache/domlogs/ and a specific domain is giving me 500 errors, but I don't know exactly WHAT the error is.
The only error_logs I can find on the server are:
Any ideas? How do I get the right error_log for the domain I need?
The domains error logs are saved under
The cPanel error logs are saved under
| Server Setup | Security | Optimization | Troubleshooting | Server Migration
| Monthly and Task basis services.
: madaboutlinux[at]hotmail.com |
So if I'm getting a 500 error, if it's not showing up there, where in the world would it be?
500 error should show up in /usr/local/apache/logs/error_log
try the domlogs /usr/local/apache/domlogs/
All I see are regular httpd_logs. Here's an example.
Every line is returning a 500 error. I can't figure out what that error is since it's not being logged anywhere. The website doesn't work. What do I do now?
93.174.x.x - - [09/Dec/2009:17:23:02 -0500] "POST /contact/ HTTP/1.1" 500 5 "http://www.domain.com/contact/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
Try To update or rebuild the apache that might solve this issue , If it still persists just open a ticket at cpanel.net immediate solution you will get from one of the technicians there.
Some times regular bugs appear in the cpanel . By updating or rebuilding it will resolve ..
Run the following command in the terminal and then access the site. Paste here what you see in the logs.
Replace 'yourdomainname.com' with the actual domain name.
tail -f /usr/local/apache/logs/error_log | grep yourdomainname.com
You can SSH to the server and can view these logs.
do you have mod_security or suphp installed? if yes, try check on the account's public_html and rename .htaccess to txt.htaccess, if the website works after you rename it then there are some errors on the .htaccess (most likely wrong URL Rewrite rules)
Originally Posted by
Half Dedi .com
• Half Dedicated Half Price
We provide affordable VPS hosting solution Singapore datacenter
Why not just login to cpanel and click the error log button ?
By Swerve1000 in forum Hosting Security and Technology
Last Post: 03-31-2008, 08:03 AM
By Cheapskate in forum Web Hosting
Last Post: 01-12-2004, 10:05 AM
By recko11 in forum Dedicated Server
Last Post: 10-02-2003, 05:59 PM
By lokodezine in forum Web Hosting
Last Post: 09-01-2003, 09:56 PM
By bert in forum Dedicated Server
Last Post: 05-19-2001, 10:50 PM