# Configuration error: No MPM loaded when using validate in apache role

**URL:** <https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [October 9, 2015, 3:27pm UTC](https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473 "2015-10-09T15:27:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_DJOMEDA](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Post date:** [October 9, 2015, 3:27pm UTC](https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473/1 "2015-10-09T15:27:17Z")

</div>

Hello Guys,

I am sure this is a little issue many of you have already solve but I seem stuck about this rc:1 error:AH00534: apache2: Configuration error: No MPM loaded when I use validate in tempate module of my apache role.

Everything works file when commented out. Looks like so many fix on google , some about making getting the mpm module used (depends on OS) and using the right one, but it seems ubuntu node which I am using is nicely configured with those defaults so I am out of options here.

My work in on [pastie.org](http://pastie.org/10470494)

Kindly shed some light on what I am doing wrong.

Best Regards,

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [October 9, 2015, 3:33pm UTC](https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473/2 "2015-10-09T15:33:36Z")

</div>

validate checks the file BEFORE putting it into place, since you are  
using a multifile configuration, the validation will always fail as it  
is missing the rest of the apache config.

validate is only useful with single file configurations

---

<div class="post-metadata">

**Author:** ![Joseph\_DJOMEDA](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Post date:** [October 9, 2015, 3:52pm UTC](https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473/3 "2015-10-09T15:52:25Z")

</div>

Hello Brian,

Thank you.

---

<div class="post-metadata">

**Author:** ![Joseph\_DJOMEDA](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Post date:** [October 9, 2015, 6:01pm UTC](https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473/4 "2015-10-09T18:01:45Z")

</div>

Hello All,

I have tried with single configuration this time but it didn’t work still. I get the part it checks before but in my case I was not even using it. it’s part of a include file task that would get skipped anyway. So am not too sure how to make this compatible with my include\_file\_based\_on\_condition bit.

How does that work?

Best Regards,

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [October 9, 2015, 6:10pm UTC](https://forum.ansible.com/t/configuration-error-no-mpm-loaded-when-using-validate-in-apache-role/19473/5 "2015-10-09T18:10:35Z")

</div>

it does not, that is my point
