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.

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:
    16
    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:
    6
    Got suexec?
     
  3. Diatone

    Diatone Well-Known Member

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

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  5. semaj

    semaj Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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
     
Loading...

Share This Page