On a Solaris 10 box, I am getting errors from lsof
:
can't read vnode at 0x7d900000000
can't read vnode at 0x7b
But I have the same lsof
binary in another similar Solaris 10 box where it doesn't give the same error.
On that other box, lsof
successfully lists the open files information.
Has anybody else encountered the same problem and has been able to resolve it?
Snippet from full output:
$ lsof
lsof: WARNING: compiled for Solaris release 5.9; this is 5.10.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
(unknown) 1 root cwd can't read vnode at 0x7d900000000
(unknown) 1 root rtd can't read vnode at 0x7b
(unknown) 9 root cwd can't read vnode at 0x7d900000000
....
Output of isainfo -kv
and file
:
$ isainfo -kv
64-bit sparcv9 kernel modules
$ file `which lsof`
/usr/local/bin/lsof: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
Output of uname -a
on the server where lsof works:
$ uname -a
SunOS server009 5.10 Generic_150400-26 sun4u sparc SUNW,SPARC-Enterprise
Output of uname -a
on the server where lsof doesn't work:
$ uname -a
SunOS server043 5.10 Generic_150400-12 sun4u sparc SUNW,Sun-Fire-V890