Operating System - HP-UX
1849214 Members
7197 Online
104041 Solutions
New Discussion

Re: swinstall problem / HPOV

 
SOLVED
Go to solution
Johan Brannac_1
Occasional Contributor

swinstall problem / HPOV

Every time I try to install anything using swinstall an error comes up saying :

"The Operation you have attempted is only allowed on target machines which have HP OpenView Software Distributor installed".

Even starting swinstall interactively gives me no joy because the source can be set to be local but not the target.

As I only want to use local sources / targets I don't care about having HPOV.

How do I setup swinstall to look locally for everything?
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: swinstall problem / HPOV

Hi Johan:

Make sure that your IPAddress is correctly returned by 'nslookup' when you provide it your hostname. Try restarting the swagentd daemon and then rerun your 'swinstall':

# swagentd -r

...JRF...
Johan Brannac_1
Occasional Contributor

Re: swinstall problem / HPOV

James,

Thanks for the advice, but still no luck.

The nslookup gives the correct IP address for the host, and the swagent restart doesn't help either. I tried stopping and starting the demon earlier in the morning. I also added a line to the _ACL list ie user:root:crwit

Also I am logged in as root so I cen't see it being a permission problem either.

Why does it treat my machine like it was a remote one?
Robin Wakefield
Honored Contributor
Solution

Re: swinstall problem / HPOV

Make sure you're running the latest patched version of swagentd. You may have to untar the depot and manually replace the swagentd binary if you can't patch locally.

Robin
neylan tokerler
Occasional Advisor

Re: swinstall problem / HPOV

swinstall menus >> change options>> select "all targets to resolve the source locally"

it may help, also you may check nfs mounted filesystems, /etc/fstab that tries to mount a cdrom or stg from a remote system?
Johan Brannac_1
Occasional Contributor

Re: swinstall problem / HPOV

Ok,

I tried the "select all sources locally" option and it made no difference because swinstall defaults to that if it can't find the network source.

I am trying the swagentd patch though....
neylan tokerler
Occasional Advisor

Re: swinstall problem / HPOV

hi,
are you sure it is no nfs probelm, /etc/fstab ??? or name resolution /etc/resolv.conf entries are right for dns???
Johan Brannac_1
Occasional Contributor

Re: swinstall problem / HPOV

The manual re-install of swagentd works perfectly.

neylan, thanks for the tips but I just needed the local source/target thing working. NFS is next week's project ...