Articles in this section

Unable to update Plesk: Invalid class FATAL_ERROR: Unable to get IP address

Plesk for Windows kb: technical

Applicable to:

  • Plesk for Windows

Symptoms

  • Plesk update fails with one of the following errors:

    PLESK_INFO: Plesk pre-upgrade checking...
    'wmic.exe' is not recognized as an internal or external command,
    operable program or batch file.
    FATAL_ERROR: Unable to get IP address

    CONFIG_TEXT: INFO: STEP 6: Checking the availability of Plesk Panel TCP ports...
    ERROR: Invalid class
    Description = Not found
    FATAL_ERROR: Unable to get IP address

  • When pressing Reread IP in Tools and Settings > IP Addresses one of the following errors is displayed:

    CONFIG_TEXT: Error: ifmng failed: Class not registered (COM Error 80040154) at Unable to get all IP addresses at (IFmng::IPManager::getAll line 274) at execute console command --list(vconsoleapp::start line 100) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\ifmng.exe" --list(vconsoleapp::run line 117) (Error code 1)

  • Running the following command via Command Prompt as the Windows Administrator returns an error:

    C:\> wmic.exe path win32_NetworkAdapterConfiguration get IPaddress /value
    'wmic.exe' is not recognized as an internal or external command,
    operable program or batch file.

Cause

The wmic.exe Windows tool does not function as expected, because the win32_NetworkAdapterConfiguration class from the WMI repository is corrupted, due to which it needs to be rebuilt. Plesk uses the information in this repository for various functions and needs it to be accessible.

Resolution

Warning: Deleting and rebuilding the repository can cause damage to the system or to installed applications. It is highly recommended to perform a server backup or snapshot before proceeding. Additionally, a reboot will be required which will cause downtime.

  1. Connect to the server via RDP
  2. Rebuild WMI according to Microsoft's official instructions for the purpose

Note: This error can be ignored and upgrade may continue if there are no other visible errors in Plesk and the following command returns a proper output instead of an error message:

C:\> wmic.exe path win32_NetworkAdapterConfiguration get IPaddress /value

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.