1753809 Members
8777 Online
108805 Solutions
New Discussion юеВ

Can't login on WS

 
Tarek
Super Advisor

Can't login on WS

Hallo...
i'm trying to connect remotely on this ws but i'm having the following output:
root(gehp200): telnet gehp180
Trying...
Connected to gehp180.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
I tried also locally (from CDE)..i put username and password but it never enter..i have a black screen..this problem happens once every 20-25 days..then i shutdown (power botton) and the problem didn't happen for other 20-25 days...
i'd like to know why this happens and if it is related with something...
thanks for your help
4 REPLIES 4
Tarek
Super Advisor

Re: Can't login on WS

I tried another telnet and i'm having this message:
root(gehp200): telnet gehp180
Trying...
Connected to gehp180.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON

HP-UX gehp180 B.11.00 A 9000/782 (ta)

/usr/lib/dld.sl: Call to mmap() failed - BSS /usr/lib/libnsl.1
/usr/lib/dld.sl: Not enough space
Connection closed by foreign host.
Printaporn_1
Esteemed Contributor

Re: Can't login on WS

mmap can be increase by increase nproc as I remember.
enjoy any little thing in my life
Vincenzo Restuccia
Honored Contributor

Re: Can't login on WS

nstrtel specifies the number of kernel data structures that are created at system boot time that are required to support the device files used by incoming telnet sessions on a server. This number should match the number of device files that exist on the system. If the insf command or SAM is used to create more telnet device files, the value of nstrtel must be increased accordingly or the device files cannot be used because there are no kernel data structures available for communicating with the system.

Select a value for nstrtel that is equal to or greater than the number of telnet device files on the system. Selecting a value that exceeds the number of device files actually existing on the system wastes the memory consumed by extra data structures, but it may be justified if you are planning to add more device files
Celso Medina Kern
Trusted Contributor

Re: Can't login on WS

From
/usr/lib/dld.sl: Not enough space
I think you?re running out of memory. Look at swapinfo -tam to see if you have swapspace available for reserving.

If you cannot connect to system in order to see, let a script run and save in a file for you, just like:
while true
do
date >/tmp/space.log
swapinfo -tam >/tmp/space.log
sleep 300;echo
done

After problem occurs, look at the file and maybe you can prove you have to increase swap space.

You can still put more info in this log, such as sar outputs to check kernel tables, etc.

There is a good chance to be a pty problem too. Look at /var/adm/syslog/syslog.log file for errors.
God bless pessimists, they did the backup!