[Asterisk-Users] rc.local dont works

Karsten Wemheuer kwem at gmx.de
Fri Jan 23 12:07:00 MST 2004


Hi

listas iPfone wrote:
>         Hi All
>  
> I have a problem with initialization of asterisk using my rc.local
> file. when i call asterisk from the prompt it works well but don´t in
> the initialization...

If it works when called directly and it doesn't work called during
startup. I would think, it is a problem with "path"-setting or with
access rights.
The init-scripts normaly have a relative short path. Maybee the
executable is not found. Or Your setup starts * as a non-root user, but
your manual startup uses root.

What distribution do You use?
 
> I have in my file that comands:
>  
> touch /var/lock/subsys/local
> modprobe zaptel
> modprobe wcfxo
> safe_asterisk
>  
> I read in somewere that it can be an interrup problem and i use the
> cat proc/interrupt to see what is happening

I think with an interrupt problem, any startup will fail, may it be
manual or automatic during startup.

HTH,

Karsten





More information about the asterisk-users mailing list