1752795 Members
6116 Online
108789 Solutions
New Discussion юеВ

swinstall error

 
Mr.AjeetKumar
Advisor

swinstall error

Hi,

I am trying to install a patch on hp ux 11.11 server using swinstall.My software depot is on remote server.I am getting following error
:-
You do not have the required permissions to
select this target. 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.

swacl -l root is showing

[root@qatetl01:/]# swacl -l root
#
# swacl Installed Software Access Control List
#
# For host: qatetl01:/
#
# Date: Tue Jan 27 22:03:28 2009
#

# Object Ownership: User= root
# Group=sys
# Realm=qatetl01.unix.gsm1900.org
#
# default_realm=qatetl01.unix.gsm1900.org
object_owner:crwit
any_other:-r---
[root@qatetl01:/]#

I have tried

# /sbin/init.d/swagentd stop
# cd /var/adm/sw
# mv security security.orig
# cp -Rp /usr/newconfig/var/adm/sw/security .
# /sbin/init.d/swagentd start

But still problem persist.

Thanks in advance.
5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: swinstall error

Have you made any changes in network configuration ?
Check proper resolving.

regards,
ivan
Mr.AjeetKumar
Advisor

Re: swinstall error

No we do't make any change in network configration
bright image
Frequent Advisor

Re: swinstall error

What is the swinstall command line you are using?
Mel Burslan
Honored Contributor

Re: swinstall error

on the server you are trying to patch, try re-starting swagentd with

# /usr/sbin/swagentd -r

if it does not work just kill it :

# /usr/sbin/swagentd -k

ant then restart it after making sure it is gone

# ps -ef | grep swagentd
(this should return nothing) then
# /usr/sbin/swagentd

Hope this helps. swagentd hangs sometimes and restarting it does not have any harmful effects and solves a bit of problems. Try it as you have nothing to lose.
________________________________
UNIX because I majored in cryptology...
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: swinstall error

Hello,

This situation might occur if the depot at the remote server(source) has restricted swacl permissions for the software depot.
You can try the steps mentioned in earlier posts of killing your client's swagentd and restarting it again.
Alternatively, if the software is in the form of network depot, then you can swcopy the depot to your target system and re-run the swinstall on your target

HTH,
Sanjay
Dying is the last thing that I will do.