1844127 Members
2905 Online
110228 Solutions
New Discussion

Can't read kernel memory

 
Yan Wong
Frequent Advisor

Can't read kernel memory

Hi Folks,

I have an HP-UX 11.0 host. As I run the dmesg, the result looks weird as following:
Jan 3 09:58
Can't read kernel memory

any ideas?
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: Can't read kernel memory

Did you install any patches on the system but not reboot the box?. Did you make the kernel but haven't not rebooted to put into effect?.

If so, please reboot the box and you will be ok. Check your 'lanscan' too. It should also not be working.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Paul Sperry
Honored Contributor

Re: Can't read kernel memory

Sounds like you have made a new kernel but haven't re-booted yet. Re-boot when you can.
Ed Mitchell_1
Advisor

Re: Can't read kernel memory

If you are not logged in as root, you'll get this message.
if it ain't broke, don't patch it.
David Burgess
Esteemed Contributor

Re: Can't read kernel memory

You'll need to be root to read the kernel. If you don't want to be using root you could use sudo. Grab a copy from http://hpux.connect.org.uk/

Regards,

Dave.
avsrini
Trusted Contributor

Re: Can't read kernel memory

Hi,
Yeah you can run this dmesg command only with root user.
either run this command after logging in as root, or su to root.

Srini.
Be on top.
Yan Wong
Frequent Advisor

Re: Can't read kernel memory

Thanks folks. It is fixed with root login.