Danny thanks for your interest but I have solved it. At first it group must be asterisk:asterisk.
solve process: 1- I killed process of asterisk with "killall -p "process ID"" 2- I moved old .ctl file with "mv /var/run/asterisk/asterisk.ctl /var/run/asterisk/asterisk.ctl.old 3- amportal restart 4- /etc /init.d/asterisk restart Thank to all... On Thu, 2009-04-09 at 09:40 -0500, Danny Nicholas wrote: > So your ls –l output looks like this, but asterisk:asterisk instead of > root:root? > > > > srwxr-xr-x 1 root root 0 Apr 8 14:12 asterisk.ctl > > > > > > ______________________________________________________________________ > > From:[email protected] > [mailto:[email protected]] On Behalf Of Yavuzhan > Canli > Sent: Thursday, April 09, 2009 9: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
_______________________________________________ -- 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
