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.

Perl

Discussion in 'General Discussion' started by Etheral, Jun 28, 2004.

  1. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    it seems that perl scripts on my server are not working, everything ive tried to repair this problem hasnt worked, anyone have any ideas?
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    what does the apache error_log have in it ??

    what have you tried to do to fix ??

    suexec enable/disabled ??

    Mickalo
     
  3. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    suexe enabled, havnt checked error logs,
    and im running Fedora Core 2
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    make sure the scripts are executabe, chmoded 0755, the folders the scripts are located in, the folder must be chmoded 0755. check your apache error_log to see for more specific errors, check the suexec_log log for additional info.

    Mickalo
     
  5. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    i no the perl scripts are 777. in cgibin
    the only perl problem in apache log is:
    $ or unable to stat: /home/extract/public_html/cgi-bin/perl.exe
     
  6. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    the script must be chmoded 0755, and should have the extension .pl and/or .cgi unless you have some custom directives in the apache httpd.conf file
     
  7. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
  8. php-dawg

    php-dawg Active Member

    Joined:
    Jul 9, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Atlanta, GA
    I have the same problem. Just started after updating Apache to 1.31.x
     
  9. rapta

    rapta Active Member

    Joined:
    Aug 20, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    /home/extract/public_html/cgi-bin/perl.exe

    From the above error it looks like the script's shebang is incorrect. Ensure that the first line of each of the scripts are labled #!/usr/bin/perl
     
  10. php-dawg

    php-dawg Active Member

    Joined:
    Jul 9, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Atlanta, GA
    Thanks, but that is not the problem we are experiencing on our servers here.
     
Loading...

Share This Page