[asterisk-users] Unable to open pid file '/var/run/asterisk/asterisk.pid': No such file or directory
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Fri Feb 12 07:18:16 CST 2010
On Fri, Feb 12, 2010 at 12:28:53PM +0000, Brian wrote:
> On Fri, 2010-02-12 at 14:15 +0200, Tzafrir Cohen wrote:
> {snip}
> > So the questions to ask are, I believe:
> >
> > * Should asterisk here be run as root? If so: why?
> It suits me to run it that way on the device concerned.
Could you please be more specific?
> > * Where should the astvarrundir be?
> If you leave the defaults as they are (dictated by (!) in asterisk.conf)
> then the behaviour you get is Asterisk looking to /var/run/asterisk
> which the OS deletes on reboot. The question is why is this the default
> behaviour when it breaks systems that clear /var/run
Because we should make it simple to run Asterisk as non-root.
>
> This was - btw - a compile from source, not packaged offering.
Right. But packagers have a way of running into platform-specific bugs.
--
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