From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2a4b534c5a366c62 X-Google-Attributes: gidfee84,public From: root@localhost.com (Dr. Strangelove) Subject: Re: Available pty's Date: 1998/03/18 Message-ID: <350fe223.537282133@132.147.160.254>#1/1 X-Deja-AN: 335258148 References: <350fd6e2.7461484@news.virgin.net> Reply-To: root@localhost.com Organization: Internet Network Services Newsgroups: comp.unix.osf.osf1 On Wed, 18 Mar 1998 14:35:24 GMT, not.me@a.b.com (John Sheldrake) wrote: >ls -als /dev/pty* | wc -l gives 48 but we still get the message when >only 32 users are logged in. >Does anybody know what I've missed?? I'm assuming you're using 4.0 here: Have you checked your /etc/sysconfigtab file? In there is a section specifying the number of ptys available . it looks like this: ptys: nptys = 512 will give you 512 pseudo-terminals. If you're running 3.x check out your kernel config, You'll need a line like: pseudo-device rpty 512 to give 512 pseudo-terminals. Obviously you'll need to re-compile the kernel. Finally, if it's none of the above, make sure yopu have no "gaps" in the device numbers. They should start at ttyp0, then q, r, s, t ... etc. If the "r" series is missing you'll also get the problem you've got. Hope this helps, Dr. Strangelove Rewrite the address with the obvious bits taken out if you want to mail me. mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please http://www.ombomb.org/ "Put your money on 'The Bribes', they always win." - Jello Biafra