Comment 3 for bug 67001

Revision history for this message
Mark Drago (markdrago) wrote :

I ran in to this problem this morning. Asterisk wouldn't start at boot time. I tracked the problem down to the creation of the pidfile. I noticed a typo in the init script. The chown that changes the ownership of the pid directory (/var/run/asterisk) was setting the user to be 'askterisk' -- notice the first 'K'.

if [ ! -e `dirname $PIDFILE` ];then
       mkdir `dirname $PIDFILE`
       chown askterisk.asterisk `dirname $PIDFILE`
fi

After removing the 'K' asterisk started fine. It looks like the attached patch fixes this problem as well because it replaces this part of the script anyway. It looks like this might also fix #63713.