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. -- asterisk.init fails when /var/run is tmpfs https://launchpad.net/bugs/67001 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs