Operating System - HP-UX
1834449 Members
2503 Online
110067 Solutions
New Discussion

install device (pty) in HP11.2

 
SOLVED
Go to solution
Sugata
Advisor

install device (pty) in HP11.2

Hi,
I have a machine of following model/configuration.
ia64 hp server g4000
HP-UX mars B.11.20 U ia64 1865879866 unlimited-user license.

It is not allowing to open xterm. throwing error
"xterm: no available ptys"

I tried to install the device pty. It is not installing, even not giving error message. I went throuigh follwing steps. But that didn't help me.
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
added these lines in the file
npty 512
nstrtel 512
nstrpty 512
# mk_kernel -s system
# kmupdate
Rebooted the system

mars:/dev 11 ] insf -d pty -s 1024 -e -v
mars:/dev 12 ] insf -d ptm -s 1024 -e -v
insf: Installing special files for pseudo driver ptm
mars:/dev 13 ] insf -d telm -s 1024 -e -v
insf: Installing special files for pseudo driver telm
mars:/dev 14 ] insf -d tels -s 1024 -e -v
insf: Installing special files for pseudo driver tels
mars:/dev 15 ] insf -d pty -s 1024 -e -v

I am attching the kernel parameters.
Please let me know how can I install those devices.

Regards,
Sugata
4 REPLIES 4
Dietmar Konermann
Honored Contributor
Solution

Re: install device (pty) in HP11.2

Sugata,

there's a known SAM problem in 11.20... it likes to remove the pty[01] drivers from the kernel. Try to add them manually:

# kmsystem -c y pty0
# kmsystem -c y pty1
# mk_kernel
# kmupdate
# shutdown -r -y 0

BTW, I strongly recommend not to use 11.20 any longer. Go for 11.23 if possible.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Dietmar Konermann
Honored Contributor

Re: install device (pty) in HP11.2

Oha. Just saw you have a G4000... this old system is not supported by 11.23. But you could install at least 11.23.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Dietmar Konermann
Honored Contributor

Re: install device (pty) in HP11.2

Grr 11.22 of course.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Sugata
Advisor

Re: install device (pty) in HP11.2

Thanks a lot. Now I am getting xterm.
Sugata