1819870 Members
2507 Online
109607 Solutions
New Discussion

dmesg no output

 

dmesg no output

Hi All,
Help me on this. Whenever I am running the command dmesg output on some of the servers giving the message "Can't get kernel namelist "(where I logged as root ) other Server are giving this message "Can't read kernel memory"(where I logged as normal user I am not having root access on this box).
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: dmesg no output

One Possible reason for the first case is that the box was booted on a kernel other than /stand/vmunix. E.g. the box was booted using /stand/vmunix.prev so that the expected symbol no longer matches /dev/kmem.

Second Case:
If a user does not have permission to read /dev/kmem then this is exactly the expected behavior. A non-root user should never be able to read /dev/kmem as this would be a huge security risk.
If it ain't broke, I can fix that.