[Asterisk-Users] rc.local dont works

Karsten Wemheuer kwem at gmx.de
Mon Jan 26 12:32:58 MST 2004


Hi,

Jeroen wrote:
> Hi Miklos,
> 
> I have the same problem here in RH90 - have you found any solution?
> 
> Or does anybody else know why (safe_)asterisk does not start using 
> rc.local? (normally I start * as root user)

If start fails using a non root user, please check the permissions of
the directories and files, used by *. I am no RH specialist, so I might
be wrong but I think, to startup *, it should be able to read
/etc/asterisk and to read/write /var/log/asterisk/* and
/var/run/asterisk/*. I think, You should check the entries in
/etc/asterisk/asterisk.conf. Please be shure to use /var/run/asterisk/
as directory ASTVARRUN, and set the permissions of this directoy
correct. If You set this directory to /var/run, this will fail, cause a
non root user normaly have no write permission in this directory.

HTH &HAND




More information about the asterisk-users mailing list