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 12-09-2009, 12:41 PM
tamar tamar is offline
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 12-09-2009, 01:25 PM
madaboutlinux madaboutlinux is offline
Web Hosting Master
 
Join Date: Jul 2009
Posts: 1,543
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 12-09-2009, 02:55 PM
tamar tamar is offline
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 12-09-2009, 04:17 PM
VIPoint VIPoint is offline
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/

__________________
Level I-II, Level III, Senior SysAdmins & Full 24x7 Teams
Hire Linux SysAdmins in InfoPark, India
VIPoint Solutions Pvt. Ltd | http://www.vipointsolutions.com
E-Mail: Sales@VIPointSolutions.com

  #5  
Old 12-09-2009, 06:30 PM
tamar tamar is offline
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 12-09-2009, 07:48 PM
ScopeHostsInc ScopeHostsInc is offline
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 12-10-2009, 05:10 AM
InstaCarma_Support InstaCarma_Support is offline
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 12-11-2009, 08:05 AM
inspiron inspiron is offline
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 12-11-2009, 08:15 AM
markhard markhard is offline
Web Hosting Master
 
Join Date: Mar 2004
Posts: 772
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 12-11-2009, 04:49 PM
flashwebhost flashwebhost is offline
Web Hosting Master
 
Join Date: Jan 2002
Posts: 1,354
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
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2013-10-05 05:55:56


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?
Advertisement:
Web Hosting News:



 

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?