hi, i writed here only because the error is “cannot connect to asterisk” so i don’t undestand if is an asterisk problem or freepbx.
Now i try to ask in the freepbx forum
Thank you
First you need to start the asterisk service, on Centos 6.5 the command is service asterisk start , then you connect to Asterisk using the following command " asterisk -rvvvv",
i tryed but not working.
I do not what i can do. The problem is only after a reboot.
The problem is on freepbx or on asterisk?
what i can ask in the linux forum?
When you have Asterisk compiled and installed, the last step is to install the initialization script, or initscript. This script starts Asterisk when your server starts, will monitor the Asterisk process in case anything bad happens to it, and can be used to stop or restart Asterisk as well. To install the initscript, use the make config command. This script works on any Centos 's version prior to version 7. I haven’t work with Asterisk on Centos 7, so there is not too much I can do.
cd /usr/src
tar xvfz asterisk-13-current.tar.gz
rm -f asterisk-13-current.tar.gz
cd asterisk-*
contrib/scripts/install_prereq install
./configure --libdir=/usr/lib64
contrib/scripts/get_mp3_source.sh
make menuselect
make
make install
make config
ldconfig
chkconfig asterisk off
So i used make config.
I don’t understand if this problem is from asterisk or freepbx
(sorry for my english, i’m italian)
i tryed to add systemctl enable asterisk on the /etc/systemd/system/freepbx.service and reboot but i have the same problem.
Chkconfig is off, this is my output:
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
i think now is working.
I reboot the sistem 3-4 times and i have not this problem
Just when i write only chkconfig but now i add “on” and it working again
thank you
hi, i try to install asterisk with centOs 7,but in the final step ,when i execute “service asterisk start” ,i have this :“job for asterisk service failed because a timeout was exceeded” what can i do? thank you