- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ttytype: couldn't open /dev/tty for reading
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:17 PM
08-22-2005 08:17 PM
ttytype: couldn't open /dev/tty for reading
I have an error when try to remote my server.
password:
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
give a solution, please!
thx,
-yut-
- Tags:
- tty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:48 PM
08-22-2005 08:48 PM
Re: ttytype: couldn't open /dev/tty for reading
Verify the permissions of /dev/*tty* files. Typically permissions will be Owner:bin Group: tty.
If any difference noticed, change the permissions and try out.
Typically If you use terminal setting command in the script, it returns warning like "stty:Not a typewriter", it is ignoreable.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:58 PM
08-22-2005 08:58 PM
Re: ttytype: couldn't open /dev/tty for reading
file permission for tty files is true.
owner :bin , group : tty.
i can't connect to terminal.i try with xmanager and see syslog.log, below are errors in syslog.log:
Aug 23 15:48:08 abc sshd[12115]: Accepted keyboard-interactive/pam for yulianto from abc port 2632 ssh2
Aug 23 15:48:08 abc sshd[12115]: error: /dev/ptmx: Device busy
Aug 23 15:48:08 smsmt2 sshd[12118]: error: session_pty_req: session 0 alloc failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 10:30 PM
08-22-2005 10:30 PM
Re: ttytype: couldn't open /dev/tty for reading
kernel configuration for tty:
npty 60
nstrpty 60
# ps -ef|grep tty |wc -l
3
# ps -ef|grep /dev/ptmx
root 14642 14609 0 17:29:07 pts/tp 0:00 grep /dev/ptmx
# ps -ef|grep ssh
root 13101 1 0 16:56:44 ? 0:00 /usr/sbin/sshd
apps 21771 21741 0 May 16 pts/9 0:00 ssh smsgw@10.1.105.43
prasz 14512 14510 0 17:22:49 ? 0:00 sshd: prasz@notty
root 14646 14609 1 17:29:25 pts/tp 0:00 grep ssh
root 14510 13101 0 17:22:49 ? 0:00 sshd: prasz [priv]
shouldbe i to add this parameter ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 03:37 PM
08-23-2005 03:37 PM
Re: ttytype: couldn't open /dev/tty for reading
thanks for ypur reply,
-yut-