- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swlist problem "There is currently no installed so...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:44 AM
11-04-2008 07:44 AM
iam getting the following error when iam doing a swlist on my hpux 11.11 server
-bash-3.00$ sudo swlist
Password:
# Initializing...
# Contacting target "spicy"...
ERROR: The expected depot or root does not exist at "/".
ERROR: There is currently no installed software on host "spicy" at
location "/".
-bash-3.00$
i checked /var/adm/sw/products folder and it exists
iam also able to resolve hostname using nslookup
one thing i noticed is that there is no defaults file in /var/adm/sw but not sure whether this will have any impact on the issue
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:00 AM
11-04-2008 08:00 AM
Re: swlist problem "There is currently no installed software on host "
https://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1087011
http://www.tek-tips.com/viewthread.cfm?qid=1338504&page=5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:06 AM
11-04-2008 08:06 AM
Re: swlist problem "There is currently no installed software on host "
i havn't done any ignite restore on the system.and i can see the products in /var/adm/sw/products
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:11 AM
11-04-2008 08:11 AM
Re: swlist problem "There is currently no installed software on host "
There are a lot of chances that your INDEX file is corrupted, first please backup your your existing configuration, then execute those steps to regenerate the 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
That should do the trick.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:15 AM
11-04-2008 08:15 AM
Re: swlist problem "There is currently no installed software on host "
I also agree with Jaime. It looks your INDEX file corrupts. Try regenerating the INDEX file. However try to restart swagentd once before regenerating INDEX file.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:18 AM
11-04-2008 08:18 AM
Re: swlist problem "There is currently no installed software on host "
seems like iam missing an INDEX file
-bash-3.00$ sudo ls -ld /var/adm/sw/products/INDEX
/var/adm/sw/products/INDEX not found
I will try creating one as per your procedure .Thanks for the hint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:35 AM
11-04-2008 08:35 AM
Re: swlist problem "There is currently no installed software on host "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 08:39 AM
11-04-2008 08:39 AM
Re: swlist problem "There is currently no installed software on host "
1) You can not run swlist or any sd/ux product with the bash shell. You need to use posix or korn shell.
2) If I am wrong about item 1, your sd/ux database has been clobbered or you are pointing to an invalid location.
http://docs.hp.com/en/B2355-90154/index.html
http://docs.hp.com/en/B2355-90154/B2355-90154.pdf
This is a potentially serious problem that I have never faced.
3) /sbin/init.d/swagentd -r
4) Make sure you have a valid /etc/nsswtich.conf file there are several templates in /etc but none is installed by default.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 07:54 AM
11-07-2008 07:54 AM
Re: swlist problem "There is currently no installed software on host "
we restored the entire /var/adm/sw folder .Since INDEX file was not missing , it was zipped accedently and there were some more file whcih got zipped .and the situation was unclear ,we just restored full directory tree and the SDUX is functional again
!!!Thanks to you all and VERITAS NETBACKUP !!!!