Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error 500 - Looking for a detailed error

Discussion in 'General Discussion' started by MaxenceDef, Oct 4, 2017.

  1. MaxenceDef

    MaxenceDef Registered

    Joined:
    Sep 28, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    DataCenter Provider
    Hi guys,

    I got an account with display_errors ON but when I got an Error 500 I got nothing on my logs to know more about this error.

    If I check my logs account :
    /home/myclient/logs/myclient.com-ssl_log-Oct-2017.gz
    I got something like this :
    xxx.xxx.xxx.xxx - - [02/Oct/2017:16:41:29 +0200] "GET /modules/paybox/validation.php?alotofparameters HTTP/1.1" 500 - "-" "Paybox System IPN"

    But I checked apache2 error_log (/var/log/apache2/error_log) and the error view on dashboard client, but I got nothing there.

    Where should I look to get the correct error of this 500 ?

    Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,488
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You should check the logs at /usr/local/apache/logs/error_log intead of searching for it in /var/log/
    # tail -f /usr/local/apache/logs/error_log

    Hit the above command and then browse your website and see the error in it..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you sure there are no entries in the Apache error log (/var/log/apache2/error_log) when you encounter the "500" error code in your web browser? If not, can you verify the domain name resolves to the IP address associated with it's cPanel account?

    Thank you.
     
  4. MaxenceDef

    MaxenceDef Registered

    Joined:
    Sep 28, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    DataCenter Provider
    Thanks guys for your help.

    I didnt know about this file /usr/local/apache/logs/error_log thanks @24x7server
    I checked, but I got nothing there.

    @cPanelMichael Yes Im sure, I used tail -f on access_log file and error file but when I hit a 500 on access_log, I see nothing on error file.
    The DNS are correct because I see all the traffic on my cPanel.

    I created a ticket on your support panel : 8924841

    Thanks, I'm still looking for some tips :)
     
Loading...

Share This Page