• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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