Quantcast
Channel: System has not been booted with systemd as init system (PID 1). Can't operate - Ask Ubuntu
Browsing all 4 articles
Browse latest View live

Answer by Anynomius for System has not been booted with systemd as init...

Ok, my answer may not be related to the question, but I had a similar issue. I wanted to startup an Nginx with "sudo systemctl start nginx", but it didn't work on Ubuntu WSL. But I figured out that the...

View Article



Answer by NotTheDr01ds for System has not been booted with systemd as init...

Surprisingly, after 6 years or so of WSL, there doesn't seem to be a good, general-purpose "Systemd" question here on Ask Ubuntu. So this looks like a good one to use for that purpose.In general, when...

View Article

System has not been booted with systemd as init system (PID 1). Can't operate

I use WSL2 on Windows 11. I want to run the systemctl command in Ubuntu 20.04, but it gives me the following error:System has not been booted with systemd as init system (PID 1). Can't operate. Failed...

View Article

Answer by av_admin for System has not been booted with systemd as init system...

The systemctl is now available in wslAdd these lines to the /etc/wsl.confnote you will need to run your editor with sudo privileges, e.g: sudo nano /etc/wsl.conf[boot]systemd=trueAnd close out of the...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images