Operating System - HP-UX
1825770 Members
1966 Online
109687 Solutions
New Discussion

Re: swinstall permissions swacl

 
SOLVED
Go to solution
D Block 2
Respected Contributor

swinstall permissions swacl

I tryed to do a simple swinstall and received an error about Permissions. What is the cause of this issue ? The swinstall -d flag did work (see below).

swinstall -s /usr/tmp/ldapserver/J4258CA_B.06.21_HPUX_B.11.11_32+64.depot



---------- this window pops up ---------

"ecstst:/usr/tmp/ldapserver/J4258CA_B.06.21_HP-UX_B.11.11_32+64.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.

-------------


ls -l /usr/tmp/ldapserver/*
-rw-r--r-- 1 root sys 100024320 Nov 3 08:58 /usr/tmp/ldapserver/J4258CA_B.06.21_HP-UX_B.11.11_32+64.depot


swlist -d -s /usr/tmp/ldapserver/J*.depot
# Initializing...
# Contacting target "ecstst"...
#
# Target: ecstst:/usr/tmp/ldapserver/J4258CA_B.06.21_HP-UX_B.11.11_32+64.depot
#

#
# Bundle(s):
#

J4258CA B.06.21 Netscape Directory Server v6 for HP-UX
root@ecstst:/#


Golf is a Good Walk Spoiled, Mark Twain.
7 REPLIES 7
D Block 2
Respected Contributor

Re: swinstall permissions swacl

also the 2nd' response (2nd' window) from Swinstall is:

The default source
"/usr/tmp/ldapserver/J4258CA_B.06.21_HP-UX_B.11.11_32+64.depot" does
not exist or is not a valid source and there are no other registered
depots on ecstst. You can type in the depot path on this host or
choose a different host.
Golf is a Good Walk Spoiled, Mark Twain.
Rick Garland
Honored Contributor

Re: swinstall permissions swacl

Do a reset of the swagentd daemon

swagentd -r

bhavin asokan
Honored Contributor

Re: swinstall permissions swacl

hi,

restart the swagent daemon

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

regds,
Michael Roberts_3
Honored Contributor
Solution

Re: swinstall permissions swacl

You can list the swacl on the depot:
swacl -l depot @ /usr/tmp/ldapserver/J4258CA_B.06.21_HP-UX_B.11.11_32+64.depot

You can verify the contents:
swverify -d @ /usr/tmp/ldapserver/J4258CA_B.06.21_HP-UX_B.11.11_32+64.depot

If the swacl looks OK (allows access to root) and the swverify doesn't report any problems, you can try turning on some additional logging:
swinstall -xloglevel=2 -xlogdetail=true -s ...
etouq ot hguone revelc ton m'i
Sanjay_6
Honored Contributor

Re: swinstall permissions swacl

Hi Tom,

Try this solution from itrc,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072497597

the itrc doc id is KBRC00013678.

hope this helps.

Regds
D Block 2
Respected Contributor

Re: swinstall permissions swacl

thank you all for the responses..

the problem cleared up after I corrected the "hostname" and rebooted the server.

The # hostname command reported a different server name than the expected name from /etc/hosts. I fixed this by removing a duplicate "netconf" file found in /etc/rc.config.d/netconfOLD -- which had the wrong Hostname defined.

problem resolved.
Golf is a Good Walk Spoiled, Mark Twain.
Amrutha
Occasional Advisor

Re: swinstall permissions swacl

Once I restart the daemon,It worked fine.