Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    ckh
    ckh is offline
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default perl/cgi errors

    At one time, I thought that perl/cgi errors were available in cPanel by viewing the error logs, instead of the 500 internal error, for example, you could log in and get a more descriptive reason for the error.

    I'm not seeing that any more so the client needs to contact us to find out what the error is and we need to check the apache error_log. The logs will show a 500 errorpage not found error when an error occurs, but, not the perl/cgi error. Latest error was a database connection error.

    Running with suPHP and suExec enabled.

    Is there anything that can be done to get the perl/cgi errors in the cPanel error log? php errors show up fine there.

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: perl/cgi errors

    If suexec is enabled, you need to look in the Apache error_log as well as the suexec_log. Both are located in /usr/local/apache/logs/.

    If the error is happening within an application, and not coming from Perl itself, there may not be a notation in any of the Apache logs.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    ckh
    ckh is offline
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default Re: perl/cgi errors

    I guess I wasn't clear on one of my statements. In the cPanel error logs, you will only see an error about the 500 errorpage not found, if there isn't a 500 error page, but, nothing related to the cgi error itself.

    I can find the errors in the server logs with no problem. But, if the errors were in the cPanel error logs, then the client wouldn't need to contact us to find out what the error is, they could just look in their cPanel error logs. Seems it would be more convenient that way all the way around, the client could just look at the cPanel error logs to see what the problem is and correct it, instead of contacting us, waiting for a reply, us looking it up in the logs, replying to the client, etc.

    I'm almost positive that the cgi errors were at one time available in the cPanel error logs, but, I haven't had a reason to look at the cPanel error logs in quite a while, probably a year or more. I quite remember seeing the old headers have already been sent error in the logs, but, they just aren't there any more. Not sure if this is some setting on the server or it was due to a cPanel upgrade.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: perl/cgi errors

    This sounds like a feature request to ask these errors display in the cPanel error logs. There isn't any setting to divert the perl or cgi script errors to cPanel that I'm aware existing at this time. Our feature request forum is at the following location:

    Feature Requests for cPanel and WHM
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    ckh
    ckh is offline
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default Re: perl/cgi errors

    Correct me if I'm wrong, but wasn't that available at one time in the cPanel error logs, maybe 2 or 3 years ago?

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: perl/cgi errors

    I don't remember it being in the error logs, so I cannot confirm it in any way that it would have been there. Again, I suggest a feature request.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    ckh
    ckh is offline
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default Re: perl/cgi errors

    Already done. Just trying to find out if anyone else remembers it being available or my memory is going.... ;-)

Similar Threads & Tags
Similar threads

  1. perl/cgi errors included in cPanel error log.
    By ckh in forum Feature Requests for cPanel/WHM
    Replies: 4
    Last Post: 02-25-2011, 01:04 PM
  2. How to run Perl CGI script
    By rgaut in forum New User Questions
    Replies: 4
    Last Post: 09-02-2007, 06:06 PM
  3. Perl cgi's now need -w or -U to run
    By jcarey in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-25-2006, 07:45 PM
  4. Securing PERL/CGI
    By ksingh in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-16-2003, 01:33 PM
  5. perl-demployer.cgi
    By marinanewman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-29-2002, 08:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube