- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sh: /usr/local/bin/gzip: 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
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
тАО08-17-2007 12:44 AM
тАО08-17-2007 12:44 AM
# ln -f /usr/local/bin/gzip /usr/contrib/bin/gzip
now I'm receiving
# gzip -V
sh: gzip: Execute permission denied.
Permissions were the same as on another system, where gzip works:
# ll /usr/local/bin/gzip
-rwxr-xr-x 1 root sys 94208 Apr 16 2007 /usr/local/bin/gzip
I chowned to bin:bin, but it still gives the error.
/usr/local/bin is exported as PATH variable.
I am root.
Any idea how to run gzip ?
# /usr/local/bin/gzip -V
sh: /usr/local/bin/gzip: Execute permission denied.
# /usr/contrib/bin/gzip -V
sh: /usr/contrib/bin/gzip: Execute permission denied.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 12:53 AM
тАО08-17-2007 12:53 AM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
Install gzip from depot.
You can download it in depot format here
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gzip-1.3.12/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 01:01 AM
тАО08-17-2007 01:01 AM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
file /usr/local/bin/gzip
Maybe this is PA 2.0 binary ?
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 01:17 AM
тАО08-17-2007 01:17 AM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
Krastev, yes it's a PA 2.0
# file /usr/local/bin/gzip
/usr/local/bin/gzip: PA-RISC2.0 shared executable dynamically linked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 01:39 AM
тАО08-17-2007 01:39 AM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
# gzip -V
ksh: /usr/contrib/bin/gzip: Executable file incompatible with hardware
# model
9000/778/B180L
And what for gzip version do i need for a B180L machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 02:37 AM
тАО08-17-2007 02:37 AM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
Wittie
B180L workstation is a supported on 32bit OS, so, PA 2.0 is not supported. please locate PA 1.1 shared library.
Hope this help.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 02:49 AM
тАО08-17-2007 02:49 AM
SolutionIf you are using one of the HP compilers then you should use the +DAportable compiler directive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 03:02 AM
тАО08-17-2007 03:02 AM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
Well, i have to give it a try. Thanks guys for the info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 02:23 PM
тАО08-17-2007 02:23 PM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2007 06:26 PM
тАО08-19-2007 06:26 PM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2007 11:04 PM
тАО08-19-2007 11:04 PM
Re: sh: /usr/local/bin/gzip: Execute permission denied.
I'm not sure if swinstall uses that version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 03:04 PM
тАО08-20-2007 03:04 PM