Operating System - HP-UX
1838295 Members
4426 Online
110125 Solutions
New Discussion

Re: install sdk13_13109_1100.depot

 
piyut_2
Frequent Advisor

install sdk13_13109_1100.depot

dear,

when i run
swinstall -s /tmp/sdk13_13109_1100.depot
there is an error "oasis:/tmp/sdk13_13109_1100.depot": You do not have the required permissions to perform this operation. Check permissions using the "swacl" command or see your system administrator for assistance. Or,
to manage applications designed and packaged for nonprivileged mode,
see the "run_as_superuser" option in the "sd" man page.

I run with root user.
4 REPLIES 4
Florian Heigl (new acc)
Honored Contributor

Re: install sdk13_13109_1100.depot

Is Your DNS loopback config okay?

On one host I got the same error as You did and searched for a very long time until I figured that with the upstream nameservers I set the resolver to use, a connect to swagentd would come not from my.hostname.net but from the bare ip address which was not allowed to access the daemon.

quick resolution: check Your /etc/hosts for the localhost and host entries and temporarily move away /etc/resolv.conf - unless something depends on it too much to stop it for 5 minuntes.
In that case see the nsswitch.conf man page or look at my settings below - I found them to work without any further tuning.

in nsswitch.conf:
hosts: files dns

in /etc/hosts:
127.0.0.1 localhost loopback
ip_address snowwhite


good luck,
florian
yesterday I stood at the edge. Today I'm one step ahead.
bhavin asokan
Honored Contributor

Re: install sdk13_13109_1100.depot

hi,

reboot the swagent daemon

/sbin/init.d/swagentd stop
/dbin/init.d/swagentd start

and by id command make sure that your uid is 0 (root) and group is sys

regds,
Yogeeraj_1
Honored Contributor

Re: install sdk13_13109_1100.depot

hi,

there must be something wrong with the access control.

in the meanwhile you can try to run swinstall independently

i.e.
swinstall

then specify "/tmp/sdk13_13109_1100.depot" as the "Source Depot Path"

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
piyut_2
Frequent Advisor

Re: install sdk13_13109_1100.depot

thanks for all,

the solution is to reboot the swagent daemon.

best regards,

piyut