• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

can't start a cgi script.

H.W.B

Regular Pleskian
Hello,
I changed for a server with plesk 11.5 to plesk 12.5
Since then i can't start a cgi file.
I got an error 500.
In the error log of the domain i got the following error :
[cgid:error] [pid 26251:tid 140719033415424] [client 150.70.188.165:54854] End of script output before headers: backupsmanager.cgi
In the error log of httpd :
Can't locate CGI.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at backupsmanager.cgi line 946.
BEGIN failed--compilation aborted at backupsmanager.cgi line 946.
On the line 946 there is the following :
use CGI;

This script was working on the server with 11.5 but now i can't get it function.

Can anybody tell me how to get it working

Thank you

Henk
 
Make sure that you have installed perl-CGI package. For example, on my test Plesk 12.5 server I see:

[root@ppu12-5 ~]# rpm -ql perl-CGI | grep CGI.pm
/usr/share/perl5/CGI.pm

So, install it with

# yum install perl-CGI
 
Back
Top