1834379 Members
1900 Online
110066 Solutions
New Discussion

Cannot log in

 
Donald Crook
Occasional Contributor

Cannot log in

We are unable to log in to the server (L2000). Telnet and FTP fail silently. The login prompt appears on the console, but the following error message appears after any user name is entered:
/usr/lib/dld.sl: Call to mmap() failed - BSS /usr/lib/libnsl.1
/usr/lib/dld.sl: Not enough space
I suspect that the root file system is full but cannot log on to remove any files from it. Has anyone encountered this problem before? How can we resolve it?

--Don
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: Cannot log in

The error indicates youve run out of swapspace. Theres not really any way youre going to be able to login. You should reboot the server manually and check you have enough swap configured to match physical memory.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Tim Stallman
Advisor

Re: Cannot log in

Hi,
If the root file system is full only "root" will be able to log into the system. Try logging in as root and if that works and the other accounts won't work that is most likely your problem. Whenever the file system has less than, I believe, 10% free space all other users are locked out.

Tim
S.K. Chan
Honored Contributor

Re: Cannot log in

Insufficient swap is one possibility, also take a look at this doc. At the end it mentioned about a patch that fixed the accessive usage of memory by mib2agt. It may apply to you.
DocID=KBRC00003021
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063200941
Hope it helps..
Rita C Workman
Honored Contributor

Re: Cannot log in

Here's another thought...it could be a process is chewing up memory (leak). Can you check what is chewing up resources...
# UNIX95= ps -e -o ruser,vsz,pid,args|sort -rnk2

-OR-
How many of us remember that annoying mib2agt process that chewed up memory till you installed a patch to fix it??
Have you installed anything or changed anything that might be related to this??

-OR-
Sometimes it's what the kernel parm is set to...how's your maxdsiz set?? You don't give alot of info on your system other than L2000....

-AND IF IT'S A FULL / FS-
I'd look at some bogus file sitting under /dev....

Rgrds,
Rita


Sachin Patel
Honored Contributor

Re: Cannot log in

Call up users and tell them to close if they have any active session open. That way you might get enough swap space and you can login as root.

Sachin
Is photography a hobby or another way to spend $
Donald Crook
Occasional Contributor

Re: Cannot log in

Thanks to all who replied to this message and offered suggestions. The problem turned out to be a "keep-alive" utility written by one of the programmers. He had problems with the web server (running on HP-UX)and wrote a program (running on Windoze)to check the state of the web server periodically; if the web server didn't respond properly, the program attempted to re-start the web server. When we shut down that program, we were able to log in to UNIX. There was no problem with the root file system, nor with swap space, as far as I can tell. Anyway, problem resolved.

--Don