A bit of clarification on my previous answer that may help with some of these replies:
Asterisk is theoretically launched at start up or some other time with /usr/sbin/asterisk -g causes core dump -vvv causes verbosity level to be set When you try to run your command, it should always include -r connect to the running instance of asterisk -vv set verbosity to at least 2 -c open the console interface to this instance (otherwise you're just viewing the console) So if you run asterisk -vvvvvvv then you shut down asterisk with a ctrl-c If you run asterisk -vvvvvvc then you can do a stop now. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Sent: Wednesday, December 10, 2008 9:34 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] a problem on Ubuntu with Asterisk Have you do just asterisk before try to reconect to cli?? Try asterisk -vvvvvvvv to see if is crashing. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Gonzalez Sent: miƩrcoles, 10 de diciembre de 2008 01:12 p.m. To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] a problem on Ubuntu with Asterisk Scott Berry wrote: > Have a nice day, > Scott Berry > E-mail: [EMAIL PROTECTED] > > I am studying out of the book Asterisk: The Future of Telephony on > Chapter 4, and right now for practicing using the built in Debian > version of Asterisk for Ubuntu. I am however having some problem where > I cannot do "asterisk -r" and hook up to the asterisk CLI. I have > checked to see that "/var/run/asterisk/asterisk.ctl" is available which > it is. I have also set up the zaptel.conf, zapata.conf and also the > extensions.conf as specified in the book. The error I get is: > > "Unable to connect to asterisk remote > (does /var/run/asterisk/asterisk.ctl exist?" Yes it certainly does. > Any help would be appreciated. if need be i would be happy to send my > extensions.conf, zaptel.conf, and zapata.conf to the lisOne other > question I think I am correct on this but not sure does zaptel.conf and > zapata.conf go in to "/etc?" > > Thanks for all the help. > > > > > _______________________________________________ > -- 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 > Permissions problems? sudo asterisk -r _______________________________________________ -- 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 __________ Information from ESET Smart Security, version of virus signature database 3679 (20081209) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 3679 (20081209) __________ The message was checked by ESET Smart Security. http://www.eset.com _______________________________________________ -- 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 _______________________________________________ -- 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