- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to run lsof !!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 07:55 AM
09-17-2005 07:55 AM
I have downloaded the lsof 4.76 utility from http://hpux.cs.utah.edu , for hpux 11.11 , N4000. and installed the same.
Installed successfully.
When I am running the command , to list open files , its giving following error:
# ./lsof
lsof: FATAL: pst_status_size should be: 1176; is 920
lsof: FATAL: pst_vminfo_size should be: 1240; is 1096
lsof: FATAL: pst_static doesn't contain pst_filedetails_size
lsof: FATAL: pst_static doesn't contain pst_socket_size
lsof: FATAL: pst_static doesn't contain pst_stream_size
lsof: FATAL: pst_static doesn't contain pst_mpathnode_size
lsof: FATAL: pst_static doesn't contain pst_fileinfo2_size
# cd /usr/local/bin
#
# ./lsof -U
lsof: FATAL: pst_status_size should be: 1176; is 920
lsof: FATAL: pst_vminfo_size should be: 1240; is 1096
lsof: FATAL: pst_static doesn't contain pst_filedetails_size
lsof: FATAL: pst_static doesn't contain pst_socket_size
lsof: FATAL: pst_static doesn't contain pst_stream_size
lsof: FATAL: pst_static doesn't contain pst_mpathnode_size
lsof: FATAL: pst_static doesn't contain pst_fileinfo2_size
# file lsof
lsof: PA-RISC2.0 shared executable dynamically linked
Any idea ?? whats wrong.!
Thanks,
Veri.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 08:03 AM
09-17-2005 08:03 AM
Re: Unable to run lsof !!
# ./lsof -v
lsof version information:
revision: 4.76
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
configuration info: PSTAT-based
constructed: Fri Sep 2 18:11:26 BST 2005
constructed by and on: root@hades
compiler: /usr/local/bin/gcc
compiler version: 3.4.4
compiler flags: -DHAS_CONST -DHPUXV=1111 -D_PSTAT64 -DHASIPv6 -DLSOF_VSTR="B.11.11" -O
loader flags: -L./lib -llsof -lnsl
system info: HP-UX hades B.11.11 U 9000/800 1338169341 unlimited-user license
Only root can list all files.
/dev warnings are disabled.
Kernel ID check is disabled.
Any idea anyone... Thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 08:58 AM
09-17-2005 08:58 AM
SolutionTry installing this binary for 11.11.
http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 09:02 AM
09-17-2005 09:02 AM
Re: Unable to run lsof !!
Did you try the version from august 2005 4.75?
Could be you are running into a bug.
Looks like the download and install are good, but could be a problem in the depot.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 10:38 AM
09-17-2005 10:38 AM
Re: Unable to run lsof !!
It worked after downloading the binary,
we having mix environmetn of 11.00 and 11.11 , and I was trying to run the lsof(11.11)version on 11.00 .
After downloading from the link given by Devender, I got the error message , and installed the correct one and worked fine.
Many thanks ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 10:39 AM
09-17-2005 10:39 AM