- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
06-01-2006 07:57 PM
06-01-2006 07:57 PM
Execute permission denied
I can't execute a file. See output:
# uname -a
HP-UX omniback B.11.11 U 9000/811 2010699390 unlimited-user license
# ll -d check_disk
-rwx------ 1 root sys 140888 Jun 2 10:00 check_disk
# ./check_disk
sh: ./check_disk: Execute permission denied.
# whoami
root
#
Any idea?
Thanks in advance for your help.
Regards,
Carles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:04 PM
06-01-2006 08:04 PM
Re: Execute permission denied
Try to execute by:
# sh -x ./heck_disk
it may show the problem.
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:05 PM
06-01-2006 08:05 PM
Re: Execute permission denied
or a compiled binary?
If a compiled binary where did you get it from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:07 PM
06-01-2006 08:07 PM
Re: Execute permission denied
due to the size of 140888 byte i guess it is a binary
what gives
# file check_disk
?
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:09 PM
06-01-2006 08:09 PM
Re: Execute permission denied
This is a compiled binary we get from http://www.nagiosexchange.org/HP-UX.81.0.html?&tx_netnagext_pi1[p_view]=40.
About file info...
# file check_disk
check_disk: PA-RISC2.0 shared executable dynamically linked -not stripped
#
Thanks in advance for your help.
Regards,
Carles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:11 PM
06-01-2006 08:11 PM
Re: Execute permission denied
From your model string it appears this may be a PARISC 1.x server, and you are trying to run a binary compiled on a PARISC 2.x server.
This will give this error, you need to get a version compiled for use on a PARISC 1.x server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:11 PM
06-01-2006 08:11 PM
Re: Execute permission denied
I already tried in other system (same HP-UX version) and it works fine.
Regards,
Carles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:14 PM
06-01-2006 08:14 PM
Re: Execute permission denied
Try to run under gdb ..
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:38 PM
06-01-2006 08:38 PM
Re: Execute permission denied
Thanks to all for your help.
Regards,
Carles