Please enable java script to visit.
NOTEBOOK
HOMEPHP / MySQLJS / HTMLWXappPythonC++Blender其他
Ubuntu 20.04 安装 Let's Encrypt 证书出现 Apache自动关闭的解决办法 - NOTEBOOK
Ubuntu 20.04 安装 Let's Encrypt 证书出现 Apache自动关闭的解决办法
其他
Posted on 2022-12-24
摘要 : Ubuntu 20.04 安装 Let's Encrypt 证书后,会出现 Apache自动关闭的问题。
原因可能是因为 certbot 导致的。
Mutex file:${APACHE_LOCK_DIR} default
Installed LetsEncrypt and redirects to https work but web pages are no longer reachable
ubuntu - Apache shutdown - Couldn't grab mutex
创建以下文件,编辑:
sudo nano /etc/apache2/conf-available/mutex-file.conf


在文件中写入以下内容,保存退出。
Mutex file:${APACHE_LOCK_DIR} default


启用配置文件
sudo a2enconf mutex-file


重新启动 Apache
sudo systemctl restart apache2


https://www.coder.work/article/4056608
https://stackoverflow.com/questions/50652808/apache-shutdown-couldnt-grab-mutex