Operating System - HP-UX
1833107 Members
3189 Online
110051 Solutions
New Discussion

can't login to the system

 
mahmoud khalefa
Advisor

can't login to the system

hi all;
for acertain accediant the server has reboot and when he start up i tried to login the folowing message appear:
/usr/lib/dld.sl:call to mmap ()failed
2Errors /usr/lib/libnsl.l
/usr/lib/dld.sl:not enough space
and even didn't give me the passwd prompt so i power off the server and reboot then it work and i login to the system but i want to know why he give me the error message in the first time and does this will have bad effect on the server;
thanks
Mahmoud khalefa
8 REPLIES 8
Dario_1
Trusted Contributor

Re: can't login to the system

Hi Mahmoud:

I will start checking the OLDsyslog.log file under /var/adm/syslog to see if you can find any errors.

Regards,

DR
Dario_1
Trusted Contributor

Re: can't login to the system

Ivajlo Yanakiev
Respected Contributor

Re: can't login to the system


There is many problem.
First check disk space.
#bdf
is there 100% used fs ?
Use top for memory usege
#top
is there free memory ?

Use glans to see is there some kernel parameter that is out of range !

For more information about error :

#dmesg
/look end of raport/

#vi /var/adm/syslog/syslog.log
#vi /etc/rc.log

Use
#stm (log tool) and check for
memory problem !!!!
Also if you have GSP
read the system log
GSP > SL

Have nice day


Ivo
Ivajlo Yanakiev
Respected Contributor

Re: can't login to the system

Also find core file and investigate some time


find / -name core

use command :file and strings

#file /xx/xx/core
#strings /xx/xx/core |more

for extend debuging use gdb



Dario_1
Trusted Contributor

Re: can't login to the system

Mahmoud:

Also check your swap space swapinfo -ta

Regards,

DR
Ravi_8
Honored Contributor

Re: can't login to the system

Hi

I suspect one of the file system is almost full.
never give up
Zafar A. Mohammed_1
Trusted Contributor

Re: can't login to the system

If the filesystem are full then even u'll see some junk message on screen; but check syslog file also.
Thanks
Zafar
Kent Ostby
Honored Contributor

Re: can't login to the system

Mahmoud --

More then likely, you were out of swap space.

This could be because you need to configure more swap space in general on the server or because one particular application started growing very large.

To be proactive, you could check your swap versus your memory and make sure you have 2x memory worth of swap (i.e. if you have 1 GB of memory then at least 2 GB of swap).

In the future if you run into the problem, instead of power cycling the box, capture a crash dump by doing a "TOC" of the box.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"