FreePBX | Register | Issues | Wiki | Portal | Support

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

freepbx
Tags: #<Tag:0x00007fcd1f557c30>

(Senthil) #1

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


(Tom Ray) #2

FreePBX 15? You sure?


(Senthil) #3

Yes… freepbx-15.0-latest.tgz


(Tom Ray) #4

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.


(Senthil) #5

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


(Senthil) #6

instead of slash (/) i used _


(Tom Ray) #7

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.


(Senthil) #8

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.


(Tom Ray) #9

14 is the current release, so yes.


(Senthil) #10

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


(Senthil) #11

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"


(Senthil) #12

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


(Tom Ray) #13

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.


(Senthil) #14

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


(Senthil) #15

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


(Tom Ray) #16

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


(Senthil) #17

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


(Itzik) #18

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