Information about installed softwares and patches. (66 Views)
Reply
Advisor
Santanu Bhadra
Posts: 23
Registered: ‎07-18-2001
Message 1 of 7 (66 Views)
Accepted Solution

Information about installed softwares and patches.

I have a HP-UX 11.00 box in which I earlier
deleted the "/var/adm/sw" directory for getting
some free space. How can I now rebuild the
information about all the softwares and
patches installed in that machine so that it can be displayed using "swlist" command?
Work hard and be realistically optimistic.
Please use plain text.
Honored Contributor
Santosh Nair_1
Posts: 1,020
Registered: ‎07-18-2000
Message 2 of 7 (66 Views)

Re: Information about installed softwares and patches.

I think you're out of luck. Hopefully you have some backups.

All the SD files are stored under /var/adm/sw/products, including the master INDEX file and information for all the various products you have installed on the machine.

-Santosh
Life is what's happening while you're busy making other plans
Please use plain text.
Trusted Contributor
Ron Cornwell
Posts: 163
Registered: ‎10-04-1999
Message 3 of 7 (66 Views)

Re: Information about installed softwares and patches.

My suggestion is to restore /var/adm/sw from backup. In 11.0 you need a larger area for /var I do not have an 11.0 system with a /var filesystem with less than 1GB. One way to save space is to do a cleanup which will remove /var/adm/save info that is no longer needed. Another way is to clean up log files in /var/mail, /var/adm, and /var/adm/syslog/. Hope this helps.
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 4 of 7 (66 Views)

Re: Information about installed softwares and patches.

Hi:

You should never have done that! Reload the contents from a backup (or un-tar from an Ignite recovery tape).

In the future, manage the /var/adm/sw directory and its contents with 'cleanup'.

Regards!

...JRF...
Please use plain text.
Honored Contributor
Sridhar Bhaskarla
Posts: 6,350
Registered: ‎08-15-2001
Message 5 of 7 (66 Views)

Re: Information about installed softwares and patches.

As far as my knowledge goes, there is no way to build this information as it is stored under /var/adm/sw. You need to recover this directory from backup and then restart the swagentd daemon.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Please use plain text.
Honored Contributor
Santosh Nair_1
Posts: 1,020
Registered: ‎07-18-2000
Message 6 of 7 (66 Views)

Re: Information about installed softwares and patches.

We typically have /var/adm/sw on a seperate filesystem in ordee to aviod situations where /var fills up...but I suppose this doesn't help you much now.

-Santosh
Life is what's happening while you're busy making other plans
Please use plain text.
Acclaimed Contributor
A. Clay Stephenson
Posts: 17,825
Registered: ‎07-16-1998
Message 7 of 7 (66 Views)

Re: Information about installed softwares and patches.

The short answer is you can't unless you can restore from backup. NEVER do this. Use the
cleanup command to remove old patches.
If it ain't broke, I can fix that.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation