Starting Asterisk PBX: /usr/sbin/safe_asterisk: 108: Syntax error: Bad fd number
I ran into this issue while running Asterisk 1.2.22 on Ubuntu Feisty 7.04. It appears that the 'safe_asterisk' start-up script has an issue with it. In Ubuntu Feisty, the default shell (/bin/sh) is no longer bash, it is dash. The 'safe_asterisk' script needs to reference bash. So changing the first line from '#!/bin/sh' to '#!/bin/bash' fixes the issue.
Hope this helps someone.
No comments:
Post a Comment