The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 07:29 AM
terminal problem phani_sree High Level Programming 1 01-12-2007 04:48 AM
Terminal Allocation Problem Awadhesh SCO 5 10-03-2005 02:26 PM
terminal type problem with cygwin on aix rein UNIX for Advanced & Expert Users 1 05-12-2005 01:35 PM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 11:32 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2002
Registered User
 

Join Date: Jul 2001
Location: India
Posts: 57
terminal problem

Hi all

While trying to upon a new window it is saying UNABLE TO GET PTY..what does this means how to solve it

Thanks

Prafulla
Forum Sponsor
  #2 (permalink)  
Old 02-06-2002
thehoghunter
Guest
 

Posts: n/a
What is your OS? What were you trying to run at the time?

Sunsolve shows the following - this may or may NOT be your problem:

This error is due to dtterm not being able to open /dev/pts/N (where N
is an integer). The reason they are unable to open this file is because
grantpt failed to change the permissions on the file. Grantpt failed
because the binary /usr/lib/pt_chmod is not setuid root. The permissions
on /usr/lib/pt_chmod must be 4111.

To restore the correct permissions to pt_chmod, use the following
command: (as root)

# chmod 4111 /usr/lib/pt_chmod

Also, make sure that /usr/lib/pt_chmod is owned by root and by the group
bin.
  #3 (permalink)  
Old 02-06-2002
Registered User
 

Join Date: Jan 2002
Location: Georgia and Florida
Posts: 64
I have seen this error on SCO Openserver where there were not enough psuedo tty's or pty's entries in /dev. there is a commnad to make dev pty's on SCO Openserver. Not sure if this the problem you are having or not.
__________________
:D
  #4 (permalink)  
Old 02-06-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
With some Unices, there is also a kernel parameter that limits maximum ptys. In Linux, for one, you would have to recompile you kernel all together.
  #5 (permalink)  
Old 02-07-2002
Registered User
 

Join Date: Jul 2001
Location: India
Posts: 57
Hi all
Thanks for ur suggestions.
actually i am using solaris2.5 un a sunultra1 sparc server.
wht i found that a number of terminals had been opened in the console itself.

i just closed all those terminals and now from remote machine i can telnet and open new terminals.
so what Livinfree is telling seems true.
i also checked the pt_chmod and the permission is as follows
---s--x--x 1 root bin 4388 Oct 6 1998 pt_chmod

Any other ideas..on the kernel parameters that restricts no of terminals.
Thanks and regards

Praful
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0