Internal Server Error issue

Discussion in 'Web Hosting Support' started by WebMaster, Sep 1, 2019.

  1. WebMaster

    WebMaster New Member

    Joined:
    Sep 1, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have installed Cpanel on my server.

    When i want to access a site appear this :

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@xxxxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Please Help.
     
  2. VPSnet

    VPSnet Member

    Joined:
    Oct 26, 2018
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hello WebMaster,

    Like you already posted this is internal error, we can try to solve this issue, but firstly you need provide some logs:
    /usr/local/cpanel/logs/error_log
    /usr/local/cpanel/logs/panic_log
    /var/log/cpanel
    /var/log/nginx/error.log
     
  3. AdrianG001

    AdrianG001 Active Member Verified

    Joined:
    Sep 30, 2019
    Messages:
    27
    Likes Received:
    1
    Trophy Points:
    3
    An internal server error happens when the server encounters a situation it doesn’t know how to handle. Occasionally, your browser can be the source of these kinds of errors. You can try these steps to see if they’ll help:

    • Clear the browser cache
    • Clear cookies
    • Refresh the page (F5)
    • Try a different browser
    While it’s more than likely these won’t work, there’s always a chance they might, and they are simple to try.

    Nine times out of 10, this error results from one of two common errors:
    • An error in a CGI script caused it to fail or output an error message before it started producing valid HTML. It happens to me all the time if I have a syntax error in one of my Perl CGI scripts.
    • A permissions issue occurred when attempting to access a CGI script. Depending on how your web server is configured, it’s not enough for the script to have “execute” permission; it must also be owned by the correct user and belong to the correct group. I can’t tell you what that should be, because it varies widely from server to server (and even from site to site on the same server). My best recommendation is to look at the attributes of a script that is working and copy that.
    The format of the error described here is common for Apache web servers. That means we can also look for common error logs. Once again, the location of these logs varies a great deal based on specific web server configuration.
    • access_log is the log of successful accesses. On a shared or virtual hosting server, there may be many of these: one per website, often with site-specific names or in site-specific locations on the server.
    • error_log is the log of errors. On some hosts, there is an error log per site. On others, each site has its own access_log, but there may only be a single error_log for the system.
    • suexec_log is the log most people forget. It deals with the permissions used to execute CGI and other scripts. When a CGI fails to execute because its ownership is wrong, the generic internal server error shows in the error log, but a more specific error detailing the permissions involved appears in this log.
     
  4. Jennifer Thomas

    Jennifer Thomas Member

    Joined:
    Jul 7, 2020
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    You can fix the internal error from c-panel of your website. if you have any issue, the system also gives a reason for it, and when you determine the reason you can fix it by c-panel.

    For fix internal error, you can follow the step are given below
    - log in your c-panel
    - search error_log
    - there you can see the real error
    -after that, you fix the error from where it appear

    or if you can't able to fix it then you contact your hosting company if the error comes under their system than they will fix the error, but the error belongs to your coding then you have to contact your web designer.
     

Share This Page