- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Depots Removed - Swlist not happy !!
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
05-01-2002 05:35 AM
05-01-2002 05:35 AM
Depots Removed - Swlist not happy !!
Some plank (Not me !!) has removed all the software depots off a machine..Therfore swlist et al are not happy...
How can I figure what SW & partches are on the box without the depots ??
Rgds.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:38 AM
05-01-2002 05:38 AM
Re: Depots Removed - Swlist not happy !!
/usr/sbin/swlist -l fileset | more
/usr/sbin/swlist -l bundle | more
/usr/sbin/swlist | more
Also see man swlist
HTH
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:39 AM
05-01-2002 05:39 AM
Re: Depots Removed - Swlist not happy !!
Have you tried the check_patches command?
It will analyze your patches and report errors, warnings, etc. in a file /tmp/check_patches.report
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:45 AM
05-01-2002 05:45 AM
Re: Depots Removed - Swlist not happy !!
# swlist -l fileset
# Initializing...
# Contacting target "charter1"...
ERROR: The expected depot or root does not exist at "/".
ERROR: There is currently no installed software on host "charter1" at
location "/".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:47 AM
05-01-2002 05:47 AM
Re: Depots Removed - Swlist not happy !!
If so can you restore it from tape?
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:47 AM
05-01-2002 05:47 AM
Re: Depots Removed - Swlist not happy !!
==>list installed bundles
# swlist -l product
==>list installed products
# swlist -l fileset
==>list installed filesets
OR
If you're running 11.0, install PHCO_24347 and run ..
# show_patches -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:48 AM
05-01-2002 05:48 AM
Re: Depots Removed - Swlist not happy !!
Just keep in mind if 'check_patches' reports any problems and you use 'swverify' to assist you, swverify may give you eroneous messages with UX11.00. This is the latest I hear from the HP support group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:50 AM
05-01-2002 05:50 AM
Re: Depots Removed - Swlist not happy !!
check_patches recons there are no installed patches - I know for sure that this machine has been patched....
Rgds,
BRian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:51 AM
05-01-2002 05:51 AM
Re: Depots Removed - Swlist not happy !!
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:53 AM
05-01-2002 05:53 AM
Re: Depots Removed - Swlist not happy !!
/var/adm/sw is there....
Some of contents.... 639 Nov 7 1997 getdate.templ
0 Sep 23 1999 host_object
0 Mar 2 11:58 host_object_np
357 Mar 2 13:07 needs_config.prev
80 Sep 23 1999 needs_remove.prev
14336 Mar 7 09:12 products
1024 Sep 28 1999 queue
12288 Mar 7 09:07 save
96 Feb 21 2000 save-custom
96 Mar 2 11:59 save_custom
1024 Apr 16 2000 security
96 Jul 20 2001 sessions
96 Sep 23 1999 software
270700 May 1 10:04 swagent.log
91094 May 1 10:23 swagentd.log
217255 Mar 2 13:16 swconfig.log
3544 May 1 10:23 swcopy.log
264280 May 1 10:04 swinstall.log
32790 Mar 2 11:43 swmodify.log
745 Apr 16 2000 swreg.log
64722 Feb 19 17:08 swremove.log
42 Mar 2 11:58 target_hosts
96 Sep 23 1999 targets
96 Sep 28 1999 ui
Rgds,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:54 AM
05-01-2002 05:54 AM
Re: Depots Removed - Swlist not happy !!
What 'depot' specifically did somebody remove?
As long as it was not /var/adm/sw you should be ok. Unless you installed patches against an alternate root system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:59 AM
05-01-2002 05:59 AM
Re: Depots Removed - Swlist not happy !!
An item that I don't see is the 'var/adm/sw/patch/' directory. Try reloading it from your backup tape.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:01 AM
05-01-2002 06:01 AM
Re: Depots Removed - Swlist not happy !!
Look in the directories under /var/adm/sw, particularly products and save. Is there anythng there?
That may be a place where your "coworker" was cleaning house. restore from tape.
Good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:02 AM
05-01-2002 06:02 AM
Re: Depots Removed - Swlist not happy !!
# cd /tmp
# vi dummy.psf
===> the content should look like this ..
product
tag void
fileset
tag void
# swpackage -s /tmp/dummy.psf
# swinstall dummy
# swremove dummy
# rm dummy.psf
# swremove -d dummy
Now try the swlist command again ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:02 AM
05-01-2002 06:02 AM
Re: Depots Removed - Swlist not happy !!
You're mising /var/adm/sw/products/INDEX
If I do :-
/var/adm/sw/products > mv INDEX dave.INDEX
root:server1:
/var/adm/sw/products > swlist
# Initializing...
# Contacting target "server1"...
ERROR: The expected depot or root does not exist at "/".
ERROR: There is currently no installed software on host "server1" at
location "/".
Restore /var/adm/sw/products/INDEX from a backup and your set.
Good luck
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:04 AM
05-01-2002 06:04 AM
Re: Depots Removed - Swlist not happy !!
A couple of months ago, a third party company patched this box for Oracle V8.17....Prior to this, swlist/install/remove etc worked just fine
I think, looking in the logs, that they dumped the patches in /tmp/patches and installed from there....
I haven't got a clue what they did then, or what they deleted or changed....
Now when I run swlist, because I need the info, I get the error message above....
Rgds.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:07 AM
05-01-2002 06:07 AM
Re: Depots Removed - Swlist not happy !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:10 AM
05-01-2002 06:10 AM
Re: Depots Removed - Swlist not happy !!
man swlist look at alternate root. Try that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:13 AM
05-01-2002 06:13 AM
Re: Depots Removed - Swlist not happy !!
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:17 AM
05-01-2002 06:17 AM
Re: Depots Removed - Swlist not happy !!
Get your drift !!
But....Swpackage comes back with :
WARNING: Incomplete definition for the fileset "void", beginning atline 3. The following attributes are not defined:
files
the files contained in the fileset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:41 AM
05-01-2002 06:41 AM
Re: Depots Removed - Swlist not happy !!
DO this ..
change "void" to "dummy"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:48 AM
05-01-2002 06:48 AM
Re: Depots Removed - Swlist not happy !!
product
tag dummy
fileset
tag dummy
I've tested and it works .. remember to assign points, it'll help you (your profile) in a long run. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:53 AM
05-01-2002 06:53 AM
Re: Depots Removed - Swlist not happy !!
Thats exactly what I have but swpacksge returns the following :
WARNING: Incomplete definition for the fileset "dummy", beginning at
line 3. The following attributes are not defined:
files the files contained in the fileset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:59 AM
05-01-2002 06:59 AM
Re: Depots Removed - Swlist not happy !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 07:00 AM
05-01-2002 07:00 AM
Re: Depots Removed - Swlist not happy !!
Doesn't like korn shells, does it !!
The commands run Ok now but there is still no
/var/adm/sw/INDEX and the var/adm/sw/products directory seems to have done a runner !!
swlist returns the same errors...
EEEKK....