- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- urgent: "Cannot allocate pty"
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
06-11-2006 11:25 PM
06-11-2006 11:25 PM
urgent: "Cannot allocate pty"
It is a k460 running on hpux 10.2
I reinstalled the o/s from disk, then recreated the lvm structure and applied an frecover, using the graph file below:-
e /stand/bootconf
e /stand/system
e /dev
e /etc/checklist
e /etc/fstab
e /etc/fstab
e /stand/ioconfig
e /ioconfig
e /etc/lvmtab
e /etc/lvmconf
Users are back in,but are experiencing 2 problems:-
1) cannot print (I think this is related to missing /dev device files, so I'm about to copy those back from an frecover
2)we can only get 60 users logged on through telnet sessions at any one time (we need 90)
the syslog shows the following:-
"Jun 12 12:10:02 alk460 telnetd[28601]: Cannot allocate pty"
The sysdef command (attatched) shows npty and nstrpty set to 400 each, although the /stand/system (attacthed) shows it set to 60. Obviously if I copied back the /stand/vmunix and this is up-to-date , but the /stand/system (see below) is out of date, does this matter?
alk460 /stand >cat system | pg
***************************************
* $Source: /usr/local/kcs/sys.DAVIS_800/filesets.info/CORE-KRN/RCS/generic,v $
* $Revision: 1.3.98.1 $ $Author: root $
* $State: Exp $ $Locker: CRT $
* $Date: 95/07/20 10:24:09 $
*
***************************************
* Generic system file for new computers
***************************************
*
* Drivers/Subsystems
ccio
c720
sctl
sdisk
mux2
CentIf
ps2
scsi3
scsi1
target
tape2
lanmux0
cdfs
vxbase
lvm
lv
hpstreams
clone
strlog
sad
echo
sc
timod
tirdwr
pipedev
pipemod
ffs
lan2
lan3
dlpi
inet
uipc
nm
ni
tpiso
inet_cots
inet_clts
netdiag1
ldterm
ptem
pts
ptm
pckt
nfs
diag0
dump lvol
nstrpty 60
maxswapchunks 750
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2006 11:27 PM
06-11-2006 11:27 PM
Re: urgent: "Cannot allocate pty"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2006 11:35 PM
06-11-2006 11:35 PM
Re: urgent: "Cannot allocate pty"
It will matter the next time you build a kernel, because the npty value present in /stand/system will be used.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2006 11:45 PM
06-11-2006 11:45 PM
Re: urgent: "Cannot allocate pty"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2006 11:53 PM
06-11-2006 11:53 PM
Re: urgent: "Cannot allocate pty"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 12:07 AM
06-12-2006 12:07 AM
Re: urgent: "Cannot allocate pty"
I've done a count on the No of pty's we have setup and it is 62.
I now want to create more device drivers; bearing in mind people are in using the system at present, how can I create extra pty's without affecting existing users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 12:19 AM
06-12-2006 12:19 AM
Re: urgent: "Cannot allocate pty"
Try:
# insf -d pty -n 400
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 12:32 AM
06-12-2006 12:32 AM
Re: urgent: "Cannot allocate pty"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 12:36 AM
06-12-2006 12:36 AM
Re: urgent: "Cannot allocate pty"
npty = nstrpty = nstrtel = 400
to 400, then run insf -e. Since your system was restored in a piecemeal fashion, SAM may or may not work correctly to set the pty values and create the needed device files. I cannot stress enough that you should be using Ignite/UX for your VG00 backup.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 12:36 AM
06-12-2006 12:36 AM
Re: urgent: "Cannot allocate pty"
You should be able to run 'insf' without impacting your current sessions.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 01:50 AM
06-12-2006 01:50 AM
Re: urgent: "Cannot allocate pty"
excellant, thankyou to everyone that responded. I'm almost out of the woods...