[asterisk-users] Problems getting 1.6 to run with user asterisk and group asterisk
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jan 6 23:31:41 CST 2009
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.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list