1 like 0 dislike
887 views
I have installed asterisk I am trying to connect with it using asterisk -vvvr. But it gave me an following error message. Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
 
How can I solve this issue.Please help me.
 
Thanks in advance.
in Education & Reference by (630 points) | 887 views

3 Answers

0 like 0 dislike
There are two common reasons why this occurs:
 
  • Asterisk is not running.
  • You are trying to run asterisk -r as a non-root user.
If Asterisk isn't running, try to start it: asterisk -vvvc. If you are logged in as a non-root user, then log in as the root user
by (820 points)
0 like 0 dislike
If you have SELINUX enabled, it will prevent this file being created. You need to turn it off.
 
vi /etc/selinux/config
set SELINUX=disabled
and
reboot
by (180 points)
0 like 0 dislike
Just first run command.

asterisk

then

asterisk -vvvr

enjoy...
by

Related questions

1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
3 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Sep 24, 2017 in Education & Reference by Sam (1.4k points) | 851 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,226 questions
1,372 answers
559 comments
2,099 users