hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : cPanel error logs?
Reply

Forum Jump

cPanel error logs?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru
 
Join Date: May 2006
Posts: 232

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:

Code:
/var/log/httpd/error_log
/var/log/httpd/error_log.1
/home/wrong-domain/public_html/error_log
/usr/local/cpanel/logs/error_log
/usr/local/cpanel/logs/cpdavd_error_log
/usr/local/cpanel/3rdparty/lib/php/Log/error_log.php
/usr/local/cpanel/3rdparty/lib/php/doc/Log/examples/error_log.php
/usr/local/apache/logs/error_log
Any ideas? How do I get the right error_log for the domain I need?

__________________
I'm female.



Sponsored Links
  #2  
Old
Web Hosting Master
 
Join Date: Jul 2009
Posts: 1,561
The domains error logs are saved under

Quote:
/usr/local/apache/logs/error_log
The cPanel error logs are saved under

Quote:
/usr/local/cpanel/logs/error_log

__________________
| LinuxHostingSupport.net
| Server Setup | Security | Optimization | Troubleshooting | Server Migration
| Monthly and Task basis services.
| MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  #3  
Old
Junior Guru
 
Join Date: May 2006
Posts: 232
So if I'm getting a 500 error, if it's not showing up there, where in the world would it be?

__________________
I'm female.

Sponsored Links
  #4  
Old
Indian IT Outsourcing
 
Join Date: Mar 2009
Posts: 968
500 error should show up in /usr/local/apache/logs/error_log

try the domlogs /usr/local/apache/domlogs/

__________________
Recruit Your Own Linux Support Teams
VIPoint Solutions Pvt. Ltd | http://www.vipointsolutions.com
Located in InfoPark Technology Park, India
Email Us! sales@vipointsolutions.com

  #5  
Old
Junior Guru
 
Join Date: May 2006
Posts: 232
All I see are regular httpd_logs. Here's an example.

Code:
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)"
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?

__________________
I'm female.

  #6  
Old
Temporarily Suspended
 
Join Date: Dec 2009
Posts: 22
Hi,

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 ..

  #7  
Old
Disabled
 
Join Date: Apr 2009
Posts: 257
Run the following command in the terminal and then access the site. Paste here what you see in the logs.

Code:
 tail -f /usr/local/apache/logs/error_log | grep yourdomainname.com
Replace 'yourdomainname.com' with the actual domain name.

  #8  
Old
Support Facility
 
Join Date: Jun 2009
Posts: 2,317
You can SSH to the server and can view these logs.

/usr/local/cpanel/logs/access_log
/usr/local/cpanel/logs/*
/usr/local/cpanel/logs/access_log
/usr/local/apache/logs/error_log

__________________
Support Facility | 24/7 web hosting technical support services
Technical support | Server management | Data migration

Technical Articles

  #9  
Old
Web Hosting Master
 
Join Date: Mar 2004
Posts: 812
Quote:
Originally Posted by tamar View Post
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.
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)

__________________
HalfDedi.com Half Dedicated Half Price
We provide affordable VPS hosting solution Singapore datacenter

  #10  
Old
Web Hosting Master
 
Join Date: Jan 2002
Posts: 1,363
Why not just login to cpanel and click the error log button ?

__________________
WebHostingNeeds.com

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where should I keep my error logs? Swerve1000 Hosting Security and Technology 7 03-31-2008 08:03 AM
Error Logs!!!! Cheapskate Web Hosting 3 01-12-2004 10:05 AM
error logs? recko11 Dedicated Server 1 10-02-2003 05:59 PM
error logs lokodezine Web Hosting 2 09-01-2003 09:56 PM
Error Logs bert Dedicated Server 8 05-19-2001 10:50 PM

Related posts from TheWhir.com
Title Type Date Posted
Hulk Hogan's Hostamania Announces Partnership with cPanel Web Hosting News 2013-12-10 12:12:09
GoDaddy Supports cPanel as Part of Web Hosting Updates Web Hosting News 2014-05-09 12:40:20
What's New at cPanel: IPv6 and 1:1 NAT Support Web Hosting News 2013-10-01 18:12:07
cPanel & WHM Software 11.36 Reaches Stable Tier Status Web Hosting News 2013-04-09 11:44:33
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?