Operating System - HP-UX
1844223 Members
3119 Online
110230 Solutions
New Discussion

sam view installed software

 
christian_derek
Regular Advisor

sam view installed software

Hi,

I'm trying via SAM to see the software already install on the box, but I'm getting could not contact host 'alicia'. I'm currently running hpux 11.23 on rx7620.

Thanks,
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: sam view installed software

Hi Christian:

Verify that 'alicia' is defined in '/etc/hosts' and includes a fully-qualified name too.

At the commandline as root, do:

# /usr/sbin/swagentd -r

Now try again.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: sam view installed software

Shalom,

/sbin/init.d/swagentd -R

or

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

Make sure you have a /etc/nsswitch.conf file in place.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jaime Bolanos Rojas.
Honored Contributor

Re: sam view installed software

Also this are your resolution files:

/etc/hosts
/etc/nsswitch.conf
/etc/resolv.conf

Make sure they are consistent,

Jaime.
Work hard when the need comes out.
christian_derek
Regular Advisor

Re: sam view installed software

Hi,

Now i'm getting You do not have the required permissions to select this target. Check permissions using the swacl command or see your system adminstrator for assistance. Or, to manage applications designed and packaged for non-privileges mode, see the 'run_as_superuser' option in the sd man page. i'm running swinstall directly on my system, not on a remote.

swacl
ERROR: A valid edit level is needed for the successful execution of
"swacl"(). The valid levels are:"host", "depot", "root",
"product", "product_template", "global_product_template" or
"global_soc_template".

Any help?
DCE
Honored Contributor

Re: sam view installed software


In the past, for me at least, I have had to reboot the sytem after I encountered this error. It occurs ususually after changing some networking/routing info on the system (hostname, IP address, nsswitch.conf, etc). The program seems to be extremely sensetive to changes in this area.

Don't know if it will help in your case, but you could give it a try.

James R. Ferguson
Acclaimed Contributor

Re: sam view installed software

Hi Christian:

Are you running as 'root'? Make sure, too, that 'swlist' has setuid permissions for root:

# ls -l /usr/sbin/swlist
-r-sr-xr-x 11 root bin 2289664 Nov 3 2003 /usr/sbin/swlist

Regards!

...JRF...
christian_derek
Regular Advisor

Re: sam view installed software

The reboot solved the problem,

Thanks,