1825766 Members
2111 Online
109687 Solutions
New Discussion

Re: SWINSTALL

 
SOLVED
Go to solution
Jade Bulante
Frequent Advisor

SWINSTALL

I am logged in as root and tried to run the swinstall command.

I get an error "You do not have the right to do SD operation. Please see if you have the required permission using swacl". I don't understand this since I should have all permission. Can you help me out??

Thx,

Jade
11 REPLIES 11
Andy Monks
Honored Contributor
Solution

Re: SWINSTALL

This is usually hostname issues.

You'll need to check if your using dns/nis and then check that info with what's in you /etc/hosts file (this must be right for you machine even if using dns etc).

I would recommend doing :-

nslookup `hostname`
hostname

the name returned by both commands should be the same.

If your not using DNS/NIS may sure that the entry in /etc/hosts is correct. ipaddr hostname alias

The 'hostname' is the short version. so it should be of the format :-

123.34.56.78 machine machine.company.com

SD hates it if the FQDN is first!
Rick Garland
Honored Contributor

Re: SWINSTALL

As Andy stated, this is typically a hostname issue. Go through and check all of your resolution items (DNS, NIS, /etc/hosts, etc...) see how you resolve, etc..
Jade Bulante
Frequent Advisor

Re: SWINSTALL

everything looks fine on /etc/hosts. Is there any other files I should check??
Andy Monks
Honored Contributor

Re: SWINSTALL

Are you using dns/nis?

Does that resolve correctly?

if your not using dns, post your /etc/hosts file.

Re: SWINSTALL

Do you have more than one LAN card in the system? - I vaguely remember getting rid of this error by swapping round the order of the entries in /etc/hosts for both LAN cards.

I am an HPE Employee
Accept or Kudo
Jade Bulante
Frequent Advisor

Re: SWINSTALL

We do have two network cards and I changed the entry on the /etc/hosts file. Still does not work..
Andy Monks
Honored Contributor

Re: SWINSTALL

Jade,

can you post your /etc/hosts file and the output from the following command :-

nslookup localhost
nslookup `hostname`
uname -a
Jade Bulante
Frequent Advisor

Re: SWINSTALL

We are not using DNS and I get the correct response from uname -a. Also, nslookup is fine. /etc/host file is fine. It might be a diffrent file that pertains to SD or swacl..
Jade Bulante
Frequent Advisor

Re: SWINSTALL

I forgot to tell you that I Ignited this system fromn another similar system.
Andy Monks
Honored Contributor

Re: SWINSTALL

although your not using dns, the output from the commands will help.

If you've never used swacl, then the problem is always networking incorrectly setup. posting the info I asked for will help.

That said, it's probably worth checking /var/adm/sw/security (cat all the files) and ensure that the hostname there is actually your new machines hostname).

If not, stop swagentd, rename the directory and re-create the directory with the correct permissions.
Jade Bulante
Frequent Advisor

Re: SWINSTALL

The /var/adm/sw/security was missing. I copied the file from the other system and edited the hostname. IT WORKS!!!!!!


THANKS EVERYBODY.....