I had a problem on one box where /var/run/asterisk/ did exist and had the correct non-root permissions.
There was a typo in /etc/asterisk/asterisk.conf.
 
was: astrundir => /var/run
changed to: astrundir => /var/run/asterisk
 
I do not remember which version of asterisk this was or if it was broken when adding freepbx. (or maybe when I tested [EMAIL PROTECTED])
 
I hope this helps.

--
--
Steven
 
 

 
"Lacy Moore - Aspendora" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
Be sure that it is looking in the right place.  If it is running as non root, then the ctl file would be in a different directory.
 
It looks as though Trixbox does run as non-root.  The ctl is actually /var/run/asterisk/asterisk.ctl.
 
Did you install from scratch, or was a previous version of Asterisk on the box?

 
On 9/25/06, Mojo with Horan & Company, LLC <[EMAIL PROTECTED]> wrote:
Sorry if I'm stating the obvious, but I'm not sure if Trixbox runs
asterisk as root or not.  I have to "sudo asterisk -r" on mine, but I'm
not running Trixbox, I'm running Asterisk 1.2.

Moj

Ken D'Ambrosio wrote:
> I've set up a bunch of plain-jane Asterisk systems, but had heard good
> things about the more recent incarnations of [EMAIL PROTECTED] errr, Trixbox.
> So I installed it, and fired it up, and it works fine.
>
> Until I try to do an "asterisk -r".  I get the "does /var/run/asterisk.ctl
> exist?" question, which had always previously meant (to me) that Asterisk
> wasn't running.  But it is!  And there's now asterisk.ctl file in the
> entire /var hierarchy.  Anyone have any ideas as to why that might be MIA?
>  It's insanely annoying, not being able to fire up the console.
>
> Thanks,
>
> -Ken
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> !DSPAM:500,451866a1139541174510073!
>

--
Mojo <[EMAIL PROTECTED]>
Office Manager, Horan & Company, LLC
(907) 747-6666 x112
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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



--
Lacy Moore
Aspendora, Inc.


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to