[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 13:13:20 CST 2010


On Fri, Feb 12, 2010 at 06:24:02PM +0000, Brian wrote:
> On Fri, 2010-02-12 at 19:20 +0200, Tzafrir Cohen wrote:
> 
> > Adding documentation is what you do when things fail to work. I suspect
> > you use an older init.d script.
> > 
> You are just being silly now. Good documentation is essential to
> everything.

I prefer fixing a bug than documenting a workaround.

> 
> With regards to your comments about the init.d script, it was provided
> with 1.6.1 as an extra and worked out of the box. The change is with
> 1.6.2 where it no longer works out of the box. To me that is not
> intended operation - or a change which should be documented.
> 
> I don't agree with you as what you are saying has no legs - the fix is
> simple insofar as removing '(!)' from asterisk.conf, but it's a bit
> sloppy to expect a directory to stay persistent where it may well not be
> the case. Even by your own metric this would make 'things fail to work'
> and by your own suggestion the fix for that is to document the issue?

The pathes in the generated asterisk.conf are the built-in ones. If
removing the '(!)' solved anything, something went wrong. My guess is
that your asterisk.conf is older than your asterisk binaries.

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