- 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
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
тАО09-08-2009 12:23 PM
тАО09-08-2009 12:23 PM
execute permission denied
Generating module: krm...
Generating module: pfil...
Generating module: ipf...
Generating module: SEOS...
Compiling /stand/build/conf.c...
Generating module: emcp...
Generating module: emcpmpx...
Generating module: emcpcg...
Generating module: emcpsapi...
Generating module: emcpgpx...
Generating module: emcpgpx_dm...
Loading the kernel...
Generating kernel symbol table...
sh: /usr/bin/sh: Execute permission denied.
*** Error exit code 126
Stop.
make failure.
ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild
the kernel, has failed. Because kernel-related filesets were
installed, this command must be executed by "swinstall",
without failures, before the load can continue. Check the
above output for details about the failure.
NOTE: The Install Phase has suspended. Check the above output for
reasons.
* Aborting the Install Phase.
This is a critical situation for me. can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 12:32 PM
тАО09-08-2009 12:32 PM
Re: execute permission denied
Check actual existence and permissions of this file:
/usr/bin/sh
Did you perhaps change the root shell in /etc/passwd ? that is a big thing never to do.
SEP
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
тАО09-08-2009 12:42 PM
тАО09-08-2009 12:42 PM
Re: execute permission denied
tstbe1# /var/adm/sw>more /etc/passwd
root:Je4X1JV.CyFLs,O06U:0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
the command even failed if run from the prompt
tstbe1# />sh
sh: sh: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 12:47 PM
тАО09-08-2009 12:47 PM
Re: execute permission denied
# sh: /usr/bin/sh: Execute permission denied.
So what are the permissions for '/usr/bin/sh'?
They should look like:
# ls -l /usr/bin/sh
-r-xr-xr-x 2 bin bin 587360 Nov 14 2007 /usr/bin/sh
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 12:50 PM
тАО09-08-2009 12:50 PM
Re: execute permission denied
-r-xr-xr-x 2 bin bin 204800 Oct 21 2003 /usr/bin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 02:18 PM
тАО09-08-2009 02:18 PM
Re: execute permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 02:33 PM
тАО09-08-2009 02:33 PM
Re: execute permission denied
126 Command invoked cannot execute Permission problem or command is not an executable
http://tldp.org/LDP/abs/html/exitcodes.html
Check another machine and note JRF's response. The byte counts totals are different.
Copy from another machine or reinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 12:28 AM
тАО09-10-2009 12:28 AM
Re: execute permission denied
TTr's suggestion of using file(1) may indicate you restored the wrong one on your system.
>Michael: The byte counts totals are different.
Well, that's because it could be an older OS version of patch level. And JRF said "like". :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 06:14 AM
тАО09-10-2009 06:14 AM
Re: execute permission denied
The problem was due to the etrust application installed by the security group in my environment. Once the etrust daemon was stopped, everything as back to normal.
Thanks you all for your input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 06:14 AM
тАО09-10-2009 06:14 AM