Skip to content

Error code: Wsl/Service/E_UNEXPECTED #9490

@nehe009

Description

@nehe009

Version

Microsoft Windows [Versión 10.0.19045.2486]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.79.1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

steps taken until I got the error, in a fresh OS installation

  • Activate systemd
    sudo nano /etc/wsl.conf
    [boot] systemd=true

wsl.exe –shutdown

  • Install webmin
    sudo nano /etc/apt/sources.list → deb https://download.webmin.com/download/repository sarge contrib
    wget https://download.webmin.com/jcameron-key.asc
    cat jcameron-key.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/jcameron-key.gpg
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install webmin

  • install webinoly (lemp)
    wget -qO weby qrok.es/wy && sudo bash weby -clean
    sudo stack -php-ver=8.1
    sudo stack -mysql-ver=10.6
    sudo stack -lemp

So far so good, all services work properly.

Expected Behavior

When closing the console window where the linux operating system is open, the WSL is expected to stop all services in the background and turn off the virtual machine.

Actual Behavior

When I start the application again I get the following error:

Fatal Error
Error code: Wsl/Service/E_UNEXPECTED
press any key to continue

and then the window closes.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions