LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 09-18-2006, 12:37 PM   #1
johnsanty
Member
 
Registered: Apr 2006
Posts: 49

Rep: Reputation: 15
When I tries to execute the xterm i got this message: xterm: no available ptys


Hi All,

When I tries to execute the xterm I got this error message:

xterm: noavailable ptys
I have the following system: HP-UX

I already tried to search for the error message but none of them resolve my issue. Thanks for your prompt reply.


John
 
Old 09-18-2006, 02:35 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Fairly common on HP-UX. You didn't indicat which one you have (9.04, 10.20, 11.11 etc...).

The following is an excerpt from a post on the Dutchworks mail archives:

Quote:
1. Use SAM --> Kernel --> Configurable Parameters

npty (10.20 and 11.0)

nstrpty (11.x only)

nstrtel (11.x only)

set NPTY, NSTRPTY, and NSTRTEL to 512, save and reboot.

NPTY, NSTRPTY, and NSTRTEL are the desired number of telnet sessions.

=20

2. Rebuild the special device files at the command prompt as follows:

=20

insf -d ptys -n 512 512 being the number you set NPTY in SAM
(10.20

and

11.0)

insf -d ptym -n 512 10.20 and 11.0)

=20

insf -d pts -s 512 -e -v (for 11.x only )

=20

insf -d pty -n 512 (for 11.x only )

=20

=20

=20

That's it, your sessions have been increased to 512

=20

NOTE: 512 is just and example value that was used. You should determine
the amount of PTYs needed by looking at the average amount of users that
login to your system.
The full post talks about telnet as well which you aren't interested in. The link was at:
http://www.dutchworks.nl/htbin/hpsys...able%20ptys&fh

Since the maintainers of LQ don't see fit to keep an HP-UX forum I always recommend HP-UXers go to Dutchworks or HP's ITRC forums.

Dutchworks info:
To subscribe/unsubscribe to the list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner:
owner-hpux-admin@dutchworks.nl

Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
search)

HP's ITRC is at itrc.hp.com. You have to register then go to forums. Nowadays there is much more activity on ITRC than Dutchworks but Dutchworks has good archives and is active.
 
Old 09-18-2006, 04:51 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Moved: This thread is more suitable in Other *NIX and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-20-2006, 11:58 AM   #4
johnsanty
Member
 
Registered: Apr 2006
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlightner
Fairly common on HP-UX. You didn't indicat which one you have (9.04, 10.20, 11.11 etc...).

The following is an excerpt from a post on the Dutchworks mail archives:



The full post talks about telnet as well which you aren't interested in. The link was at:
http://www.dutchworks.nl/htbin/hpsys...able%20ptys&fh

Since the maintainers of LQ don't see fit to keep an HP-UX forum I always recommend HP-UXers go to Dutchworks or HP's ITRC forums.

Dutchworks info:
To subscribe/unsubscribe to the list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner:
owner-hpux-admin@dutchworks.nl

Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
search)

HP's ITRC is at itrc.hp.com. You have to register then go to forums. Nowadays there is much more activity on ITRC than Dutchworks but Dutchworks has good archives and is active.
it's version B.11.00. I'll check this site.Thanks again...
 
Old 09-20-2006, 12:29 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
B.11.00.00 = 11.0 in HP-UX speak.

B.11.11.00 = 11iV1 in HP-UX speak

B.11.22.00 or B.11.23.00 = 11iV2 in HP-UX speak.

The post above does give you infromation for 11.0 (11).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 11 01-30-2023 04:45 AM
xterm alt becomes compose? Only xterm affected. -0- Linux - Software 0 09-12-2006 11:59 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM
xterm not spawning "not enough ptys" sohmc Linux - General 4 09-23-2004 07:42 PM
xterm: no available ptys stpg Linux - General 1 07-19-2004 07:34 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration