FreePBX GUI became unstable after yum update

Hi, I am observing unstable behavior of FreePBX GUI after performing yum update.
My platform is CentOS7, and after update, httpd service dies after 15 seconds or so…

Does anyone experiences similar issue?

[root@freepbx httpd]# cat /var/log/yum.log | grep httpd
Oct 12 17:38:20 Installed: httpd-tools-2.4.6-31.el7.centos.1.x86_64
Oct 12 17:38:42 Installed: httpd-2.4.6-31.el7.centos.1.x86_64
Dec 19 00:59:18 Updated: httpd-tools-2.4.6-40.el7.centos.x86_64
Dec 19 00:59:30 Updated: httpd-2.4.6-40.el7.centos.x86_64

[root@freepbx httpd]# cat /var/log/yum.log | grep mod_ssl
Nov 16 11:50:59 Installed: 1:mod_ssl-2.4.6-31.el7.centos.1.x86_64
Dec 19 01:01:09 Updated: 1:mod_ssl-2.4.6-40.el7.centos.x86_64

[root@freepbx httpd]# systemctl -l status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-12-19 10:29:13 CST; 14s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 7078 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 7029 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=0/SUCCESS)
Main PID: 7029 (code=exited, status=0/SUCCESS)
Status: “Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec”

Dec 19 10:28:49 freepbx systemd[1]: Starting The Apache HTTP Server…
Dec 19 10:28:49 freepbx systemd[1]: Started The Apache HTTP Server.
Dec 19 10:29:07 freepbx kill[7078]: kill: cannot find process ""
Dec 19 10:29:07 freepbx systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 19 10:29:13 freepbx systemd[1]: Unit httpd.service entered failed state.

Update. Under /var/log/httpd/error.log, I see a bunch of error messages like below;

[Sat Dec 19 11:52:29.570139 2015] [mpm_prefork:emerg] [pid 9628] (43)Identifier removed: AH00144: couldn’t grab the accept mutex
[Sat Dec 19 11:52:29.570275 2015] [mpm_prefork:emerg] [pid 9630] (43)Identifier removed: AH00144: couldn’t grab the accept mutex
[Sat Dec 19 11:52:29.570738 2015] [mpm_prefork:emerg] [pid 9629] (43)Identifier removed: AH00144: couldn’t grab the accept mutex
[Sat Dec 19 11:52:29.572450 2015] [mpm_prefork:emerg] [pid 9631] (43)Identifier removed: AH00144: couldn’t grab the accept mutex
[Sat Dec 19 11:52:30.147715 2015] [core:alert] [pid 9625] AH00050: Child 9628 returned a Fatal error… Apache is exiting!
[Sat Dec 19 11:53:12.328530 2015] [mpm_prefork:emerg] [pid 9627] (22)Invalid argument: AH00146: couldn’t release the accept mutex

and when I googled through the keyword, "couldn’t grab the accepted mutex, I found below articles.

http://help.directadmin.com/item.php?id=411

When I applied “Mutex posixsem” on /etc/httpd/conf/httpd.conf, it cured the symptom.

I learned long ago never to do a Yum Update.

FreePBX and Asterisk have far too many working parts that require certain versions of certain programs, i.e. PHP, MySQL, Asterisk, etc.

Yum Update will update you to the very latest version of everything, and often break everything.

My recommendation would be to reinstall. If you’re using the Distro, then use the update scripts if you want to update, or limit your use of Yum Update to very specific apps.

1 Like