On Sat, Jul 22, 2006 at 04:41:55PM +0100, Tony Hoyle wrote: > Package: asterisk > Version: 1:1.2.7.1.dfsg-3 > Severity: normal > > In the default configuration asterisk runs as an unprivileged user, but > the binary tries to create and use /var/run/asterisk.pid and > /var/run/asterisk.ctl and fails (without the .ctl the -r function will > not work). > > There is a /var/run/asterisk directory presumably setup for this purpose > but it's not trying to use it. > > The only fix currently is to run asterisk as root, which is not ideal.
The directory for the pid file is set in /etc/asterisk/asterisk.conf , in the section [directories], value 'astrundir' What do you have there? -- Tzafrir Cohen sip:[EMAIL PROTECTED] icq#16849755 iax:[EMAIL PROTECTED] +972-50-7952406 jabber:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.xorcom.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]