- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lsof - excution permission denied
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
12-11-2002 06:58 AM
12-11-2002 06:58 AM
lsof - excution permission denied
What mod should I set it to ?
Thanks, Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:01 AM
12-11-2002 07:01 AM
Re: lsof - excution permission denied
Mine looks like this:
root# ll /opt/lsof/bin/lsof
-r-xr-sr-x 1 root sys 192600 Jun 18 10:23 /opt/lsof/bin/lsof
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:10 AM
12-11-2002 07:10 AM
Re: lsof - excution permission denied
Well, I was able to change my lsof, on 11.11 (11i) to this and su'ed to a non-root user and it worked:
# chmod 4555 /usr/local/bin/lsof
# ls -l /usr/local/bin/lsof
-r-sr-xr-x 1 root sys 126976 Nov 7 2001 /usr/local/bin/lsof
4777 isn't a good idea.
Do a lsof -v like this:
# /usr/local/bin/lsof -v
lsof version information:
revision: 4.57
latest revision: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof_man
configuration info: PSTAT-based
constructed: Tue Jul 17 08:28:49 PDT 2001
constructed by and on: abe@hpux
compiler: /bin/cc
compiler flags: -DHPUXV=1111 -D_PSTAT64 -Ae +DD32 -DLSOF_VSTR="B.11.11" -O
loader flags: -L./lib -llsof -lnsl
system info: HP-UX hpux B.11.11 U 9000/893 807805111 unlimited-user license
#
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:19 AM
12-11-2002 07:19 AM
Re: lsof - excution permission denied
Thanks for the reply, I set it to exactly like you said but still get the same error message.
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:21 AM
12-11-2002 07:21 AM
Re: lsof - excution permission denied
Thanks, Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:23 AM
12-11-2002 07:23 AM
Re: lsof - excution permission denied
I just noticed that you said 11.20. Did you get a pre-compiled version or build it yourself? If pre-compiled, are you sure it was for 11.20?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:26 AM
12-11-2002 07:26 AM
Re: lsof - excution permission denied
Try this to find what lsof versions you have:
which lsof
or
find / -type f -name lsof -print -exec {} -v \;
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:27 AM
12-11-2002 07:27 AM
Re: lsof - excution permission denied
It has a version for 11.00 with is 32 bit only. I need a version for 11.11 so I tried the 11.20 depot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:29 AM
12-11-2002 07:29 AM
Re: lsof - excution permission denied
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:32 AM
12-11-2002 07:32 AM
Re: lsof - excution permission denied
Please point me to the right site to download.
Thanks, Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:33 AM
12-11-2002 07:33 AM
Re: lsof - excution permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:47 AM
12-11-2002 07:47 AM
Re: lsof - excution permission denied
I got a copy from this site to try, the Purdue site is a little slow.
http://ftp.u-strasbg.fr/securite/lsof/binaries/hpux/B.11.11/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 11:24 AM
12-11-2002 11:24 AM
Re: lsof - excution permission denied
I have it working, but didn't have to mess with it after the fact. Haven't migrated it to 11.11 yet.
Interestingly enough, some of my 11.00 depots like snarf installed and migrated just fine.
Some didn't work right.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 12:07 PM
12-11-2002 12:07 PM