• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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