- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tty errors while trying to login to the server
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
Discussions
Discussions
Forums
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
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
тАО03-08-2009 08:02 PM
тАО03-08-2009 08:02 PM
tty errors while trying to login to the server
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
But luckyly we have one active session on the server which we are trying to use to trouble shoot the issue. Here are the some of the parameters related to pts session on the server.
# kmtune -q nstrpty
Parameter Current Dyn Planned Module Version
===============================================================================
nstrpty 200 - 200
# ls /dev/pts | egrep -i '^[0-9]' | wc -w
60
# kmtune -q npty
Parameter Current Dyn Planned Module Version
===============================================================================
npty 200 - 200
# ps -ef | grep pty | wc -l
2
Can anybody help resolving this issue? Please let me know if you need more details regarding this concern.
Thanks and Regards
Venkat
- Tags:
- tty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 08:27 PM
тАО03-08-2009 08:27 PM
Re: tty errors while trying to login to the server
Please have a look on these threads
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=50626
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1137691
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=950447
regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 08:45 PM
тАО03-08-2009 08:45 PM
Re: tty errors while trying to login to the server
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236573807343+28353475&threadId=950447
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 08:52 PM
тАО03-08-2009 08:52 PM
Re: tty errors while trying to login to the server
We checked the permissions of /dev/tty's and /dev/pty's. It is Owner:bin and Group:tty. Also copied the /etc/profile from another server. Still we are getting the below error.
"Server refused to allocate pty
Not a terminal
stty: : Not a typewriter"
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 02:29 AM
тАО03-09-2009 02:29 AM
Re: tty errors while trying to login to the server
Could anyone hlep us resolve this issue. Any other solutions.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 02:42 AM
тАО03-09-2009 02:42 AM
Re: tty errors while trying to login to the server
crw-rw-rw- 1 bin bin 207 0x000000 Feb 21 10:57 tty
also is it possible for you to copy this device file from any other working server which having same version of os, you should copy it with tar. (do tar and then do ftp over and then un-tar)
have you tried to run insf -e (this will create device file if it had deleted.)
also can you post bdf -l output,
let me know, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 02:44 AM
тАО03-09-2009 02:44 AM
Re: tty errors while trying to login to the server
so use ssh -t
# ssh -t hpfrcs24 tty
/dev/pts/0
# ssh hpfrcs24 tty
not a tty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 03:36 AM
тАО03-09-2009 03:36 AM
Re: tty errors while trying to login to the server
When i use ssh -t sername tty i get message as "not a tty"
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 04:21 AM
тАО03-09-2009 04:21 AM
Re: tty errors while trying to login to the server
I suggest removing and rebuilding the tty device files.
rm them.
insf -e
# rebuilds them properly.
Not a typewriter may be an environment problem not a problem with the device files themselves.
Oracle commonly does this when it shells out because the Oracle OS shell contains no environment at all.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 09:15 AM
тАО03-09-2009 09:15 AM
Re: tty errors while trying to login to the server
you can also start sshd in debug mode.