- 论坛徽章:
- 0
|
17.12.7 Why does lsof on my Solaris 7 or 8 system say, "can't read
namelist from /dev/ksyms?"
You're probably trying to use an lsof executable built for
an earlier Solaris release on a 64 bit Solaris 7 or 8
kernel. The output from `lsof -v` will tell you the build
environment of your lsof executable. You should also have
gotten a warning message that lsof is compiled for a
different Solaris version than the one under which it is
running -- something like this:
lsof: WARNING: compiled for Solaris release X; this is Y
You need to build lsof on the system where you want to use
it. For 64 bit Solaris 7 and 8 you need a compiler that
can generate 64 bit Solaris executables -- e.g., the Sun
Workshop 5 C compiler, or gcc 2.95 and above See the "Why
does lsof say the compiler isn't adequate for Solaris 7 or
8?" section and the ones following it for a discussion of
building lsof for 64 bit Solaris 7 or 8. |
|