Results 1 to 10 of 10
  1. #1

    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.

  2. #2
    The domains error logs are saved under

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

    /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. #3
    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.

  4. #4
    Join Date
    Mar 2009
    Location
    InfoPark, Cochin, India
    Posts
    986
    500 error should show up in /usr/local/apache/logs/error_log

    try the domlogs /usr/local/apache/domlogs/
    India's Most Trusted Support Teams
    VIPoint Solutions Pvt. Ltd | http://www.vipointsolutions.com
    Better English. Better Solutions. Period.
    Speak to us: sales@vipointsolutions.com

  5. #5
    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. #6
    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. #7
    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. #8
    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. #9
    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. #10
    Why not just login to cpanel and click the error log button ?

Similar Threads

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

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •