[asterisk-users] asterisk command line problem

Steve Edwards asterisk.org at sedwards.com
Thu Apr 9 09:53:56 CDT 2009


On Thu, 9 Apr 2009, Yavuzhan Canli wrote:

> I have been trying to solve this error message that I wrote below. Has
> anyone faced with this problem before ?
>
> --------------------------------------------------------
> [root at asterisk1 ~]# asterisk -rx "show channels"
> Unable to connect to remote asterisk
> (does /var/run/asterisk/asterisk.ctl exist?)
> --------------------------------------------------------

See if these commands shed some light.

 	uname -a
 	grep astrundir /etc/asterisk/asterisk.conf
 	ps -ef | grep asterisk
 	ls -l /var/run/asterisk.ctl
 	sudo /usr/sbin/asterisk -rx "show channels"

If not, please reply with the output from each.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list