---
slug: "ubuntu1804-apacheが強制終了する"
title: "Ubuntu18.04 Apacheが強制終了する場合"
description: "Apache が突然死するので、ログを見てみると AH00050: Child 7815 returned a Fatal error... Apache is exiting!\n AH02818: MPM run failed, exitin となっていた。"
url: "https://www.ytyng.com/blog/ubuntu1804-apacheが強制終了する"
publish_date: "2018-09-03T11:11:58Z"
created: "2018-09-03T11:11:58Z"
updated: "2026-02-27T10:45:00.928Z"
categories: []
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/96e8cb98f4e34183b109208f8e1f72e1.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "ja"
---

# Ubuntu18.04 Apacheが強制終了する場合

<p>Apache が突然死するので、ログを見てみると</p>
<pre>$ tail /var/log/apache2/error.log</pre>
<pre>[Mon Sep 03 19:24:17.252747 2018] [mpm_prefork:emerg] [pid 7851] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.253264 2018] [mpm_prefork:emerg] [pid 7819] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.253385 2018] [mpm_prefork:emerg] [pid 7815] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.253561 2018] [mpm_prefork:emerg] [pid 7817] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.253739 2018] [mpm_prefork:emerg] [pid 7852] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.253916 2018] [mpm_prefork:emerg] [pid 7855] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.252992 2018] [mpm_prefork:emerg] [pid 7848] (43)Identifier removed: AH00144: couldn't grab the accept mutex<br />[Mon Sep 03 19:24:17.464946 2018] [core:alert] [pid 7636] AH00050: Child 7815 returned a Fatal error... Apache is exiting!<br />[Mon Sep 03 19:24:17.464976 2018] [:emerg] [pid 7636] AH02818: MPM run failed, exitin</pre>
<p>となっていた。</p>
<p>Apache 2.4 で AH00144: couldn't grab the accept mutex | gwaw.jp<br /><a href="https://www.gwaw.jp/20180526-16.html">https://www.gwaw.jp/20180526-16.html</a></p>
<p>こちらを参考に</p>
<pre>$ sudo bash -c "echo 'Mutex file:\${APACHE_LOCK_DIR} default' &gt; /etc/apache2/conf-available/mutex-file.conf"</pre>
<p>して</p>
<pre>$ sudo a2enconf mutex-file<br />$ sudo systemctl restart apache2</pre>
<p>した。</p>
<p></p>
<p></p>
