You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some problems with running Apache and MariaDB in CentOS7 on Distrod. I have installed both in a fresh WSL 2 installation of CentOS7, they work until I restart WSL with wsl --shutdown or wsl --terminate Distrod.
It turned out that Apache fails to start after reboot because the /run/httpd directory gets deleted when restarting CentOS. I managed to get Apache running by recreating the missing directory: sudo mkdir /run/httpd sudo chown root:apache /run/httpd sudo chmod 0710 /run/httpd sudo systemctl start httpd.service sudo systemctl status -l httpd.service
However, I can't start MariaDB, must be something similar, but I don't know yet what is missing here.
My question is how to make the contents of the /run/ directory persistent to survive rebooting?
The text was updated successfully, but these errors were encountered:
I have some problems with running Apache and MariaDB in CentOS7 on Distrod. I have installed both in a fresh WSL 2 installation of CentOS7, they work until I restart WSL with
wsl --shutdown
orwsl --terminate Distrod
.It turned out that Apache fails to start after reboot because the /run/httpd directory gets deleted when restarting CentOS. I managed to get Apache running by recreating the missing directory:
sudo mkdir /run/httpd
sudo chown root:apache /run/httpd
sudo chmod 0710 /run/httpd
sudo systemctl start httpd.service
sudo systemctl status -l httpd.service
However, I can't start MariaDB, must be something similar, but I don't know yet what is missing here.
My question is how to make the contents of the /run/ directory persistent to survive rebooting?
The text was updated successfully, but these errors were encountered: