- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error in Oracle utility sh: /usr/local/bin/bash: ...
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
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
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-29-2013 03:46 PM - last edited on 08-29-2013 06:50 PM by Maiko-I
08-29-2013 03:46 PM - last edited on 08-29-2013 06:50 PM by Maiko-I
Error in Oracle utility sh: /usr/local/bin/bash: not found. after install BASH
Hi there ,
I'm trying to run Oracle utility called raccheck . It is required bash 3.2 r higher . I installed bash 4 as I have hp-ux 11.31 itan. eveything work great from install bash along with it's dependency .
I configure the bash as and add it to path and run the utility . I receiveed many errors .
Checking ssh user equivalency settings on all nodes in cluster
Node server1 is configured for ssh user equivalency for oracle user
Node server4 is configured for ssh user equivalency for oracle user
Node server3 is configured for ssh user equivalency for oracle user
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
There are prompts, traps or calling oraenv in /etc/profile /home/oracle/.profile on server2 which will cause issue in raccheck successful execution. Please remove or comment all read -p, trap and oraenv statments and run again
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
sh: /usr/local/bin/bash: not found.
I think it is from Oracle utility but Oracle support calims it is a HP-UX issue . may I miss somehting here !!!
Any way after installed bash I add /etc/PATH (/usr/local/bin). Your help is appreciated.
P.S. This thread has been moevd from HP-UX > System Administration to HP-UX > databases. - Hp Forum moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013 06:23 PM
08-29-2013 06:23 PM
Re: Error in Oracle utility sh: /usr/local/bin/bash: not found. after install BASH
First, what happens when you type: /usr/local/bin/bash
Then, what happens when you type: type bash
The error messages seem to indicate that Oracle code is *not* using $PATH at all but has hardcoded /usr/local/bin/bash.
After you installed bash, did you check where bash is located? If it is in another directory, you can create a symlink in /usr/local/bin to make the hardcoded path work.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013 08:05 PM
08-29-2013 08:05 PM
Re: Error in Oracle utility sh: /usr/local/bin/bash: not found. after install BASH
hi ,
It is installed in /usr/local/bin . The output is
node2 $type bash
bash is /usr/local/bin/bash
node2 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013 08:16 PM - edited 08-29-2013 08:19 PM
08-29-2013 08:16 PM - edited 08-29-2013 08:19 PM
Re: Error in Oracle utility sh: /usr/local/bin/bash: not found. after install BASH
What happens when you invoke bash as oracle user?
$ /usr/local/bin/bash
I would have thought if there were permission problems you would get a different error than "not found" but what does this show?
$ ll -d /usr /usr/local /usr/local/bin /usr/local/bin/bash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2013 12:56 AM
08-30-2013 12:56 AM
Re: Error in Oracle utility sh: /usr/local/bin/bash: not found. after install BASH
If /usr/local/bin/bash is accessible to the oracle user, the actual problem might be that there is a shared library that is required by bash but is not accessible by the user.
Run "ldd /usr/local/bin/bash" as root and as the oracle user. The outputs should be identical. If they are not, check that the libraries mentioned on the lines that have differences are accessible to the oracle user. The library must be readable, and the directory path to the library must have both read and access permissions (r and x) all the way up to the root directory level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2013 03:29 PM
08-30-2013 03:29 PM
Re: Error in Oracle utility sh: /usr/local/bin/bash: not found. after install BASH
Thank you all . The problem I have to install BASH on all nodes as it is a cluster .
Thank you agai.