- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sh: swlist: Execute permission denied
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
01-04-2002 09:21 AM
01-04-2002 09:21 AM
command. I get the follwing message:
sh: swlist: Execute permission denied
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:27 AM
01-04-2002 09:27 AM
Re: sh: swlist: Execute permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:29 AM
01-04-2002 09:29 AM
Re: sh: swlist: Execute permission denied
-r-sr-xr-x 11 root bin
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:30 AM
01-04-2002 09:30 AM
Re: sh: swlist: Execute permission denied
Can you try:
# swconfig \*
Did you try running 'swverify' command ?
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:37 AM
01-04-2002 09:37 AM
Re: sh: swlist: Execute permission denied
with the following permissions:
r-sr-xr-x
I changed to
r-xr-xr-x and still get the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:41 AM
01-04-2002 09:41 AM
Re: sh: swlist: Execute permission denied
file /usr/sbin/swlist
/usr/sbin/swlist: PA-RISC1.1 shared executable dynamically linked
to make sure that the command did not get overlayed with something else
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:43 AM
01-04-2002 09:43 AM
Re: sh: swlist: Execute permission denied
Try running
swconfig \*
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:51 AM
01-04-2002 09:51 AM
SolutionIt sounds as though the binary has been corrupted. What does ll /usr/sbin/swacl, file /usr/sbin/sacl and what /usr/sbin/swacl display?
Bear in mind that in 11.00, there are 11 commands all hard linked to the same binary - all except swmodify and swpackage.
If you are on 11.00 then you may well have the previous version saved in /var/adm/sw/save. Try the following...
cd /var/adm/sw/save
find . -name swacl
Should identify one (or more) previous versions. You could copy the latest of these back to /usr/sbin to enable you to sort out your patches. Run 'what' on each to identify them.
I'd also put the correct permissions back:
chmod 4555 /usr/sbin/swacl
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:51 AM
01-04-2002 09:51 AM
Re: sh: swlist: Execute permission denied
file /usr/sbin/swlist says:
PARISC1.1 shared exedcutable dynamically linked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2002 09:53 AM
01-04-2002 09:53 AM
Re: sh: swlist: Execute permission denied
#which swlist
to make sure you are actually looking at /usr/sbin/swlist