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.

CGI problems

Discussion in 'General Discussion' started by kcdworks, Aug 17, 2002.

  1. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Okay, I set a customer up on his own IP .. he can run .pl scripts with no problems, .cgi scripts give a 500 server error, error logs show premature end of script headers. This IS on scripts that require MySQL access.

    I have REinstalled:

    perl, perl-DBD-MySQL, perl-DBI

    I have tried this with AND without SuEXEC, and the SAME scripts run fine on other domains. All chmod permissions are correct, scripts were uploaded in ASCII format, and the path to perl is correct. I am STUMPED. Any suggestions?
     
  2. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Ripped and Reinstalled perl, EVERY module, and it seems to be okay now ...

    For some reason, there were all kinds of dependency issues. I told it to ignore dependencies, and it seems to have worked fine. :)
     
  3. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Well, we thought it was working ... we STILL cannot install PerlDesk, which was the entire point ....

    ANY input would be appreciated.
     
  4. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Have you checked your logs to see what they say? Also, do you have suExec enabled?
     
  5. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    I've tried with AND without suexec ... the logs give &premature end of script headers& and that's it.
     
  6. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Actually, it's giving us 404 errors in the browser now, even though the file exists. If anyone would like to lend a hand, my ICQ is 58286649.
     
  7. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Okay, as much as I HATE replying to my own posts:

    {RANT}

    All the needed perl RPM's were NOT installed. I had to go hand install all of these things for this to work. At least now there are no more CGI problems. How moronic is that? Shouldn't that be a default?

    {/RANT}

    I'm not bashing the devs of the great CPanel, for all I know, it is a default and the people that installed CPanel messed it up. Who knows? But all (seems to be) well now.
     
  8. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    {RANT}

    Get a linux newbie book

    {/RANT}
     
  9. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    There's no reason for that now. I searched this board, and found other posts where people were having the same problems, it's not just me, and it's not just my box. But .. guess what? They weren't answered either. Their posts sat/sit unanswered on a support board. So apparently even people very experienced with Linux couldn't help them.

    Saeed, thanks for trying to help me, but we got it all settled.
     
Loading...

Share This Page