1837984 Members
2825 Online
110124 Solutions
New Discussion

Re: ACL Setting

 
Ray Bell
Regular Advisor

ACL Setting

I'm trying to remote install patches from one server to another and when I try to installed the patches I get the following error:

"You do not have the required permissions to select this target. Check permissions using the "swacl" command or see you SA for assistance.

How do I set permission on the remote host to allow my server to install software on it?

Please Help...

9 REPLIES 9
Ivan Krastev
Honored Contributor

Re: ACL Setting

In most of cases this is from misconfigured host/network. Check your hosts and netconf files. Can you send the full log from swinstall ?

regards,
ivan
Ray Bell
Regular Advisor

Re: ACL Setting

I double check the host files on both servers and they are correct. I recievd this error when the swinstall started:

"You do not have the required permissions to select this target. Check permissions using the "swacl" command or see you SA for assistance.
Ivan Krastev
Honored Contributor

Re: ACL Setting

You probably don't have nsswitch.conf file - check for that. And can you write exact command what you use - maybe there are missing @ in target selection.


regards,
ivan
Ray Bell
Regular Advisor

Re: ACL Setting

Here's the content of the nsswitch.conf file:

hosts: files[NOTFOUND=continue] dns
services: files
protocols: files
networks: files
rpc: files
netgroup: files
aliases: files
JIJ_1
Frequent Advisor

Re: ACL Setting

Hi ,

Try restarting the swagent daemon.

#/usr/sbin/swagentd -r

Regards !
Jijeesh
Ray Bell
Regular Advisor

Re: ACL Setting

I have restart it already and di it twice after I failed again. I aslo remove the .sdkey from /var/adm/sw. I have tried most basic things but any suggestions will help.

Thanks...
BUPA IS
Respected Contributor

Re: ACL Setting

Hello Ray,
The Software Distributor agents may be at different patch levels, try installing the latest SD cumulative patch on each system on its own from a local depot and restart the swagentd on each system and try again .

mike
Help is out there always!!!!!
David Nixon
Valued Contributor

Re: ACL Setting

Like it says, check the ACL for your depot:

$ swacl -l depot @

This should show read permission for
category "any_other": if not edit the ACL file and re-assign it to your patch depot.

$cd /catalog/dfiles

$ vi _ACL

$ swacl -l depot -F "_ACL" @
Ray Bell
Regular Advisor

Re: ACL Setting

I ended up having to add the remote server by using the following commnds:

swacl -l root -M:user@remotesystem:crwit
swacl -l root -M other:r

Anyway this correct the problem.

Thanks you all...