Apache shutdown - Couldn't grab mutex

前端 未结 4 739
无人及你
无人及你 2020-12-29 11:22

For some reasons unknow to me, Apache is crashing.

This is the apache log at the moment of the crash:

[Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:         


        
4条回答
  •  一个人的身影
    2020-12-29 11:51

    Below steps worked out for me in my case.

    1. Connect to the server via SSH

    2. Edit the /etc/apache2/apache2.conf file. Below command I used nano editor and you can use your favorite editor

    sudo nano /etc/apache2/apache2.conf

    1. Search for "Mutex" section

    2. Add the below line,

    Mutex posixsem

    1. Save and close the file.

    2. Check the configuration before restarting Apache service by running the command,

    sudo apachectl configtest

    1. Restart the Apache service if everything is fine with above check,

    sudo service apache2 restart

    Hope this helps someone.

提交回复
热议问题