Starting asterisk: Cannot find your TTY

From Kolmisoft Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 !