View topic - No controlling tty (open /dev/tty:No such device or adrress)
No controlling tty (open /dev/tty:No such device or adrress)
3 posts
• Page 1 of 1
No controlling tty (open /dev/tty:No such device or adrress)
Good Afternoon!
I need Your help with next trouble - when I start the system(I have made my own bootable image OS) I receive next message:
sh: No controlling tty (open /dev/tty: No such device or adrress)
sh: warning: won't have full job control
After that, when I type the command, it itypes incorrect,for example:
#ls
sh: dsl:cannot execute - No such file or directory
Do you know how to fix this problem? Thanks.
I need Your help with next trouble - when I start the system(I have made my own bootable image OS) I receive next message:
sh: No controlling tty (open /dev/tty: No such device or adrress)
sh: warning: won't have full job control
After that, when I type the command, it itypes incorrect,for example:
#ls
sh: dsl:cannot execute - No such file or directory
Do you know how to fix this problem? Thanks.
- igorvorobey
- New Member
- Posts: 3
- Joined: Mon Jul 04, 2016 5:09 am
Re: No controlling tty (open /dev/tty:No such device or adrr
There may be more than one problem here.
'no controlling tty' means you have no terminal. So if your shell exits it can't be restarted. Normally you start 'tinit' during bootup which starts a shells each time a user logs in (note that tinit would need to be in your bootimage or harddrive/cf card) .
http://www.qnx.com/developers/docs/6.4. ... tinit.html
'sh: ls:cannot execute' says you don't have the 'ls' command. Does your bootable image contain the 'ls' command (or is the ls command installed on a harddrive/CF card)?
Tim
'no controlling tty' means you have no terminal. So if your shell exits it can't be restarted. Normally you start 'tinit' during bootup which starts a shells each time a user logs in (note that tinit would need to be in your bootimage or harddrive/cf card) .
http://www.qnx.com/developers/docs/6.4. ... tinit.html
'sh: ls:cannot execute' says you don't have the 'ls' command. Does your bootable image contain the 'ls' command (or is the ls command installed on a harddrive/CF card)?
Tim
- Tim
- Senior Member
- Posts: 1514
- Joined: Wed Mar 10, 2004 12:28 am
Re: No controlling tty (open /dev/tty:No such device or adrr
You are probably missing this line, or similar.
[type=link] /dev/console = /dev/ser1
assuming the script calls
[+session] ksh &
Another issue that will arise is the need for this directory to be populated (at least for the terminal types you want to support, normaly "ansi" and "vt100"). Otherwise, "TERM=" lines mean nothing and you can't run programs like fdisk and vi.
>>>>> /usr/lib/terminfo
[type=link] /dev/console = /dev/ser1
assuming the script calls
[+session] ksh &
Another issue that will arise is the need for this directory to be populated (at least for the terminal types you want to support, normaly "ansi" and "vt100"). Otherwise, "TERM=" lines mean nothing and you can't run programs like fdisk and vi.
>>>>> /usr/lib/terminfo
- denkelly
- Senior Member
- Posts: 163
- Joined: Sat Aug 02, 2008 3:27 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests