Operating System - HP-UX
1831807 Members
2987 Online
110030 Solutions
New Discussion

swremove dosn't show software list at start

 
SOLVED
Go to solution
Artyom Voronchihin
Respected Contributor

swremove dosn't show software list at start

Hello !
Earlier when I started swremove it was showing software list of the local system. But now it doesn't. At start swremove shows hostname and user in the field where software list used to be shown. So I need highlight the hostname, mark it and then choose "show software for selection" from 'Action" menu. What happend ? Why swremove doesn't connect to target automaticaly any more ?
"Intel inside" is not a label, it's a warning.
10 REPLIES 10
Elmar P. Kolkman
Honored Contributor

Re: swremove dosn't show software list at start

Could it be that the hostname has changed since the time swremove worked like you like?
Every problem has at least one solution. Only some solutions are harder to find.
Artyom Voronchihin
Respected Contributor

Re: swremove dosn't show software list at start

Looks like everything is ok with the hostname. uname -n and hostname commands returns the same hostname. The hostname included in /etc/hosts, search order set to files at first and then DNS. I've tried to stop DNS, but it doesn't help.
"Intel inside" is not a label, it's a warning.
Adisuria Wangsadinata_1
Honored Contributor

Re: swremove dosn't show software list at start

Hi there,

try to restart the swagentd :

# ps -ef|grep swagentd
# /usr/sbin/swagentd -k
# ps -ef|grep swagentd
# /use/sbin/swagentd -r
# ps -ef|grep swagentd

and do swremove again

Hope this information can help you.

Best Regards,
AW
now working, next not working ... that's unix
Robert-Jan Goossens
Honored Contributor

Re: swremove dosn't show software list at start

Hi,

Corrupt INDEX file ??

# cd /var/adm/sw/products
# mv INDEX INDEX.orig
# cd /tmp
# vi void.psf
product
tag void
fileset
tag void
:wq!
# swpackage -s /tmp/void.psf
# swinstall void
# swremove void
# rm void.psf
# swremove -d void

HTH,
Robert-Jan
Artyom Voronchihin
Respected Contributor

Re: swremove dosn't show software list at start

I've tried to restart swagentd and recreate INDEX, but no effect. =(
"Intel inside" is not a label, it's a warning.
Artyom Voronchihin
Respected Contributor

Re: swremove dosn't show software list at start

Ooops. The same situation with swinstall. It also doesn't automatically connect to local host. swlist shows software list without problems.
"Intel inside" is not a label, it's a warning.
Robert-Jan Goossens
Honored Contributor

Re: swremove dosn't show software list at start

Hi,

What are the permissions on /etc/hosts file ?

Robert-Jan
Artyom Voronchihin
Respected Contributor

Re: swremove dosn't show software list at start

Permissions are rw-r--r--, owner - root:sys
"Intel inside" is not a label, it's a warning.
Artyom Voronchihin
Respected Contributor

Re: swremove dosn't show software list at start

I've solved the problem. The reason of that behaviour was /var/adm/sw/.sdkey file. After removing it I've got desired execution. Can enyone explain me what is that file for ?
"Intel inside" is not a label, it's a warning.
Robert-Jan Goossens
Honored Contributor
Solution

Re: swremove dosn't show software list at start

Hi,

Enabling the SD-UX User Interface for Remote Operation

The CMS's SD-UX Graphical and Terminal User Interface (GUI/TUI) can also be
configured for remote operation. By creating the /var/adm/sw/.sdkey
file the SD-UX GUI and TUI interfaces will be capable of remote operations to
multiple managed node targets simultaneously. To enable the SD-UX user
interface for remote operation perform the following on the CMS:

# touch /var/adm/sw/.sdkey

After creating the .sdkey file the SD-UX user interfaces will change so
that multiple remote targets can be selected. As with earlier releases all
SD-UX tasks can be performed from the command line and with the SD-UX user
interfaces.

Kind regards,
Robert-Jan