1827421 Members
3874 Online
109965 Solutions
New Discussion

Re: bash install error

 
SOLVED
Go to solution
mulder20
Frequent Advisor

bash install error

hello ,
i isntall bash v3.2 on hpux 11 iV1

befor i install all the reqirement successfully

but when i install bash , i get this message :





NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


please have any idea what's the problems ,

when i run /usr/local/bin/bash i get message permission denieded

thamks,


20 REPLIES 20
Robert-Jan Goossens
Honored Contributor

Re: bash install error

Hi,

You need to install the runtime dependencies.

http://hpux.cs.utah.edu/hppd/hpux/Shells/bash-3.2/

Run-time dependencies: gettext libiconv termcap

Regards,
Robert-Jan
Ivan Krastev
Honored Contributor

Re: bash install error

Download and install pre-required termcap from porting center - http://hpux.cs.utah.edu/hppd/hpux/Development/Libraries/termcap-1.3.1/


regards,
ivan
mulder20
Frequent Advisor

Re: bash install error

# swlist
bash 3.2 bash
gettext 0.17 gettext
libiconv 1.12 libiconv
make 3.81 make
termcap 1.3.1 termcap

it's already installed

all of them except bash was installed successfully

Many thanks for your help
Matti_Kurkela
Honored Contributor

Re: bash install error

The message about termcap.termcap-RUN is just a standard notification, not an error message. As you can see, the analysis phase succeeded, so the analysis process successfully confirmed the existence of the termcap library.

The note about a "request" script is strange. Looks like the package specification was written to assume a request script, but no such script was included in the software depot. Whoever has packaged this software in depot form has probably made a mistake.

The ERROR messages just say that one file had an error. You should check the swinstall log file to see more details about the error situation. The log file is at /var/adm/sw/swinstall.log.

If you get a "permission denied" message when trying to run /usr/local/bin/bash, it probably means that the binary has been installed, but something went wrong in assigning the appropriate permissions to it.
What does "ll /usr/local/bin/bash" report?

MK
MK
mulder20
Frequent Advisor

Re: bash install error

the detail log :

* Session started for user "root@machine1".

* Beginning Selection
* Target connection succeeded for "machine1:/".
* Source connection succeeded for
"machine1:/tmp/bashshell/bash-3.2-hppa-11.11".
NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log machine1-0053 @ machine1:/".

======= 06/03/08 09:38:09 EDT END swinstall SESSION (non-interactive)
(jobid=machine1-0053)





and


ll /usr/local/bin/bash
-rwxr-xr-x 1 root sys 880253 Mar 21 2007 /usr/local/bin/bash
mulder20
Frequent Advisor

Re: bash install error

please have you any idea , about this problems? or any suggestion ?
thanks,
Patrick Wallek
Honored Contributor

Re: bash install error

Please run the swjob command given at the end of the log you posted and then post the results here.
mulder20
Frequent Advisor

Re: bash install error

here is the command detail swjob :


# swjob
#
# Controller: machine1
#
#jobid operation state results title
#

loopback-0001 Install Complete
loopback-0002 Install Complete
loopback-0003 Configure Complete
loopback-0004 Configure Complete
loopback-0005 Configure Complete
machine1-0016 Install Complete
machine1-0019 Install Complete
machine1-0020 Install Complete
machine1-0025 Install Complete
machine1-0027 Install Complete
machine1-0030 Install Complete
machine1-0031 Install Complete
machine1-0032 Install Complete
machine1-0033 Install Complete
machine1-0039 Install Complete
machine1-0041 Install Complete 1 With Errors
machine1-0044 Install Complete
machine1-0046 Install Complete 1 With Errors
machine1-0047 Install Complete 1 With Errors
machine1-0049 Install Complete 1 With Errors
machine1-0050 Install Complete 1 With Errors
machine1-0053 Install Complete 1 With Errors
# swjob -a log machine1-0053

======= 06/03/08 09:37:51 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=machine1-0053)

* Session started for user "root@machine1".

* Beginning Selection
* Target connection succeeded for "machine1:/".
* Source connection succeeded for
"machine1:/tmp/bashshell/bash-3.2-hppa-11.11".
NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log machine1-0053 @ machine1:/".

======= 06/03/08 09:38:09 EDT END swinstall SESSION (non-interactive)
(jobid=machine1-0053)

#




As you see the bash is installed completly but with 1 errors.

Any idea please
thanks,
Dennis Handly
Acclaimed Contributor

