1833053 Members
2658 Online
110049 Solutions
New Discussion

Re: swinstall

 
SOLVED
Go to solution
Pua Leong Kiah
Occasional Contributor

swinstall

I am trying to install the Java Runtime Environment using swinstall as root. However, I was prompted with this error :

"You do not have the required permissions to perform this SD operation. Please check to see that you have the required permissions using swacl command ......... "

What do I need to do in order to remedy this problem?

Thank you.

LKp
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: swinstall

Hi:

I suggest checking the man pages for 'swacl'.

...JRF...
Brian M. Fisher
Honored Contributor
Solution

Re: swinstall

"This error is frequently received if the network configuration has been
changed since the swagentd daemon was started. This daemon is started when the
system is booted. The daemon can be restarted with this command:

/usr/sbin/swagentd -r

This daemon reads the network configuration of the system as the daemon is
started. If the configuration changes, the daemon needs to reread this
configuration so that it can properly perform SD-UX functions. This can even
occur if the network is not completely stable when the daemon is started during
bootup, ie. some network operations require extra time to complete. The error
occurs because swagentd believes the intent is to try pushing software
out to a remote host, a procedure that is not permitted with the bundled version
of Software Distributor." from document #KBRC00000297

Brian
<*(((>< er
Perception IS Reality
Vladislav Demidov
Honored Contributor

Re: swinstall

You can see this type of error if you name resolution isn't configured properly and host can not resolve it own name.
Check that /etc/hosts contains the next strings:
127.0.0.1 localhost loopback
Ramesh Donti
Frequent Advisor

Re: swinstall

Hi,
Check that your hostname is resolved correctly either by hosts or by DNS (if it is being used).
Check /etc/nsswitch.conf file for hostname resolution order.

Try till
# nslookup resolves the IP address.
Always Keep Smiling
sung-hoon chang
Advisor

Re: swinstall

If you have any changement for your network configuration on your system, the symptoms can be occured.

At first, find PID of swagentd.
# ps -ef | grep swagentd

And then, kill the PID
# kill -9 "the PID"

And restart the daemon.
#/usr/sbin/swagentd -r
or
#/sbin/init.d/swagentd start.

Rita C Workman
Honored Contributor

Re: swinstall

First I'd check your rights as root swacl by running < swacl -l root > . If this looks ok then I'd try stopping and starting the swagentd daemon < /sbin/init.d/swagentd stop ~/swagentd start > commands. If after doing this and it's still not running make sure you registered your depot with swreg command (check manpage on this). That should cover it. But I'm also figuring your doing this on the same system and not remotely; if your doing a remote install things change a little.
And of course if you noted a problem on the first step here...you will need to address based on the outcome.
Just a couple thoughts,
Account Not Used
Frequent Advisor

Re: swinstall

If you are running measureware you need to stop the measure daemon. This will cause errors as such.Example: cd /sbin/rc2.d CR>.
./S810mwa stop CR>. Next check the /var/adm/sw/security directory. It should have permissions of 755. The ACL and local files inside the directory should have permissions of 444. This may help your swinstall problem.
"Who moved my cheese?"