Operating System - HP-UX
1752270 Members
4682 Online
108786 Solutions
New Discussion юеВ

Re: Can't get kernel namelist

 
SOLVED
Go to solution
prasadb
Super Advisor

Can't get kernel namelist

Hello Ux Gurus,
I have received OVO alert from one server

"Can't get kernel namelist"

if I check dmesg, it shows nothing but this.
-----------------clip-----------------------
SystemName:/:# dmesg
Dec 23 04:19
Can't get kernel namelist
SystemName:/:#
SystemName:/:# date
Thu Dec 23 04:20:01 EET 2010
-----------------clip-----------------------

whereas syslog.log is clean.

I found very similar thread, here

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=943728

And solution provided by Steve is like this..
----------------------------------------
Hi

Guess you have a stripped kernel which was generated with LDOPTS="-s" set and will not then do some things

Make sure it is unset and regenerate kernel


Steve Steel
----------------------------------------

but, I couldn't understand anything of it :(

would you please help me ?
[ 10 points to correct answer :)]
3 REPLIES 3
Bill Hassell
Honored Contributor
Solution

Re: Can't get kernel namelist

Programs such as ipcs require information from the kernel file (not from memory), specifically information about entry points (programming stuff) within the compiled code. If you create a new kernel but do not reboot, then the kernel file (vmunix file) does not match the running kernel in memory. The system will run OK, but it is an indicator that the kernel file is different than the code in memory.

Reboot and the problem goes away.


Bill Hassell, sysadmin
prasadb
Super Advisor

Re: Can't get kernel namelist

Thanks for the quick reply Bill :)

I will ask customer for server reboot approval and update you .

Thanks again.
Dennis Handly
Acclaimed Contributor

Re: Can't get kernel namelist

>Bill: Programs such as ipcs require information from the kernel file

Last time I looked, ipcs(1) just used pstat(2). But there are other commands that need to use nlist(3).