- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- wired problem with lssf command
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
Discussions
Discussions
Forums
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
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
тАО07-29-2010 07:14 PM
тАО07-29-2010 07:14 PM
When I run command lssf at a HPUX 11.23 box, it got permission denied error:
# file /usr/sbin/lssf
/usr/sbin/lssf: PA-RISC1.1 shared executable -not stripped
# ll /usr/sbin/lssf
lrwxr-xr-x 1 root bin 10 Jun 12 2008 /usr/sbin/lssf -> /sbin/mksf
# /usr/sbin/lssf
/bin/sh: /usr/sbin/lssf: Execute permission denied.
# /usr/sbin/lssf -c
/bin/sh: /usr/sbin/lssf: Execute permission denied.
# /usr/sbin/lssf /dev/dsk/c2t0d0
/bin/sh: /usr/sbin/lssf: Execute permission denied.
#
Can anybody give me some idea? thanks.
Regrads
Leo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 07:45 PM
тАО07-29-2010 07:45 PM
Re: wired problem with lssf command
What are the permissions on '/sbin/mksf'?
# ll /sbin/mksf
If the permissions are incorrect that could be your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 08:25 PM
тАО07-29-2010 08:25 PM
Re: wired problem with lssf command
Thanks for you reply.
I checked some, and compared the result with anoter normal 11.23 server, they are same.
# ll /sbin/mkfs
lrwxr-xr-x 1 bin bin 16 Jun 12 2008 /sbin/mkfs -> /sbin/fs_wrapper
# ll /sbin/fs_wrapper
-r-xr-xr-x 1 bin bin 364544 May 4 2005 /sbin/fs_wrapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 10:02 PM
тАО07-29-2010 10:02 PM
Re: wired problem with lssf command
lrwxr-xr-x 1 bin bin 16 Jun 12 2008 /sbin/mkfs -> /sbin/fs_wrapper
# ll /sbin/fs_wrapper
-r-xr-xr-x 1 bin bin 364544 May 4 2005 /sbin/fs_wrapper
there is difference mksf and mkfs
mkfs should be linked as /sbin/fs_wrapper
and ur problem is mksf
which should have correct permission.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 10:18 PM
тАО07-29-2010 10:18 PM
Re: wired problem with lssf command
ls -lrt /sbin/mksf
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2010 12:20 AM
тАО07-30-2010 12:20 AM
Re: wired problem with lssf command
>lrwxr-xr-x 1 root bin 10 Jun 12 2008 /usr/sbin/lssf -> /sbin/mksf
To get the properties of the target of a symlink you can do:
# ll -L /usr/sbin/lssf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 06:28 PM
тАО08-01-2010 06:28 PM
Re: wired problem with lssf command
sorry for my carelessness!
please find output as follows:
# ll -L /usr/sbin/lssf
-r-xr-xr-x 4 bin bin 442368 Apr 17 2008 /usr/sbin/lssf
# ll /usr/sbin/lssf
lrwxr-xr-x 1 root bin 10 Jun 12 2008 /usr/sbin/lssf -> /sbin/mksf
# ll /sbin/mksf
-r-xr-xr-x 4 bin bin 442368 Apr 17 2008 /sbin/mksf
but I checked with other normal server, I found they are same.
regards
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 08:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 09:40 PM
тАО08-01-2010 09:40 PM
Re: wired problem with lssf command
I used command cksum as you suggested and I found the output is not same as other same servers, so I copy the file /sbin/mksf from normal server to this server, then the problem fiexd!!!
really thanks for you guys helps!!!
Regrads
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 03:53 AM
тАО08-02-2010 03:53 AM
Re: wired problem with lssf command
If you are happy with the answers you were given, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33