Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start any service #6795

Closed
BlackDogLi opened this issue Apr 11, 2021 · 3 comments
Closed

Cannot start any service #6795

BlackDogLi opened this issue Apr 11, 2021 · 3 comments

Comments

@BlackDogLi
Copy link

Windows Build Number

19042.906

WSL Version

WSL 2

Distro Version

centos8

Other Software

Docker version 20.10.5, build 55c4c88
php7.4

Repro Steps

1、yum install php74
2、php74 -v
3、systemctl restart php74-php-fpm

Expected Behavior

Can start php-fpm

Actual Behavior

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Diagnostic Logs

No response

@newcanopies
Copy link

piggy-backing on this issue as it is likely also related to WSL2 not using systemctl but sysvinit (stand to be corrected).

$ snap install chromium
error: cannot communicate with server: Post http://localhost/v2/snaps/chromium: dial unix /run/snapd.socket: connect: no such file or directory

$ sudo systemctl unmask snapd.service
$ sudo systemctl enable snapd.service
$ sudo systemctl start snapd.service
error: cannot communicate with server: Post http://localhost/v2/snaps/chromium: dial unix /run/snapd.socket: connect: no such file or directory

@therealkenc
Copy link
Collaborator

/dupe #1579 ➡️ #994

@ghost
Copy link

ghost commented Apr 12, 2021

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants