asterisk dont start

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Aug 3 20:36:07 UTC 2005


On Wed, Aug 03, 2005 at 09:16:53PM +0200, Daniel J. Priem wrote:
> hello can somebody confirm the following bug?
> after reboot i have
> ps aux | grep asterisk
> 
> nothing
> 
> if i do
> /etc/init.d/asterisk start or restart it wont do anything.
> if i enable 
> > #RUNASTSAFE=yes
> Then i get every 5 seconds a message that asterisk has been exited with a exitcode 1
> 
> if after all of that i do
> voipgw:~# asterisk <enter>  or asterisk -c
> then everything works.


When you run 'asterisk' as a user you should *always* run it with '-U
asterisk' . Otherwise you run the risk of creating some files in
/var/{lib,log,run}/asterisk as root and the next time asterisk runs as
user asterisk it may fail to delete them.

The debian package will not let you run asterisk as root without some
effort through the init.d script. But what about debug runs directly
through the binary?

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list