rahulgsp83 has asked for the wisdom of the Perl Monks concerning the following question:

Hi I am getting perl/CGI wrapper error in a pop up box whenever i try to execute my CGI script "wrapped" the error in pop up box is "error:cgi start up error:failed POST read -query len=20255,returned len=19898" pls note that i am using a CMS called Teamsite but this seems to be an Perl/CGI error, i am supposed to keep CGI script in a specfic directory(which i am doing) and then use this format "https://serveraddress/iw-bin/iw_cgi_wrapper.cgi/myfile.cgi" now when i removie "iw_cgi_wrapper.cgi" part ,myfile.cgi executes perfectly but when its there i get an error in pop up box as described above pls reply if u have any idea about this thing thanks in advance regards, rahul

Replies are listed 'Best First'.
Re: CGI Wrapper Error
by jhourcle (Prior) on Feb 20, 2009 at 17:06 UTC

    If it works fine without the wrapper, then it sounds to be a problem with the wrapper.

    All wrappers are a little different ... they might do things to limit resource utilization, just chown the scripts, or redirect STDERR to STDOUT. You'll likely need to look to the documentation for the wrapper, and see what it does, and see if that gives you a clue into how it's breaking your script.

Re: CGI Wrapper Error
by Anonymous Monk on Feb 21, 2009 at 07:54 UTC
    Contact your support, have them tell you how your server is configured, what software its running, and where you can find the manual. You're not supposed to guess.