Starting asterisk: Cannot find your TTY

From Kolmisoft Wiki
Revision as of 15:21, 16 May 2008 by Mindaugas (talk | contribs)
Jump to navigationJump to search

The fix for this is simple: use your favourite editor, and edit /usr/sbin/safe_asterisk, comment out the TTY line, and viola, you should now be able to automatically start, restart, or stop asterisk from the init script until your hearts content.

Naturally, as always, backup files that you edit. You may find yourself stuck later.

http://forums.whirlpool.net.au/forum-replies-archive.cfm/607081.html

Same error, different message:

/usr/sbin/safe_asterisk: line 123: /dev/tty9: Permission denied