Password reset fails Windows virtual servers on CentOS 7 KVM node: Root/Administrator password could not be changed. This virtual server may not be linux or Windows

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

  • Password reset does not work for Windows virtual servers on CentOS 7 KVM node

    SVM_ERROR: Error!
    Root/Administrator password could not be changed.
    This virtual server may not be linux or Windows

  • Execution of yum update command fails with the error:

    CONFIG_TEXT: Error: Package: 1:perl-Sys-Guestfs-1.38.2-12.el7_6.1.x86_64 (updates)
    Requires: libguestfs = 1:1.38.2-12.el7_6.1
    Installed: 1:libguestfs-1.38.2-6.el7.plesk.x86_64 (@libguestfs-plesk)
    libguestfs = 1:1.38.2-6.el7.plesk

  • The following packages missing:

    # rpm -q perl-Sys-Guestfs
    package perl-Sys-Guestfs is not installed

    # rpm -q libguestfs-tools
    package libguestfs-tools is not installed

  • Custom libguestfs from Plesk repos packages were installed before the system updates.

Cause

Attempt to install latest CentOS 7 updates results in missing/corrupted custom  libguestfs packages.

Resolution

  1. Connect to the slave KVM CentOS 7 node via SSH
  2. Exclude perl-Sys-Guestfs package from getting updated in /etc/yum.repos.d/CentOS-Base.repo file along with libguestfs* package. How to exclude package
  3. Install updates and missing perl-Sys-Guestfs:

    # yum update

    # yum install perl-Sys-Guestfs

  4. Reinstall libguestfs* packages:

    # yum remove libguestfs*

    # yum install libguestfs*.plesk

  5. Install libguestfs-winsupport package:

    # rpm -Uvh --force http://mirror.centos.org/centos/7/os/x86_64/Packages/libguestfs-winsupport-7.2-3.el7.x86_64.rpm

  6. Test password reset function once again

If the issue still persist, there is a probability that VPS mount point directory is not empty. Such behavior is described in this article.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.