[asterisk-users] Re: "does /var/run/asterisk.ctl exist?" -- butAsterisk *is* running.

Steven asterisk at tescogroup.com
Tue Sep 26 05:34:16 MST 2006


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 a at h)

I hope this helps.

-- 
-- 
Steven

http://www.glimasoutheast.org



  "Lacy Moore - Aspendora" <aspendora at gmail.com> wrote in message news:56a990d20609251752y94394b1kc1abe24349051950 at mail.gmail.com...
  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 <mojo at horanappraisals.com> 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 A at H^H^H^H^H 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 <mojo at horanappraisals.com>
    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060926/2736e774/attachment.htm


More information about the asterisk-users mailing list