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!

weird perl problem

Discussion in 'General Discussion' started by Diatone, Jun 6, 2002.

  1. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    316
    Hey,

    I am getting a weird perl problem. Any script I try to access through a browser I get a 500 Internal Server Error on. The permissions, and paths to perl are correct. What could be going on?

    Thanks
     
  2. snowgod

    snowgod Well-Known Member

    Joined:
    Sep 23, 2001
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    306
    Got suexec?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Diatone

    Diatone Well-Known Member

    Joined:
    Aug 22, 2001
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    316
    yes.. whm says it's enabled.
     
  4. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    San Clemente, Ca
    try running this.

    /scripts/fixsuexeccgiscripts
    also tail -f /usr/local/apache/logs/suexec and see what the error is when you try to execute a script. If you dont see a error then tail -f /usr/local/apache/logs/error_log and see if you see anything their.

    Also try adding -W to the scripts descriptor (ex: #!/usr/bin/perl -W)

    if it works with the -W extention let me know.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. semaj

    semaj Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    I too were having cgi issues with Internal Server Errors server wide. I added the -W & the scripts work, What is the fix & what is causing the problem?

    James Taylor
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice