Hello, all of users:
After did some changes with FreePBX-13+Centos-7, I share some tips if facing some installation issues:
- make sure do not run make samples during asterisk installation, follow the guide exactly.
- make sure your Selinux BE disable before starting the installation.
- If after installing the tar file, the asterisk can not start up during the system boot time and GUI show asterisk can not connected, please run : chkconfig asterisk on again.
- if “systemctl status -l freepbx.service” can not work, maybe your the freepbx.server file missed, you have to manually add it to /etc/systemd/system/, please refer to this**
========================================================================
link:http://wiki.freepbx.org/display/HTGS/Example+systemd+startup+script+for+FreePBX
after add the file, the result show be this:
[root@localhost system]# reboot
login as: root
[email protected]’s password:
Last login: Wed Sep 16 22:11:09 2015 from 192.168.1.101
[root@localhost ~]# systemctl status -l freepbx.service
freepbx.service - FreePBX VoIP Server
Loaded: loaded (/etc/systemd/system/freepbx.service; enabled)
Active: active (exited) since Wed 2015-09-16 22:19:20 EDT; 4min 0s ago
Process: 4046 ExecStart=/usr/sbin/fwconsole start (code=exited, status=0/SUCCESS)
Main PID: 4046 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/freepbx.service
Sep 16 22:19:19 localhost.localdomain fwconsole[4046]: Running FreePBX startup…
Sep 16 22:19:19 localhost.localdomain fwconsole[4046]: Checking Asterisk Status…
Sep 16 22:19:20 localhost.localdomain fwconsole[4046]: Asterisk Seems to be running on PID: 3392 and has been running for 00:06
Sep 16 22:19:20 localhost.localdomain fwconsole[4046]: Not running Pre-Asterisk Hooks.
Sep 16 22:19:20 localhost.localdomain systemd[1]: Started FreePBX VoIP Server.
[root@localhost ~]# asterisk -r
Asterisk 13.5.0, Copyright © 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
Connected to Asterisk 13.5.0 currently running on localhost (pid = 3392)
localhostCLI>
localhostCLI>
localhostCLI>
localhostCLI> core set verbose 300
Console verbose was OFF and is now 300.
localhost*CLI>