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
| Category | Log keyword | Possible cause |
| Files and disks | extend_disk_error | Failed to scale out the disk |
| online_disk_error | Failed to bring the disk online | |
| import_disk_error | Failed to import the dynamic disk | |
| format_disk_error | Failed to format the disk | |
| no_system_disk | No system disk or the system disk is corrupted | |
| Registry | registry_access_error | Registry access error |
| Drivers | install_virtio_error | Failed to install virtio |
| disk_cannot_extend | The disk cannot be scaled out | |
| disk_data_loss | Disk data loss | |
| netkvm_start_fail_onmoc | Legacy network interface card driver | |
| Management commands | unknown_operation | Unknown management command |
| config_passwd_error | Failed to change the password | |
| start_assist_error | Failed to start Cloud Assistant | |
| config_ntp_error | Failed to configure NTP | |
| meta_server_error | Failed to connect to Meta Server | |
| Others | sysprep_not_ready | Sysprep is not complete |
| unknown_win_version | System 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.
- 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:
- Remotely connect to the ECS instance.For more information, see Select a method to connect to an ECS instance.
- 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?.
- In the ECS console, restart the instance.For more information, see Restart an instance.
- In the ECS console, change the instance password.For more information, see Reset the logon password of an instance.