Re: bash install error

>here is the command detail swjob:

Hmm, I don't see any details. You might have to look into /var/adm/sw/swinstall.log and swagent*.log.
mulder20
Frequent Advisor

Re: bash install error


======= 06/03/08 09:37:51 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=machine1-0053)

* Session started for user "root@machine1".

* Beginning Selection
* Target connection succeeded for "machine1:/".
* Source connection succeeded for
"machine1:/tmp/bashshell/bash-3.2-hppa-11.11".
NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log machine1-0053 @ machine1:/".

======= 06/03/08 09:38:09 EDT END swinstall SESSION (non-interactive)
(jobid=machine1-0053)
















the detail of file swagent.log






======= 06/03/08 09:09:16 EDT BEGIN install AGENT SESSION (pid=27341)
(jobid=machine1-0049)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=27341)

* Beginning Analysis Phase.
* Source:
machine1.lav.can.ibm.com:/tmp/bashshell/bash-3.2-hppa-11.11
* Target: machine1:/
* Target logfile: machine1:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 117 Kbytes.
This will leave 232393 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
decrease by 1 Kbytes.
This will leave 1384939 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 16
* Kbytes: 3045
* Installing fileset "bash.bash-RUN,r=3.2" (1 of 1).
ERROR: Cannot open source file
"/tmp/bashshell/bash-3.2-hppa-11.11/bash/bash-RUN/usr/local/share/local
e/en@boldquot/LC_MESSAGES/bash.mo"
to copy it. No such file or directory (2).
ERROR: Failed installing fileset "bash.bash-RUN,r=3.2". Check the
above output for details.
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed

* Beginning the Configure Execution Phase.

* Summary of Execution Phase:
ERROR: Corrupt bash.bash-RUN,r=3.2
ERROR: 1 of 1 filesets had Errors.
ERROR: The Execution Phase had errors. See the above output for
details.


======= 06/03/08 09:09:26 EDT END install AGENT SESSION (pid=27341)
(jobid=machine1-0049)


======= 06/03/08 09:17:46 EDT BEGIN remove AGENT SESSION (pid=27400)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=27400)

======= 06/03/08 09:18:08 EDT END remove AGENT SESSION (Canceled)
(pid=27400)


======= 06/03/08 09:23:07 EDT BEGIN install AGENT SESSION (pid=27423)
(jobid=machine1-0050)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=27423)

* Beginning Analysis Phase.
* Source:
machine1.lav.can.ibm.com:/tmp/bashshell/bash-3.2-hppa-11.11
* Target: machine1:/
* Target logfile: machine1:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 117 Kbytes.
This will leave 232393 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
decrease by 1 Kbytes.
This will leave 1384877 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 16
* Kbytes: 3045
* Installing fileset "bash.bash-RUN,r=3.2" (1 of 1).
ERROR: Cannot open source file
"/tmp/bashshell/bash-3.2-hppa-11.11/bash/bash-RUN/usr/local/share/local
e/en@boldquot/LC_MESSAGES/bash.mo"
to copy it. No such file or directory (2).
ERROR: Failed installing fileset "bash.bash-RUN,r=3.2". Check the
above output for details.
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed

* Beginning the Configure Execution Phase.

* Summary of Execution Phase:
ERROR: Corrupt bash.bash-RUN,r=3.2
ERROR: 1 of 1 filesets had Errors.
ERROR: The Execution Phase had errors. See the above output for
details.


======= 06/03/08 09:23:18 EDT END install AGENT SESSION (pid=27423)
(jobid=machine1-0050)


======= 06/03/08 09:24:48 EDT BEGIN remove AGENT SESSION (pid=27477)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=27477)

* Beginning Analysis Phase.
* Target: machine1:/
* Target logfile: machine1:/var/adm/sw/swagent.log
* Reading source for file information.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Unconfigure Execution Phase.
* Filesets: 1
* Files: 16
* Kbytes: 3045
* Running remove setup command /usr/lbin/sw/remove_setup.

* Beginning the Remove Execution Phase.
* Removing fileset "bash.bash-RUN,l=/usr/local,r=3.2" (1 of 1).

* Summary of Execution Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Execution Phase succeeded.


======= 06/03/08 09:25:13 EDT END remove AGENT SESSION (pid=27477)


======= 06/03/08 09:25:14 EDT BEGIN remove AGENT SESSION (pid=27482)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=27482)

