Operating System - HP-UX
1829103 Members
2456 Online
109986 Solutions
New Discussion

swinstall :Execute permission denied

 
Poonam Rane
Occasional Contributor

swinstall :Execute permission denied

I have installed a patch file from itrc & finished with foll
1.cd /tmp
2.chmod 177 PHSS_23022
3.cd
4.sh /tmp/PHSS_23022
5.swinstall -s /PHSS_23022.depot
The o/p I get is
sh: swinstall: Execute permission denied.

What can I do to resolve this problem?
I am using 11.0 hp-ux
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: swinstall :Execute permission denied

Shalom,

Normally this comes from trying to install softare as a user other than root. Either use root or provide this capability to the user involved with sudo.

Your command syntax is wrong as well.

swinstall -s /tmp/PHISS_23033.depoot \*
# The full path must be specified. You should not need the chmod statement either.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Godron
Honored Contributor

Re: swinstall :Execute permission denied

Hi Poonam,
and welcome to the forums !

Please follow instructions on:
http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_23022&sel={hpux:11.00,}&BC=main|pdb|search|#Installation%20Instructions:

You have to be root to run swinstall.

For similar swinstall problems please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1104334
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1104327
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1104326

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

Andrew Merritt_2
Honored Contributor

Re: swinstall :Execute permission denied

Hi Poonam,
This isn't related to a very similar question that's just been asked here - http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1104334 ? It's not the same system, is it?

Andrew
Poonam Rane
Occasional Contributor

Re: swinstall :Execute permission denied

Hi Andrew

Prathiba and I our working on same..O.S.

Our problem is same..but still cannot be

resolved.. with all possible options...

I want to point out one more thing.. theres no

depot in var/spool/sw ..is it cause for any

problem.
Sunny Jaisinghani
Trusted Contributor

Re: swinstall :Execute permission denied

hi Poonam,

to add to the above suggestions

also check your /etc/hosts file. swinstall refers to this file. if it has some wrong entries it might create a problem.