unable to connect to asterisk.ctl

striker
Joined: Tue 19 of Oct, 2010

Re: unable to connect to asterisk.ctl

Posted:Fri 11 of Nov, 2011 (09:37 UTC)
hi as you are using very old docu
try this : striker24x7.blogspot.com/2011/05/installing-asteirsk18-freepbx28.html
ju4nch0
Joined: Mon 07 of Nov, 2011

Re: unable to connect to asterisk.ctl

Posted:Mon 07 of Nov, 2011 (23:34 UTC)
Are you sure asterisk is running?

Try with

  1. asterisk

to start * and then

  1. asterisk -r

To enter CLI OR....

  1. asterisk -cv

To run and enter * CLI at the same time.
jhm8071
Joined: Mon 07 of Nov, 2011

unable to connect to asterisk.ctl

Posted:Mon 07 of Nov, 2011 (21:49 UTC)
I tried installing asterisk on CentOS using the directions at voip-info.org/wiki/view/CentOS+5.2+and+Asterisk+1.6.x+installation. Well... something happened and it isn't working. When I try to do an "asterisk -r", I get the error "Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)." asterisk.ctl does not exist, but asterisk.pid does. I have tried a few things including giving 777 permissions to /var/run/asterisk.

I can't figure out what's going on. Any insight would be greatly appreciated.

Thanks in Advance,
Joe