genesisweb / valet-linux-plus

Advanced local development experience for Linux.
MIT License
143 stars 23 forks source link

I am getting this Php8.2-fpm is stopped... Nginx is stopped... #88

Open rabiibrahimi opened 1 year ago

rabiibrahimi commented 1 year ago

When i run valet status i am getting this error:

Php8.2-fpm is stopped... Nginx is stopped...

Anyone know why this is happening? i have followed all steps for installation but still not working, even when i try to ping a domain like ping foobar.test i get ping: foobar.test: Name or service not known

Any help would be appreciated. I am using WLS

uttamrabadiya commented 1 year ago

@rabiibrahimi Could you please share your OS, and output for below commands:

sudo lsof -i -P | grep LISTEN
sudo systemctl status php8.2-fpm
sudo systemctl status nginx
uttamrabadiya commented 1 year ago

@rabiibrahimi I've just initiated Slack workspace, maybe I can help to resolve this quickly on chat.

Thanks!

rabiibrahimi commented 1 year ago

hey @uttamrabadiya

I have run the command and below output:

dnsmasq 18992 dnsmasq    5u  IPv4  56014      0t0  TCP *:53 (LISTEN)
dnsmasq 18992 dnsmasq    7u  IPv6  56016      0t0  TCP *:53 (LISTEN)
nginx   19098    root    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19098    root    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19099   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19099   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19100   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19100   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19101   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19101   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19102   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19102   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19103   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19103   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19104   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19104   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19105   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19105   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19106   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19106   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)

when running sudo systemctl status php8.2-fpm && sudo systemctl status nginx

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

I am using windows 11 pro ~ 64-bit os ~ OS build 22621.1413

any help will be appreciated. Thanks

rabiibrahimi commented 1 year ago

when i run service php8.0-fpm status instead of systemd then i get php-fpm8.0 is running samething for nginx nginx is running.

however when i run valet status i get below message: Php8.0-fpm is stopped... Nginx is stopped...

also when i run ping -c1 foobar.test ping: foobar.test: Name or service not known

uttamrabadiya commented 1 year ago

@rabiibrahimi There are several compatibility issue with WSL as it is a sub-system, we are currently focusing on other OS, so once we get some free time we will focus on WSL support too.