• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Resolved Find out which Modules are used (python, perl) ?

daanse

Regular Pleskian
Hi,
i want to find out which Modules are used by current customers.
Python / Perl...

Is that possible?

My Goal: disable it from old Server, in order to move to new Server without activate Modules on destination Server?!

Thank you.
 
You can find this info in hosting table of Plesk database for corresponding domain ID. For instance:

mysql> select perl,python,coldfusion,asp,miva from hosting where dom_id=1;
+------+--------+------------+-------+-------+
| perl | python | coldfusion | asp | miva |
+------+--------+------------+-------+-------+
| true | true | false | false | false |
+------+--------+------------+-------+-------+
1 row in set (0.00 sec)
 
Login to Plesk database with command

# plesk db

and then run this SQL command.
 
Thankyou.
Output is as following:
Code:
mysql> select perl,python,coldfusion,asp,miva from hosting where dom_id=1;
+------+--------+------------+-------+-------+
| perl | python | coldfusion | asp   | miva  |
+------+--------+------------+-------+-------+
| true | false  | false      | false | false |
+------+--------+------------+-------+-------+
1 row in set (0.00 sec)

Does that means, that no one on the Server runs something with perl?
So i can turn off Perl / remove Perl?
 
yeah, i think everyone has, because the Service Plan was served like this at beginning.
No i have 300 Domains with Service plans, which allows Perl but propally don't need it.
My goal: Find out who's really using Perl and if no body cares, disable and delete Perl.
This i think is not easy or not possible, right?
 
Maybe you can find site with many .pl files with something like

# find /var/www/vhosts/ -name *.pl

and decide that this site probably uses perl, but I'm not sure :)
 
HI, thank you.
can i run this command with search eveything except the "test.pl" which is somehow in every httpdocs?
 
Hi daanse,

can i run this command with search eveything except the "test.pl" which is somehow in every httpdocs?

Possible example command to exclude names like "test.pl", when using find:

find /var/www/vhosts/ -name *.pl \( ! -name test.pl \)

For further documentations with the command "find" on linux systems, consider to read the manuals with the command "man find" over your command line, or choose to visit for example: => https://linux.die.net/man/1/find
 
Back
Top