Operating System - HP-UX
1837195 Members
2712 Online
110115 Solutions
New Discussion

swremove looks for target selection not for software selection

 
SOLVED
Go to solution
Ravi_8
Honored Contributor

swremove looks for target selection not for software selection

Hi Guys

I have a strange problem. in one of my 11i machine when i start installing or removeing software. it looks for target selection and displays hostname under "Hostname" and root under "Type" column of the window.
why is this?

where as other machines looks for software selection.
hostname,nslookup. everything is fine.

any ideas?

never give up
6 REPLIES 6
Jakes Louw
Trusted Contributor

Re: swremove looks for target selection not for software selection

I've seen this before on earlier versions of the OS.
Kill the swagent daemon (swagentd) using "swagentd -k" and then restart by just calling "swagentd".
Then re-test your swremove/swinstall.
Trying is the first step to failure - Homer Simpson
Bernhard Mueller
Honored Contributor

Re: swremove looks for target selection not for software selection

Ravi,

check your name resolution
/etc/resolv.conf
/etc/nsswitch.conf
/etc/hosts

nslookup hostname
nslookup ip-addr

if all matches restart:
swagentd -r

Regards,
Bernhard
Hoefnix
Honored Contributor

Re: swremove looks for target selection not for software selection

Did you install the HP softwaredistribution software on this server.

We have this on a server that we use to push software to other servers.
When just running swinstall, the first question I get is "Target Selection"

Regards,

Peter Geluk
T G Manikandan
Honored Contributor
Solution

Re: swremove looks for target selection not for software selection

Try doing a

#mv /var/adm/sw/.sdkey /var/adm/sw/.sdkey.bk
or
#rm /var/adm/sw/.sdkey

and checking working with swremove.

Remote operations are allowed with 11i using .sdkey file

Jakes Louw
Trusted Contributor

Re: swremove looks for target selection not for software selection

Check /var/adm/sw/target_hosts to see if your host is recorded.
Trying is the first step to failure - Homer Simpson
Ravi_8
Honored Contributor

Re: swremove looks for target selection not for software selection


Thanx TG

what is the significance of that file?
never give up