Unable to install Plesk for VPS license in a Virtuozzo 7 container: The license key is only intended for use with Plesk within a Virtuozzo container virtual environment

Created:

2017-01-02 16:50:32 UTC

Modified:

2017-08-10 15:09:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to install Plesk for VPS license in a Virtuozzo 7 container: The license key is only intended for use with Plesk within a Virtuozzo container virtual environment

Note: This article has the reference to the issue with the fix available:

  • #PPPM-5509 "On CentOS 7 x64 servers, Plesk installed in a Virtuozzo 7 container incorrectly detected the environment as a physical server."
    Fixed in:
Please consider updating your server:

Issue Symptoms

Unable to install Plesk for VPS license on a Virtuozzo 7 container:

Error: The license key is invalid. To use Plesk, you must request and install a new, valid license key.
The license key is only intended for use with Plesk within a Virtuozzo container virtual environment.

The platform is detected as "dedicated" when running the following command ( info.php content file is taken from the following article ):

# /usr/local/psa/bin/sw-engine-pleskrun info.php | grep platform
 'platform' => 'dedicated',

Virtualization is detected as:

# virt-what
openvz
lxc

Conditions

This is an internal issue with ID #PPPM-5509 , which is planned to be fixed in future product updates.

Resolution

As a workaround for Centos7x64 containers use the custom fix attached :

1. Download it and unpack: filemng.tar

2. Create the copy of /usr/local/psa/admin/sbin/filwrpr :

# cp /usr/local/psa/admin/sbin/filwrpr /usr/local/psa/admin/sbin/filwrpr_backup

3. Place unpacked custom fix filwrpr to /usr/local/psa/admin/sbin/ directory

4. Make sure the permissions are as follows:

# ls -la /usr/local/psa/admin/sbin/filwrpr
-rwxr-x--- 1 root root 35736 Jan  2 17:06 /usr/local/psa/admin/sbin/filwrpr

In order to automate containers deployment with the custom fix automatically applied , modify post-install script on a hardware node side by adding the following line in the end of /vz/template/centos/6/x86_64/config/app/pp17/default/post-install-hn file:

/bin/cp /root/filwrpr /vz/root/$VEID/usr/local/psa/admin/sbin
Make sure to place an unpacked custom fix file to /root directory: /root/filwrpr

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.