Virtualisation & VM Errors
VirtualBox, VMware, Hyper-V, WSL, KVM and hypervisor conflicts.
Understanding Virtualization errors
Virtualisation errors are usually about hardware virtualisation access: either it is disabled in firmware, or another hypervisor already holds it. On Windows, Hyper-V, WSL 2, Docker Desktop, Credential Guard and memory integrity all claim the virtualisation extensions, and VirtualBox or VMware then fails with a message that mentions VT-x but not the actual conflict.
How to debug Virtualization errors
- Confirm virtualisation is enabled at the CPU level:
grep -E 'vmx|svm' /proc/cpuinfoon Linux, or the Performance tab of Task Manager on Windows. - On Windows, check what else is using the hypervisor:
bcdedit /enum | findstr hypervisorlaunchtypeand whether Hyper-V, WSL 2 or Core Isolation are enabled. - On Linux, check
/dev/kvmexists and that your user is in thekvmgroup; nested virtualisation must be enabled explicitly on cloud VMs. - Match guest additions and tools versions to the hypervisor version: mismatches cause shared folders, clipboard and display problems that look like guest OS bugs.
- For WSL, run
wsl --statusandwsl --update; most WSL 2 errors are a stale kernel or a disabled Virtual Machine Platform feature.
Tools worth reaching for
grep -E 'vmx|svm' /proc/cpuinfowsl --statusbcdedit /enumls -l /dev/kvmsystemctl status libvirtd
All 20 Virtualization errors
- Hyper-V: Virtual switch not foundThe VM references a virtual switch that doesn't exist. The switch may have been deleted or the host was rebuilt.
- libvirt: Cannot access storage file (as uid:107, gid:107): Permission denied NewThe system libvirt daemon starts QEMU as an unprivileged user (qemu or libvirt-qemu, uid 107 on many distributions)…
- libvirt: Failed to connect socket to /var/run/libvirt/libvirt-sock Newvirsh connected to the session daemon rather than the system one, or the user is not in the group that owns the…
- libvirt: Requested operation is not valid: network 'default' is not active NewThe VM is attached to libvirt's NAT network called default, and that network is defined but not started, so the guest…
- Proxmox: can't lock file '/var/lock/qemu-server/lock-100.conf' - got timeout NewAnother task still holds the lock on that VM's configuration, so the new start, stop or backup waited and gave up. The…
- Proxmox: TASK ERROR: KVM virtualisation configured, but not available NewThe VM is set to use hardware acceleration (kvm: 1, the default) but the host has no /dev/kvm. On bare metal that…
- QEMU/KVM: /dev/kvm not availableKVM kernel module is not loaded or the user doesn't have permission to access /dev/kvm. Hardware virtualization may be…
- Vagrant: Box not foundThe Vagrant box specified in the Vagrantfile has not been downloaded or the name is incorrect.
- Vagrant: The IP address configured for the host-only network is not within NewVirtualBox 6.1.28 started restricting host-only networks to 192.168.56.0/21 on Linux and macOS. Vagrantfiles that have…
- VirtualBox: Kernel driver not installed (rc=-1908) NewThe vboxdrv module is missing or refused to load, which normally follows a kernel upgrade that left the DKMS build…
- VirtualBox: VERR_NEM_VM_CREATE_FAILED / raw-mode is unavailable NewSomething else on Windows already owns the hardware virtualisation extensions, so VirtualBox is pushed onto the…
- VirtualBox: VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE) NewVT-x is enabled and working, but another hypervisor on a Linux host already owns it, almost always the KVM kernel…
- VirtualBox: VT-x is not availableHardware virtualization (VT-x/AMD-V) is disabled in BIOS or being used by another hypervisor (e.g., Hyper-V, WSL2).
- VMware Workstation and Device/Credential Guard are not compatible NewOlder VMware Workstation and Player builds need VT-x to themselves, and Credential Guard, Memory Integrity (HVCI) and…
- VMware: Disk consolidation neededThe VM has orphaned snapshot delta disks that need to be merged back. Usually happens after a failed snapshot deletion.
- WSL 2: Kernel update requiredWSL 2 requires a Linux kernel component update that hasn't been installed yet.
- wsl: A localhost proxy configuration was detected but not mirrored into WSL NewWindows has a proxy set at 127.0.0.1 or localhost, usually from a corporate VPN client, Fiddler or a tool such as…
- WSL: docker: command not found inside a WSL distro NewDocker Desktop injects its CLI into WSL distributions only when integration is enabled for that specific distro. A…
- WSL: HCS_E_HYPERV_NOT_INSTALLED NewWSL 2 runs its distros in a lightweight virtual machine, and Windows could not create it. Either the Virtual Machine…
- WSL: Windows Subsystem for Linux is not installedWSL is not enabled on the Windows machine. The Windows feature needs to be installed and enabled.
Other categories
- AI 35Rate limits, context windows, GPU memory and model-serving failures.
- Ansible 18Unreachable hosts, become passwords, undefined variables and Jinja2 failures.
- API 20Auth headers, payload limits, versioning, idempotency and webhook signatures.
- Apple 20Command line tools, dyld, Homebrew permissions, notarisation and Keychain.
- Auth 20OIDC, SAML, Auth0, Okta, Keycloak, passkeys and MFA failures.
- BigData 17Spark, Kafka, Airflow, Snowflake, Flink and Databricks failures.
- C# 18NuGet restore, null references, EF Core migrations, async deadlocks and Blazor…
- C++ 20Segfaults, linker errors, memory corruption and template deduction failures.
- Caching 20Cache stampedes, stale content, Varnish and CloudFront failures.
- CI/CD 18GitHub Actions, GitLab CI, Jenkins, CircleCI: permissions, runners and…
- Client 21CORS, mixed content, module resolution, memory limits and framework runtime…
- Cloud 25IAM permissions, quotas, service limits and credential failures.
- Dart 20Null safety, pub version solving and build toolchain problems.
- Database 41Connections, deadlocks, constraints, replication and memory limits.
- DNS 20NXDOMAIN, SERVFAIL, timeouts, propagation and delegation problems.
- Docker 27Daemon connectivity, disk space, image pulls, ports and architecture mismatches.
- Elixir 18GenServer timeouts, supervision failures and Mix compilation problems.
- Email 20Delivery failures, relay denial, authentication, SPF, DKIM and DMARC.
- Frontend 23Hydration mismatches, bundler resolution, layout shift and font loading.
- Git 20Merge conflicts, rejected pushes, detached HEAD, LFS and repository corruption.
- Go 19Nil map assignment, concurrent map access, context cancellation and deadlocks.
- GraphQL 19Validation, depth limits, N+1 queries and fragment problems.
- gRPC 17Status codes, deadlines, message limits, TLS and HTTP/2 transport failures.
- HTTP 494xx client errors, 5xx server errors, redirects, headers and protocol problems.
- ICMP 23Destination unreachable, time exceeded, fragmentation needed and redirects.
- Ingress 20404 default backend, missing TLS secrets, IngressClass and path matching.
- Java 19Class loading, dependency resolution, connection pools and JVM version…
- JavaScript 42npm resolution, async pitfalls, hydration, memory limits and runtime type…
- Kubernetes 34CrashLoopBackOff, ImagePullBackOff, OOMKilled, RBAC, scheduling and storage.
- Logging 18Log4j, Logback, Fluentd, Logstash and CloudWatch ingestion problems.
- MessageQueue 20Kafka, RabbitMQ, SQS, NATS and Celery: lag, rebalancing and poison messages.
- Mobile 20Gradle, CocoaPods, Xcode signing, Metro bundler and toolchain mismatches.
- Monitoring 18Prometheus scrapes, Grafana data sources, OpenTelemetry exporters and agent…
- Network 35Refused connections, timeouts, resets, MTU problems and port exhaustion.
- Performance 19GC pauses, thread pool starvation and event loop blocking.
- PHP 20Memory limits, execution timeouts, autoloading, Composer and PDO connections.
- Proxy 20nginx, Envoy, HAProxy, Traefik, Caddy and Cloudflare upstream failures.
- Python 35Imports, virtual environments, encoding, concurrency and dependency conflicts.
- Regex 17Catastrophic backtracking, back references, escaping and engine differences.
- Ruby 20Bundler, migrations, native extensions, encoding and asset compilation.
- Rust 19Borrow checker, ownership moves, trait bounds and lifetime mismatches.
- Scala 17Dependency resolution, binary compatibility and type inference failures.
- Security 25JWT validation, CSRF, OAuth grants, SELinux, SSH host keys and CSP.
- Serverless 20Lambda timeouts, package size limits, VPC networking and cold starts.
- Shell 19Command not found, permissions, quoting, expansion and Makefile syntax.
- Storage 19S3 permissions, NFS mounts, quotas, signed URLs and volume attachment.
- Svelte 20Store subscriptions, load functions and server/client boundaries.
- System 26Disk space, systemd units, file descriptors, OOM killer and scheduled jobs.
- Terraform 18State locks, provider auth, drift, dependency cycles and plan-time unknowns.
- Testing 18Jest, pytest, JUnit, Cypress and Playwright: fixtures, snapshots and timeouts.
- TLS 24Untrusted authorities, expiry, hostname mismatch, chains and cipher negotiation.
- TypeScript 19Assignability, missing declarations, strict null checks and generic constraints.
- Web3 17Gas estimation, nonce management and reverted transactions.
- WebAssembly 17Compile errors, memory bounds and host binding mismatches.
- WebServer 20nginx, Apache, IIS and Caddy: binding, permissions, rewrites and TLS.
- Windows 20Installer failures, missing runtimes, update errors and permission problems.