Difference between revisions of "Starting asterisk: Cannot find your TTY"

From Kolmisoft Wiki
Jump to navigationJump to search
 
Line 9: Line 9:


  /usr/sbin/safe_asterisk: line 123: /dev/tty9: Permission denied
  /usr/sbin/safe_asterisk: line 123: /dev/tty9: Permission denied
Better solution is to change TTY number !

Latest revision as of 13:28, 13 May 2015

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 !