Tzafrir Cohen wrote: > 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 > Tsafrir:
Thank you for that. My reading skills must not be up to par. I guess the use of a template section in asterisk.conf was not something I expected and thus ignored. Alex _______________________________________________ -- 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
