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
03-07-2005 11:37 PM
03-07-2005 11:37 PM
bash
I did installed Bash-shell on my hu-ux server
My system details are:
CPU Version: PA 8700 CPU Module 2.3
#uname -a
HP-UX herodot B.11.23 U 9000/800 826839601 unlimited-user license
herodot:/ #model
9000/800/A400-6X
herodot:/ #swlist -l fileset | grep -i bash
# Bash B.11.23.20.02 Bourne-Again SHell (2.05b)
Bash.BASH-RUN 2.05b Runtime for Bourne-Again SHell
Bash.BASH-SRC 2.05b Source Code for Bourne-Again Shell
herodot:/ #swlist -l fileset -a state | grep -i bash
# Bash
Bash.BASH-RUN configured
Bash.BASH-SRC configured
herodot:/ #which bash
/usr/local/bin/bash
herodot:/ #ls -l /usr/local/bin/bash
-r-xr-xr-x 1 bin bin 1639408 Mar 4 2003 /usr/local/bin/bash
herodot:/etc #more group
root::0:root
other::1:root,hpdb
bin::2:root,bin
.
?..
Problem is:
I getting ?Execute permission denied? when I try to run ?bash?!
herodot:/ #bash
sh: bash: Execute permission denied.
Wandering if there is any solution?
Thanks!
- Tags:
- bash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 11:57 PM
03-07-2005 11:57 PM
Re: bash
type bash
and then ll "bash_path"
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:20 AM
03-08-2005 12:20 AM
Re: bash
type the following:
ll `which bash`
Let us know what it says.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:31 AM
03-08-2005 12:31 AM
Re: bash
herodot:/ #which bash
/usr/local/bin/bash
herodot:/ #ls -l /usr/local/bin/bash
-r-xr-xr-x 1 bin bin 1639408 Mar 4 2003 /usr/local/bin/bash
herodot:/ #swlist -l fileset | grep -i bash
# Bash B.11.23.20.02 Bourne-Again SHell (2.05b)
Bash.BASH-RUN 2.05b Runtime for Bourne-Again SHell
Bash.BASH-SRC 2.05b Source Code for Bourne-Again Shell
herodot:/ #swlist -l fileset -a state | grep -i bash
# Bash
Bash.BASH-RUN configured
Bash.BASH-SRC configured
And There is no â ERRORâ and noâ WARNIGâ
From #swverify -v "bash_product"
T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:33 AM
03-08-2005 12:33 AM
Re: bash
/usr/local/bin/bash
What does it say??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:33 AM
03-08-2005 12:33 AM
Re: bash
/usr/local/bin/bash
Also do
file /usr/local/bin/bash
What does it say??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:36 AM
03-08-2005 12:36 AM
Re: bash
herodot:/ #/usr/local/bin/bash
sh: bash: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:39 AM
03-08-2005 12:39 AM
Re: bash
What does following commands say??
file /usr/local/bin/bash
type /usr/local/bin/bash
Do you have bash installed on some other (hp-ux) machine?? If yes compare the file sizes and cksum of both files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 12:55 AM
03-08-2005 12:55 AM
Re: bash
As a root executeting following.
/usr/local/bin/bash
I geting "Execute permission denied".
Yes:I did installed bash on some other (hp-ux) machines. The file size and cksum are same in both machines.
The size of /usr/local/bin/bash file is:
#ls -l /usr/local/bin/bash
-r-xr-xr-x 1 bin bin 1639408 Mar 4 2003 /usr/local/bin/bash
The cksum of /usr/local/bin/bash file is:
3667481921 1639408
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 01:05 AM
03-08-2005 01:05 AM
Re: bash
type /usr/local/bin/bash
file /usr/local/bin/bash
chmod 777 /usr/local/bin/bash
Does it execute now?? Do you have tusc??
tusc -vfp "bash"
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 02:35 AM
03-08-2005 02:35 AM
Re: bash
#type /usr/local/bin/bash
/usr/local/bin/bash is /usr/local/bin/bash
#file /usr/local/bin/bash
/usr/local/bin/bash: ELF-32 executable object file - IA64
#chmod 777 /usr/local/bin/bash
#/usr/local/bin/bash
sh: /usr/local/bin/bash: Execute permission denied.
And I dont have "tusc".
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 02:47 AM
03-08-2005 02:47 AM
Re: bash
type bash
id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 02:51 AM
03-08-2005 02:51 AM
Re: bash
#file /usr/local/bin/bash
/usr/local/bin/bash: ELF-32 executable object file - IA64
The key is the IA64 at the end. It appears that this version of bash was compiled for an Itanium processor. You are attempting to run it on a PA-RISC based machine and that will absolutely NOT work.
Even though you are running 11.23PI on this machine, the code you run must still be compiled for the specific processor type you are running on.
Itanium code will NOT run on a PA-RISC. BUT PA-RISC code can run on Itanium.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 02:56 AM
03-08-2005 02:56 AM
Re: bash
#file /usr/local/bin/bash
/usr/local/bin/bash: ELF-32 executable object file - IA64
You need to get bash for pa-risc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:26 PM
03-08-2005 07:26 PM
Re: bash
Yes, you are absolutely right! My server has a PA-RISC CPU.
And the bash-software which I have is for Itanium. And this will not work!
But anyway!
Thank you so much!
IT was valuable help!
Best regards!
Bahman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:29 PM
03-08-2005 07:29 PM
Re: bash
Alex
- Tags:
- shells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:38 PM
03-08-2005 07:38 PM
Re: bash
Yes I put it in the /etc/shells. But it is not working!
Getting
â Execute permission deniedâ .
Best regards!
Bah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:41 PM
03-08-2005 07:41 PM
Re: bash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:50 PM
03-08-2005 07:50 PM
Re: bash
Hello!
#cat /etc/shells
/usr/local/bin/bash
/usr/bin/sh
/usr/bin/ksh
#
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2012 11:42 PM
01-10-2012 11:42 PM
Re: bash
When calling any shell directly from the prompt, /etc/shells doesn't play any role at all.