Bash does not work on AIX 7.2


 
Thread Tools Search this Thread
Operating Systems AIX Bash does not work on AIX 7.2
# 1  
Old 04-19-2018
Bash does not work on AIX 7.2

We have a new LPAR with AIX 7.2. We want to work with bash, so installed bash from Perzl (bash_64-4.4.5.aix5.1.ppc.rpm). But after install bash does not work. If I call "bash", nothing happens. The xterm, where I started bash, is totally dead.

I tried the bash from aixtools.net, too. Same result, xterm is dead.

And I created a user and set "/usr/bin/bash" as initial program in smit. But it was not accepted by smit (Error changing "shell" to "/usr/bin/bash": Value is invalid.

What's wrong here?

Best regards
Burkhard
# 2  
Old 04-19-2018
I can't talk for AIX, and thus am shooting in the dark, but on several other systems any shell to be used needs to be listed in /etc/shells.
# 3  
Old 04-19-2018
Quote:
Originally Posted by RudiC
I can't talk for AIX, and thus am shooting in the dark, but on several other systems any shell to be used needs to be listed in /etc/shells.
Thanks for the reply. There was "/opt/freeware/bin/bash" in /etc/shells. /usr/bin/bash is a link to /opt/freeware/bin/bash. But "/opt/freeware/bin/bash" as initial program does not work, too. Same error message "Value is invalid". Smilie

Regards
Burkhard

---------- Post updated at 01:13 PM ---------- Previous update was at 10:19 AM ----------

In AIX there's a list of shells in /etc/security/login.cfg. Now I downloaded bash from IBM (<https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/bash-4.4-3.aix6.1.ppc.rpm>) and this version of bash is now running. But there is the next problem with emacs (new thread).

Regards
Burkhard

---------- Post updated at 01:47 PM ---------- Previous update was at 01:13 PM ----------

Quote:
Originally Posted by BuSchu
Thanks for the reply. There was "/opt/freeware/bin/bash" in /etc/shells. /usr/bin/bash is a link to /opt/freeware/bin/bash. But "/opt/freeware/bin/bash" as initial program does not work, too. Same error message "Value is invalid". Smilie
/etc/shell is not important. Only /etc/security/login.cfg!

Regards
Burkhard
# 4  
Old 04-19-2018
My surprise is I always thought that in 7.X you had a native bash shell... Why want to install another?
# 5  
Old 04-19-2018
Quote:
Originally Posted by vbe
My surprise is I always thought that in 7.X you had a native bash shell... Why want to install another?
Native is ksh. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find command does not work on AIX 6.1

I have AiX system version 6.1 I wish the below find command to work on AiX system ksh shell and give similar output as this works fine on RedHat Linux centos 7. find /app/logs/fname1.out -printf "%M %u %TY-%Tm-%Td %TH:%TM %h/%f $(cksum<fname1.out | cut -d' ' -f1)\n" Output: -rw-r--r--... (7 Replies)
Discussion started by: mohtashims
7 Replies

2. UNIX for Beginners Questions & Answers

Bash script does not work as expected

Repeat this text in a file named notes.txt and run the script Before bash is a good language a blank line appears Also, the following notes are displayed incorrectly What is bad? ================================== Title : Note 1 ================================== Category: Computer Date... (3 Replies)
Discussion started by: cesar60
3 Replies

3. Shell Programming and Scripting

Encyrpt does not work in bash script

Hi All, I am looking here from any one. I am preparing script for create user and set password to remote servers. I have made password less. and able to add user and also able to set entry in /etc/shadow. But it does not make complete entry in shadow file. it lefts initial... (6 Replies)
Discussion started by: yash_message
6 Replies

4. AIX

How to X-window to work on AIX 5.3?

Hey all. My h50 is up, but now i need some guidance. How to i get X11 (X-Windows0 working on the system, so i can use the H50 via my main pc? is that makes sense. The X11 system is installed, but i am lost as how to get it working Can anyone please help? (2 Replies)
Discussion started by: ADS2459
2 Replies

5. AIX

AIX Shell script does not work

Hi. I created schell script for sending messages to some processes in AIX: #!/bin/sh BSE=/infor/ERPLN/bse BSE_TMP=/infor/ERPLN/bse/tmp export BSE BSE_TMP for i in `ps -eo pid,comm | grep bshell | cut -f 1 -d " "` do /something $i done Unfortunatelly this script does not work on... (6 Replies)
Discussion started by: giovanni
6 Replies

6. AIX

Any hope to get lp options like the following to work on AIX (6.1)?

Greetings Aix gurus, I have been appointed the task to port my SAS environment on HP-UX to AIX... I have been able to solve most issues but I am stuck with the following lines (these were easy to find, since in shell scripts but I found out that there are plenty more and encapsulated in SAS... (1 Reply)
Discussion started by: vbe
1 Replies

7. UNIX for Dummies Questions & Answers

ctrl-o in bash on os X leopard -- how does it work exactly?

I'm going through "learning the bash shell" by newham and rosenblatt. I'm trying to ctro-O to execute and then go on to the next command in the history list, ctrl-o again, etc. (I'm just trying to get a feel for it in case I want to use it). But ctrl-o does nothing. Can someone help me out as to... (5 Replies)
Discussion started by: Straitsfan
5 Replies

8. Advertise with Us

Looking for AIX work in Vancouver

Hi I am an <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 9"><meta name="Originator" content="Microsoft Word 9"><link rel="File-List"... (0 Replies)
Discussion started by: kimyo
0 Replies

9. UNIX for Dummies Questions & Answers

more command does not work in bash shell

is there a different command to display contents of a file on the output in bash shell? i tried more and it does not work. (7 Replies)
Discussion started by: npatwardhan
7 Replies

10. AIX

Can Valgrind work well on AIX?

As Valgrind announced, 3.3.0 and 3.3.1 version can support AIX 5.3. But I met a block issue when I used Valgrind on AIX After installing Valgrind3.3.1 successfully on AIX5.3, I typed the following command of Valgrind: valgrind -d --tool=memcheck ls Then, the following result from Valgrind is... (0 Replies)
Discussion started by: adasong
0 Replies
Login or Register to Ask a Question