How to resolve Vminit log exceptions in a Windows instance

更新时间:
复制 MD 格式

This topic describes how to identify and resolve Vminit log exceptions in a Windows instance by analyzing key error messages.

Symptoms

The Vminit logs of a Windows instance contain key error messages. The keywords from these messages are listed in the Vminit log information table.

Possible causes

The following table describes the keywords found in the Vminit logs of a Windows instance and their possible causes.
Table 1. Vminit log information
CategoryLog keywordPossible cause
Files and disksextend_disk_errorFailed to scale out the disk
online_disk_errorFailed to bring the disk online
import_disk_errorFailed to import the dynamic disk
format_disk_errorFailed to format the disk
no_system_diskNo system disk or the system disk is corrupted
Registryregistry_access_errorRegistry access error
Driversinstall_virtio_errorFailed to install virtio
disk_cannot_extendThe disk cannot be scaled out
disk_data_lossDisk data loss
netkvm_start_fail_onmocLegacy network interface card driver
Management commandsunknown_operationUnknown management command
config_passwd_errorFailed to change the password
start_assist_errorFailed to start Cloud Assistant
config_ntp_errorFailed to configure NTP
meta_server_errorFailed to connect to Meta Server
Otherssysprep_not_readySysprep is not complete
unknown_win_versionSystem version unknown

Solutions

Instructions

Find the possible cause based on the keyword from the Vminit log and resolve the issue. After the issue is resolved, run the operation again. The error message will no longer appear in the Vminit log.

Important
  • If you perform risky operations, such as modifying instances or data, create a snapshot beforehand to ensure disaster recovery and fault tolerance. For more information, see Snapshot overview.
  • If you granted authorization or submitted security information, such as logon accounts and passwords, on the Alibaba Cloud platform, promptly change the related security information.

Example

For example, if you cannot change the password of a Windows instance in the ECS console, you can log on to the instance to check the Vminit log. If the log contains the keyword config_passwd_error, it indicates that Vminit failed to change the instance password.

In this case, check whether third-party security software is installed on the instance. If it is, uninstall the software by performing the following steps:

  1. Remotely connect to the ECS instance.
  2. Check for and uninstall any third-party security software on the ECS instance.
    For more information about how to uninstall third-party security software, see the uninstallation procedure in How to resolve failures of key Vminit operations in a Windows instance?.
  3. In the ECS console, restart the instance.
    For more information, see Restart an instance.
  4. In the ECS console, change the instance password.
    For more information, see Reset the logon password of an instance.