Also look in /usr/local/ or something .. locate asterisk.ctl , locate 
asterisk.pid, some startup init scripts do it differently, also depends on base 
install, which changes on tarballs,svn , etc..

 

 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Yavuzhan Canli
Sent: April-09-09 10:17 AM
To: [email protected]; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] asterisk command line problem

 


asterisk is running without fault. And the file what you asked was in their 
location as you can see below. My asterisk version is "Asterisk 1.2.26.1 svn 
rev 79171". I have checked owner group and it seems "asterisk:asterisk". 

[r...@asterisk1 ~]# find / -name "asterisk.ctl"
/var/run/asterisk/asterisk.ctl




On Thu, 2009-04-09 at 09:54 -0400, Jared Smith wrote: 

 
On Thu, 2009-04-09 at 16:44 +0300, Yavuzhan Canli wrote:
> [r...@asterisk1 ~]# asterisk -rx "show channels"
> Unable to connect to remote asterisk
> (does /var/run/asterisk/asterisk.ctl exist?)
 
That typically means that Asterisk isn't running, or that the
asterisk.ctl file is in a different location.  Is Asterisk running?  If
so, can you find the asterisk.ctl file that was created when it was
started?
 
 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to