Starting asterisk: Cannot find your TTY

From Kolmisoft Wiki
Revision as of 13:28, 13 May 2015 by Ricardass (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Better solution is to change TTY number !