1834459 Members
2732 Online
110067 Solutions
New Discussion

Re: Error

 
SOLVED
Go to solution
Castro_3
Occasional Contributor

Error

I have the following error

GenericSysName [HP Release B.11.00] (see /etc/issue)
Console Login: root
/usr/lib/dld.sl: Call to mmap() failed - BSS /usr/lib/libnsl.1
/usr/lib/dld.sl: Not enough space

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id:cons "/usr/sbin/getty console console # system console"

15 REPLIES 15
Tom Maloy
Respected Contributor
Solution

Re: Error

Sounds like not enough memory or a kernel parameter. Several threads exist with helpful information, including:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x26e9d211e18ad5118ff10090279cd0f9,00.html
Carpe diem!
Mark Greene_1
Honored Contributor

Re: Error

check /etc/inittab to see if the entry for the console looks like this:

cons:123456:respawn:/usr/sbin/getty -h console console

You should also check any other entry that has "respawn" specified.

HTH
mark
the future will be a lot like now, only later
Daimian Woznick
Trusted Contributor

Re: Error

Are you getting any errors about insufficient swap space or memory?

Also, are you able to get a command prompt?
Hai Nguyen_1
Honored Contributor

Re: Error

You appear to not have enough swap space. Take a look at this link:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfb338ffa98a2d5118ff10090279cd0f9,00.html

Hai
Daimian Woznick
Trusted Contributor

Re: Error

MANOJ SRIVASTAVA
Honored Contributor

Re: Error

Hi Castro

It looks the root direcory is full , you may like to ftp to it and remove atleast core file , or remove /etc/utmp to release some space so taht you can login , or in case you alrady have an open session thant you can serach for the culprit and delete it.


Manoj Srivastava
Castro_3
Occasional Contributor

Re: Error

This Parameters are ok?
maxdsiz 1073741824 1073741824
maxdsiz_64bit 1073741824 1073741824

This is the swap
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
reserve - 750372 -750372
memory 376252 73864 302388 20%
Mark Greene_1
Honored Contributor

Re: Error

Castro

Your swap is fine. Unless any of your root filesystems are full (/, /stand, /var, /tmp) I don't think it's a space issue.

Did you check the /etc/inittab?

mark
the future will be a lot like now, only later
Castro_3
Occasional Contributor

Re: Error

I don't have a Filesystem full
and the /etc/inittab
cons:123456:respawn:/usr/sbin/getty console console # system console
Hai Nguyen_1
Honored Contributor

Re: Error

Your settings and swapinfo look fine. Can you find any other clues in /var/adm/syslog/syslog.log?

Hai
Hai Nguyen_1
Honored Contributor

Re: Error

Castro,

I paste this paragraph from the init manpage:

...
If boot init finds that it is continuously respawning an entry from
inittab more than 10 times in 2 minutes, it will assume that there is
an error in the command string, generate an error message on the
system console, and refuse to respawn this entry until either 5
minutes have elapsed or it receives a signal from a user init. This
prevents boot init from using up system resources if there is a
typographical error in the inittab file or a program is removed that
is referenced in inittab.
...

In short, the error you encountered may have been due to:
- a typo in /etc/inittab. OR
- a program which has been removed but is still referenced in /etc/inittab.

I myself ran into the second situation before and got the same error as you. You can review all lines which has respawn in /etc/inittab to ensure that they are all valid and no typo has been made.

Hai
Mark Greene_1
Honored Contributor

Re: Error

Castro:

You are missing the -h in the /etc/inittab:

cons:123456:respawn:/usr/sbin/getty -h console console

put that in and do as root /sbin/init Q to get the init process to reread the file.

mark
the future will be a lot like now, only later
Castro_3
Occasional Contributor

Re: Error

This is the /etc/inittab
sgc1t # more inittab
init:3:initdefault:
ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1
tape::sysinit:/sbin/mtinit > /dev/console 2>&1
muxi::sysinit:/sbin/dasetup /dev/console 2>&1 # mux init
stty::sysinit:/sbin/stty 9600 clocal icanon echo opost onlcr ixon icrnl ignpar <
/dev/systty
brc1::bootwait:/sbin/bcheckrc /dev/console 2>&1 # fsck, etc.
link::wait:/sbin/sh -c "/sbin/rm -f /dev/syscon; /sbin/ln /dev/systty /dev/syscon" >/dev/console 2>&1
cprt::bootwait:/sbin/cat /etc/copyright >/dev/syscon # legal req
sqnc::wait:/sbin/rc /dev/console 2>&1 # system init
#powf::powerwait:/sbin/powerfail >/dev/console 2>&1 # powerfail
cons:123456:respawn:/usr/sbin/getty console console # system console
#ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600
#ttp2:234:respawn:/usr/sbin/getty -h tty0p2 9600
#ttp3:234:respawn:/usr/sbin/getty -h tty0p3 9600
#ttp4:234:respawn:/usr/sbin/getty -h tty0p4 9600
#ttp5:234:respawn:/usr/sbin/getty -h tty0p5 9600
#ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf

Thanks
Hai Nguyen_1
Honored Contributor

Re: Error

Castro,

Your inittab looks fine too.
There is no problem with the getty line either (-h is not needed there.)

Hai
Mark Greene_1
Honored Contributor

Re: Error

According to this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7ccaa2db8513d6118ff40090279cd0f9,00.html

you should have the -h

There is also a procedure listed there to diagnose if you /etc/gettydefs if configured correctly, maybe give that a shot too.

mark
the future will be a lot like now, only later