======= 06/03/08 09:25:21 EDT END remove AGENT SESSION (Canceled)
(pid=27482)


======= 06/03/08 09:25:34 EDT BEGIN remove AGENT SESSION (pid=27486)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=27486)

======= 06/03/08 09:37:52 EDT BEGIN install AGENT SESSION (pid=2178)
(jobid=machine1-0053)

* Agent session started for user
"root@machine1.lav.can.ibm.com". (pid=2178)

* Beginning Analysis Phase.
* Source:
machine1.lav.can.ibm.com:/tmp/bashshell/bash-3.2-hppa-11.11
* Target: machine1:/
* Target logfile: machine1:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 3071 Kbytes.
This will leave 232372 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 3 Kbytes.
This will leave 1382965 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 16
* Kbytes: 3045
* Installing fileset "bash.bash-RUN,r=3.2" (1 of 1).
ERROR: Cannot open source file
"/tmp/bashshell/bash-3.2-hppa-11.11/bash/bash-RUN/usr/local/share/local
e/en@boldquot/LC_MESSAGES/bash.mo"
to copy it. No such file or directory (2).
ERROR: Failed installing fileset "bash.bash-RUN,r=3.2". Check the
above output for details.
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed

* Beginning the Configure Execution Phase.

* Summary of Execution Phase:
ERROR: Corrupt bash.bash-RUN,r=3.2
ERROR: 1 of 1 filesets had Errors.
ERROR: The Execution Phase had errors. See the above output for
details.


======= 06/03/08 09:38:08 EDT END install AGENT SESSION (pid=2178)
(jobid=machine1-0053)




Thanks
Dennis Handly
Acclaimed Contributor

Re: bash install error

>the detail of file swagent.log

Well, that finally showed it:
ERROR: Cannot open source file
"/tmp/bashshell/bash-3.2-hppa-11.11/bash/bash-RUN/usr/local/share/locale/en@boldquot/LC_MESSAGES/bash.mo"
to copy it. No such file or directory (2).

Can you find which level directory or the file is missing in the above path?
mulder20
Frequent Advisor

Re: bash install error

Thank you very much .
yes i found that this directory is missing :
en@boldquot

1 i coied the directory missing :
2- i remove bash software

3- reinstall bash without any errors now

but when i run
# /usr/local/bin/bash
sh: /usr/local/bin/bash: Execute permission denied.

i get message permission denieded


TTr
Honored Contributor

Re: bash install error

> sh: /usr/local/bin/bash: Execute permission denied

This is the same error that you had in the original posting. What are the permission/mode of /usr/local/bin/bash

Run

ll /usr/local/bin/bash

file /usr/local/bin/bash
Dennis Handly
Acclaimed Contributor

Re: bash install error

>sh: /usr/local/bin/bash: Execute permission denied.

You should also try: file usr/local/bin/bash
mulder20
Frequent Advisor

Re: bash install error

# ll /usr/local/bin/bash
-rwxr-xr-x 1 root sys 880253 Mar 21 2007 /usr/local/bin/bash
#
# file /usr/local/bin/bash
/usr/local/bin/bash: PA-RISC2.0 shared executable dynamically linked
#


perhaps it's ok ?????
what do you think please ?
Thanks,
Dennis Handly
Acclaimed Contributor

Re: bash install error

>perhaps it's ok? what do you think please?

The only way this can fail is if you have old PA1.1 hardware. What does "model" show?
mulder20
Frequent Advisor

Re: bash install error

i found the problems :

i copy the file :
/bash-3.2-hppa-11.11/bash/bash-RUN/usr/local/bin/bash
from the original file and i reinstall the bash tools
the original file was more bigger than the one that i used before.
now it's correct

# /usr/local/bin/bash
bash-3.2#

Please last question how to add permanently the path /usr/local/bin ,
because when i reboot i have to set PATH
Thanks,
Dennis Handly
Acclaimed Contributor

Re: bash install error

>how to add permanently the path /usr/local/bin because when I reboot I have to set PATH

You change your PATH in /etc/profile or in each ~/.profile. (Or whatever your shell uses.)

If you set your shell to /usr/local/bin/bash, there isn't any reason to put /usr/local/bin in your path, unless you have more commands there.
mulder20
Frequent Advisor

Re: bash install error

YES ,
it's ok now
Thank you very much for your help.
Dennis Handly
Acclaimed Contributor
Solution

Re: bash install error

It seems you are new to the forums. If our answers were helpful, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33