- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /bin/sh not found
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
тАО03-23-2009 11:31 PM
тАО03-23-2009 11:31 PM
My system is HPUX 11.31 with BOE. And I keep receiving /bin/sh not found when the system start up or if I running script...
Where and how do I change/set this default interpreter so it is directed to /usr/bin/sh?
Thanks..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 11:40 PM
тАО03-23-2009 11:40 PM
Re: /bin/sh not found
You should modify the script to use /usr/bin/sh instead of /bin/sh
Or you can copy the /bin/sh from some other system if you have.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 11:41 PM
тАО03-23-2009 11:41 PM
Re: /bin/sh not found
Is that so ?
And what happens if you create this one (ln -s /usr/bin /bin).
I think that if the link is missing, creating it would certainly solve the issue, and maybe a few future issues also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 11:45 PM
тАО03-23-2009 11:45 PM
Re: /bin/sh not found
-r-xr-xr-x 2 bin bin 491520 Dec 2 2002 sh
if this file doest exist you should identify same version of hpux OS system tar this file there and ftp over not working hpux system, and untar in /bin should be ok
let me know how it goes, thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 11:46 PM
тАО03-23-2009 11:46 PM
Re: /bin/sh not found
Unfortunately i don't have any other system.
And your first suggestion means I should do the script editing each time I get a new script, event downloaded script from HP directed to /usr/bin/sh
Actually I was expecting 1 time and permanent action to solve this..
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 11:51 PM
тАО03-23-2009 11:51 PM
Re: /bin/sh not found
Run the tlinstall command
# tlinstall
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 12:08 AM
тАО03-24-2009 12:08 AM
Re: /bin/sh not found
The thing is no such /bin in my current HP UX 11.31 BOE. There's only /usr/bin, all sh, ksh, csh are located here.
And there' no such tlinstall command.
Other suggestion?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 12:12 AM
тАО03-24-2009 12:12 AM
Re: /bin/sh not found
please create a symlink:
ln -s /usr/bin /bin
like this all scripts accessing /bin/sh are reidrected to /usr/bin/sh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 12:15 AM
тАО03-24-2009 12:15 AM
Re: /bin/sh not found
lrwxr-xr-t 1 root sys 8 Apr 10 2002 /bin -> /usr/bin
rgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 12:17 AM
тАО03-24-2009 12:17 AM