Operating System - HP-UX
1834387 Members
2132 Online
110066 Solutions
New Discussion

swlist fails strange error

 
brian_31
Super Advisor

swlist fails strange error

swlist on my 11.0 fails to list anything. here is the output..

# Initializing...
# Contacting target "mnet15"...
ERROR: The expected depot or root does not exist at "/".
ERROR: There is currently no installed software on host "mnet15" at
location "/".

This is what i checked..

1. there is no name resolution issue.

2. all the products are available in /var/adm/sw/products

not sure how to go about..pl help

Thanks

Brian
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: swlist fails strange error

Make sure swagent is running... just run "/usr/sbin/swagentd -r"... that will start it if it's not running or restart it if it is.
--
Jeff Traigle
brian_31
Super Advisor

Re: swlist fails strange error

It is ofcourse running and i also re-started it.

Brian
James R. Ferguson
Acclaimed Contributor

Re: swlist fails strange error

Hi Brian:

Try restaring the 'swagentd' daemon:

# swagentd -r

Make sure that your server's hostname is represented in /etc/hosts. If you are using DNS, your '/etc/nsswitch.conf' "hosts" entry should look like:

hosts: files [NOTFOUND=continue] dns

Regards!

...JRF...
Sameer_Nirmal
Honored Contributor

Re: swlist fails strange error

Hi,

I am assuming you are just giving "swlist" command.

I suspect there is no INDEX file present in
/var/adm/sw/products directory. It might have been deleted or removed or corrupted.
In order to swlist command to succeed on the local host , the INDEX file is required to give the installed product list.
Check if there is INDEX file.

You may need to rebuild the INDEX file if it doesn't exists or corrupted.


Scot Bean
Honored Contributor

Re: swlist fails strange error

Give us the entire command you entered for swlist.