genesisweb / valet-linux-plus

Advanced local development experience for Linux.
MIT License
148 stars 26 forks source link

After Cleaning my PC with Stacer Valet is not working. #44

Closed MuhammadSaim closed 3 years ago

MuhammadSaim commented 3 years ago

I just clean my package cache and logs from Stacer after restarting none of my hosts is working I recreate the host using the Valet link but nothing happen. I restart the valet but every package restarted perfectly without any issue but the host still, not working.

Please help.

image

uttamrabadiya commented 3 years ago

@MuhammadSaim

Can you please use the below command and write the output here:

valet domain

valet status

I believe this can be the issue of wrong domain or the web server service is not up.

MuhammadSaim commented 3 years ago

This is the output of both commands I start the nginx but having MySQL issue not starting image

image

uttamrabadiya commented 3 years ago

@MuhammadSaim as you can see your nginx service is not running, can you run the below command and paste output of it

sudo service nginx status

lsof -i -T | grep LISTEN

above commands will get the error of nginx as well as who is currently listening to port 80, there might be issue that Apache2 or some other service is running and due to that nginx couldn't start.

MuhammadSaim commented 3 years ago

I just solve the nginx issue now its working Stacer delete the log directory of the niginx in the /var/log/ I just created the directory with the name of nginx now it's working well. Now having an issue with MySQL service MySQL is not running.

image

dvmunjapara commented 3 years ago

Can you please check if dir /var/log/mysql/ present?