[Asterisk-Users] Re: permission problem

Stefan Tichy asterisk at pi4tel.de
Mon Jul 12 05:46:39 MST 2004


On Mon, Jul 12, 2004 at 01:32:39PM +0200, Cyprien Simons wrote:
> 
> I modified the permissions of "/var/spool/asterisk" and "/var/log/asterisk" 
> and it seems that asterisk is launching now. But I still have messages at the 
> beginning telling me that:
> 
> Unable to open pid file '/var/run/asterisk.pid': Permission denied
> Unable to bind socket to /var/run/asterisk.ctl: Address already in use

Create a directory /var/run/asterisk/, change its owner to asterisk
(the non-root user) and set "astrundir => /var/run/asterisk" in
/etc/asterisk/asterisk.conf.

-- 
Stefan Tichy   <asterisk at pi4tel.de>



More information about the asterisk-users mailing list