Operating System - HP-UX
1748219 Members
4753 Online
108759 Solutions
New Discussion юеВ

Re: swinstall: Execute permission denied.

 
Peter Nikitka
Honored Contributor

Re: swinstall: Execute permission denied.

Hi,

what is the result of

file /usr/sbin/swinstall

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Pedroc
Occasional Advisor

Re: swinstall: Execute permission denied.

/usr/sbin/swinstall: PA-RISC1.1 shared executable dynamically linked -not stripped
Peter Nikitka
Honored Contributor

Re: swinstall: Execute permission denied.

Hi,

let compute a checksum of the binary and compare it with other hosts of yours:

cksum /usr/sbin/install

Copy that binary to tmp-directory at another host and try to run it there.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Sandman!
Honored Contributor

Re: swinstall: Execute permission denied.

Try running swinstall interactively through the GUI...and post the errors if any.

~cheers

Re: swinstall: Execute permission denied.

Hi Pedroc,

Try to run from SAM. Let me know the errors.

- Vivek
Darrel Louis
Honored Contributor

Re: swinstall: Execute permission denied.

Hi,

Can you check the following:
# swacl -l or swacl -l root
man swacl for more info.

/var/adm/sw/security/
The directory which contains ACLs for the system itself, template ACLS, and the secrets file used to authenticate remote requests.

The Controller (sometimes called Integrated Controller or IC: swacl, swconfig, swcopy, swdepot, swinstall, swjob, swlist, swreg, swremove, and swverify). These commands are delivered as hard links pointing to a single binary. Controller commands are invoked by users to initiate SD actions.

Darrel
Darrel Louis
Honored Contributor

Re: swinstall: Execute permission denied.

Pedroc,

Can you check the following aswell:
1) ps -ef | grep swagentd
2) Stop swagentd /sbin/init.d/swagentd stop or kill swagentd process
3) rm /var/adm/sw/products/swlock
4) restart it with /sbin/init.d/swagentd start

Darrel
Torsten.
Acclaimed Contributor

Re: swinstall: Execute permission denied.

Even it sounds strange, it could be a name resolution issue. I've seen this some time ago. Check if name service is doing fine, e.g.

nslookup

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sandman!
Honored Contributor

Re: swinstall: Execute permission denied.

This message can also appear if the depot you're trying to install from is on a remote system and your local system has not registered it. You need to register the remote depot on your local system and then run swinstall i.e.

# swreg -l depot

~cheers
Pedroc
Occasional Advisor

Re: swinstall: Execute permission denied.

Thanks for all help, but my manager has decided to rebuild the server.