Operating System - HP-UX
1748128 Members
3740 Online
108758 Solutions
New Discussion юеВ

swacl error to install depot

 
IT_2007
Honored Contributor

swacl error to install depot

I am trying to install depot from Host A to client X and I am getting following error.

"Host A:/tmp/ignite.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.

How do I set swacl on client so that I can install products from other server:/depot ?

Thanks.
8 REPLIES 8
inventsekar_1
Respected Contributor

Re: swacl error to install depot

server# touch /var/adm/sw/.sdkey

target# /usr/lbin/sw/setaccess servername
target# swacl -l root

from server to use push functionality:
server# swinstall -s server:/mydepot FooProd @ target1 target2


Be Tomorrow, Today.
IT_2007
Honored Contributor

Re: swacl error to install depot

still I get same error.

What else missing?
Jeff Schussele
Honored Contributor

Re: swacl error to install depot

HIiSrini,

First thing to do is bounce the swagent daemon - /usr/lbin/swagentd -r
If that doesn't dor it is it possible that this system was Ignited from another system's make_taep_recovery?
If so then check some things:
1) In /var/adm/sw/target_hosts make sure this server name is there.
2) In /var/adm/sw/security make sure _ACL, _OWNER, _PROD_DFLT_ACL & _SOC_DFLT_ACL all contain the proper hostname on the default_realm line

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
IT_2007
Honored Contributor

Re: swacl error to install depot

Jeff,

I checked on the client for all the information you asked. It exists. Still I am getting same error. How do I remove swacl's for this client? I read swacl manpage but still didn't understand.

Thanks.
Bill Hassell
Honored Contributor

Re: swacl error to install depot

This error almost always means that a hostname or IP address change has occurred (not a swacl problem) and the machine was not rebooted. Kill the current swagentd process and restart it with:

/usr/sbin/swagentd -r


Bill Hassell, sysadmin
IT_2007
Honored Contributor

Re: swacl error to install depot

How do I unset swacl's on Ignite server and also client so that I can do installations?
IT_2007
Honored Contributor

Re: swacl error to install depot

I figured it out.

Thanks for your time.
squirrel_2
Regular Advisor

Re: swacl error to install depot

Could you please tell us how you figured it out?
Thanks in advance. :)