Getting Error " httpd.service has failed" while installing freepbx 15. Need help to resolve this issue

I have completed the CentOS-7 and Asterisk-15 successfully as per this web site:
Made few changes to apache by executing the below commends

sed -i ‘s/(^upload_max_filesize = )./\120M/’ /etc/php.ini
sed -i 's/^(User|Group).
/\1 asterisk/’ /etc/httpd/conf/httpd.conf
sed -i ‘s/AllowOverride None/AllowOverride All/’ /etc/httpd/conf/httpd.conf

“systemctl restart httpd.service”

When i try to restart the httpd service as a part of Freepbx-15 installation. i got the below error.

Output of “systemctl restart httpd.service” command
Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details.

Output of journalctl -xe command

– Defined-By: systemd


– Unit httpd.service has failed.

– The result is failed.
Nov 08 16:00:19 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Nov 08 16:00:19 localhost.localdomain systemd[1]: httpd.service failed.
Nov 08 16:00:19 localhost.localdomain polkitd[727]: Unregistered Authentication Agent for unix-process:26780:797
Nov 08 16:01:01 localhost.localdomain systemd[1]: Started Session 251 of user root.
– Subject: Unit session-251.scope has finished start-up
– Defined-By: systemd


– Unit session-251.scope has finished starting up.

– The start-up result is done.
Nov 08 16:01:01 localhost.localdomain systemd[1]: Starting Session 251 of user root.
– Subject: Unit session-251.scope has begun start-up
– Defined-By: systemd


– Unit session-251.scope has begun starting up.
Nov 08 16:01:01 localhost.localdomain CROND[26800]: (root) CMD (run-parts /etc/cron.hourly)
Nov 08 16:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[26805]: starting 0anacron
Nov 08 16:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[26811]: finished 0anacron
Nov 08 16:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[26813]: starting mcelog.cron
Nov 08 16:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[26817]: finished mcelog.cron

FreePBX 15? You sure?

Yes… freepbx-15.0-latest.tgz

Where did you get it? FreePBX 15 is still Alpha, there are no “manual install” instructions available for it.

Basically, there’s not support for this at this time.

mirror.freepbx.org_modules_packages_freepbx_freepbx-15.0-latest.tgz. i not able to send a link instead of that i have sent like this

instead of slash (/) i used _

It does not matter. V15 is Alpha, using the Distro update tool is the only supported method at the moment.

Your method is not supported. No one has even tested it because its Alpha.

I have installed CentOS-7 and asterisk-15.6.1. asterisk-15.6.1 CLI installation is completed successfully. May i install Freepbx-14 ? please confirm.

14 is the current release, so yes.

Thank you… Let me try and let you know the status

Before downloading freepbx-14.0-latest.tar. as per the procedure, i have to do small modification to apache. for that wiki.freepbx portal suggest to run this below command

sed -i 's/\(^upload_max_filesize = \).*/\120M/' /etc/php .ini
sed -i 's/^\(User\|Group\).*/\1 asterisk/' /etc/httpd/conf/httpd .conf
sed -i 's/AllowOverride None/AllowOverride All/' /etc/httpd/conf/httpd .conf
systemctl restart httpd.service

when i execute this " systemctl restart httpd.service" i got that error " httpd.service has failed"

At this point i did not install freepbx-14.0. it looks like prerequisite

Again, this is a manual install. These are listed as “Experts Only”. I have no idea what you did to install anything up to this point. You clearly were doing things on your own with no direction as there are no install instructions for FreePBX v15.

You need to start over and follow the wiki instructions from step 1 to the end. Even then, support is going to be limited it because now you’re asking us “How come Apache isn’t working?” which is something you should already understand at this point if you’re using this method.

After this steps only i have to download freepbx-14.0 using wget command

Understood. now i am trying CentOS-7 and asterisk-15.6.1 with Freepbx-14.0. Please share me any link that you have for CentOS-7 and asterisk-15.6.1 with Freepbx-14.0

It’s in the WIKI. Please start with the basics, like reading the official documentation Wiki.

wiki.freepbx.org_display_FOP_Installing+FreePBX+14+on+CentOS+7. I have followed this link. i usedunderscore _ instead of / slash

Whats the reason you want it on CentOS7 over using the official distro?