Fresh install error communicating with Asterisk


(Jam) #1

Hi everyone,

I’m having some issues for some time, trying to install freepbx on centos7.

I have followed the freepbx wiki guide
when running ./install -n in /usr/src/freepbx I receive the following:

[root@hostname freepbx]# ./install -n
Assuming you are Database Root
Checking if SELinux is enabled...Its not (good)!
Reading /etc/asterisk/asterisk.conf...Done
Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Error!
Error communicating with Asterisk.  Ensure that Asterisk is properly installed and running as the asterisk user
Asterisk appears to be running as asterisk
Try starting Asterisk with the './start_asterisk start' command in this directory

I have confirmed that my /etc/asterisk/asterisk.,conf is correct and with ps aux | grep asterisk i receive the following:

[root@hostname freepbx]# ps aux | grep asterisk
asterisk 1409 0.0 0.4 645504 9312 ? S 16:17 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1410 0.0 0.4 645504 9312 ? S 16:17 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1411 0.0 0.4 645504 9312 ? S 16:17 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1412 0.0 0.4 645504 9312 ? S 16:17 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1413 0.0 0.4 645504 9312 ? S 16:17 0:00 /usr/sbin/httpd -DFOREGROUND
root 1718 0.0 0.0 113288 912 pts/0 S 16:21 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
root 2628 0.0 0.0 112808 972 pts/0 R+ 16:24 0:00 grep --color=auto asterisk

To be honest I am not quite the expert and I wanted to check with you guys what you think on my issue? Sorry if it’s repetitive or posted in the wrong section.

Best regards,


#2

Did you try

Try starting Asterisk with the './start_asterisk start' command in this directory

?

(But I would stop safe_asterisk first)


(Jam) #3

Hi, I have run ./start_asterisk start in the directory, but I had not stopped safe_asterisk before hand.

I just attempted this however I get the same error communicating with asterisk.


#4

for verbosity

bash -x start_asterisk start


(Itzik) #5

On one hand I want to see more people doing manual installs, since this is the point of this project, and a wish there would be more people with knowledge in manual installs.

On the other hand, as the Wiki states, manual installs are for experts.
Just so you know, the official distro is Centos7 and is very easy to install.


(system) closed #6

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.