Articles in this section

License server key shows invalid in VPS migrated to openstack cloud

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • License key is being refused due to a VM migration to a different virtualization platform(Openstack):

    PLESK_ERROR: The license key is invalid. In order to use Plesk, please obtain and install a new valid license key. The license key is intended only for use with Plesk operating inside the following virtual environments: Virtuozzo containers, VMWare, Microsoft Hyper-V, Xen, KVM, Virtuozzo Server, LXC, Docker.

  • Plesk detects system as 'kvm'

    # systemd-detect-virt
    kvm

  • # /usr/local/psa/bin/sw-engine-pleskrun /var/www/html/info.php | grep platform
    'platform' => 'kvm',

  • # virt-what
    kvm

  • Error in filesystem:

    # plesk repair fs -n -verbose
    Checking Linux system files

    There are incorrect permissions on some items:
    /usr/local/psa/admin/sbin/wrapper ................................. [ERROR]
    - Incorrect permissions on /usr/local/psa/admin/sbin/wrapper.
    Expected: one of 0o4510. Actual: 0o711.

    There are incorrect permissions on some items:
    /usr/local/psa/admin/sbin/mod_wrapper ............................. [ERROR]
    - Incorrect permissions on /usr/local/psa/admin/sbin/mod_wrapper.
    Expected: one of 0o4510. Actual: 0o510.

    There are incorrect permissions on some items: /usr/sbin/postdrop . [ERROR]
    - Incorrect permissions on /usr/sbin/postdrop. Expected: one of
    0o2755. Actual: 0o755.

    There are incorrect permissions on some items:
    /usr/lib64/plesk-9.0/postfix-sendmail-wrapper ..................... [ERROR]
    - Incorrect permissions on
    /usr/lib64/plesk-9.0/postfix-sendmail-wrapper. Expected: one of
    0o4755. Actual: 0o755.

    There are incorrect permissions on some items:
    /usr/lib64/plesk-9.0/sendmail/postdrop ............................ [ERROR]
    - Incorrect permissions on
    /usr/lib64/plesk-9.0/sendmail/postdrop. Expected: one of
    0o2755. Actual: 0o755.

    The permissions on the /etc/domainkeys directory are incorrect .... [ERROR]
    - The file /etc/domainkeys/ was not found.

    Checking virtual hosts' file system ................................. [OK]

    Error messages: 6; Warnings: 0; Errors resolved: 0
    exit status 1

Cause

The server was migrated the filesystem via a tool which strips these permissions bits.

Resolution

Carefully review and refine the approach used for VPS migrations to ensure that permissions are preserved throughout the process. This will help prevent potential issues related to access rights, security, and functionality that could arise from damaged or misconfigured permissions during the migration.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.