• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Unable to run .pl script on windows server

yatint

Basic Pleskian
Hello,

I am not able to run .pl script on server. Here is the error :


Error Summary
HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: C:/Program Files (x86)/Parallels/Plesk/Additional/Perl/site/lib C:/Program Files (x86)/Parallels/Plesk/Additional/Perl/lib .) at (eval 3) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: CSV, DBM, ExampleP, File, Gofer, ODBC, Oracle, Proxy, SQLite, Sponge. at C:\inetpub\vhosts\xxxxxxxxxx\site2\cgi-bin\rez60setup.pl line 24 ".

and after making some changes in handler mappping for .pl module

HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

Please suggest what to do

thanks
Yatin
 
Hello,

Fixed issue at my end. In server components checked and found that perl version is 32 bit and ma server is 64 bit
so
Install perl 64 bit on server >> Moved all files and folders from C:\Perl64 to %Plesk%\Additional\Perl\. Then
tried to solve error

" can't locate DBD/mysql.pm in @INC (@INC contains: C:/Program Files (x86)/Parallels/Plesk/Additional/Perl/site/lib "

so ran ppm.bat and install dbd mysql and. It installed in C:\perl64\site\lib. Again moved same folder in plesk path >> restated plesk services and the refreshed server components in plesk admin panel

That's all

Hope it will help for other too ! :)
Never give up ;)
 
Back
Top