On Tue, Jan 06, 2009 at 09:39:36PM -0600, Alejandro Kauffmann wrote:
> Tzafrir Cohen wrote:
> > On Tue, Jan 06, 2009 at 02:28:53AM -0600, Alejandro Kauffmann wrote:
> >> I've built SVN-trunk-r167180 and try to start it with:
> >>
> >> asterisk -f -C /etc/asterisk/asterisk.conf
> >>
> >> which results in:
> >>
> >> Unable to open pid file '/var/run/asterisk.pid': Permission denied
> >> Unable to bind socket to /var/run/asterisk.ctl: Permission denied
> >>
> >> However, /etc/asterisk/asterisk.conf has:
> >>
> >> astrundir => /var/run/asterisk
> >> runuser = asterisk
> >> rungroup = asterisk
> > 
> > Could you please post the complete file? (maybe grep -v '^;')
> > 
> 
> Tzafrir here is the output you requested:
> 
> [directories](!) ; remove the (!) to enable this

With the '(!)' this section has no effect.

> astetcdir => /etc/asterisk
> astmoddir => /usr/lib/asterisk/modules
> astvarlibdir => /var/lib/asterisk
> astdbdir => /var/lib/asterisk
> astkeydir => /var/lib/asterisk
> astdatadir => /var/lib/asterisk
> astagidir => /var/lib/asterisk/agi-bin
> astspooldir => /var/spool/asterisk
> astrundir => /var/run/asterisk
> astlogdir => /var/log/asterisk

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.co...@xorcom.com
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

_______________________________________________
-- 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