- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swa report returns an error
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
02-01-2007 10:50 PM
02-01-2007 10:50 PM
======= 02/02/07 13:45:01 SASTT BEGIN Report on Issues and New Software (user=utgsxh) (jobid=git5.pta.za.go2uti.com)
* Gathering Inventory
* Checking existence and age of inventory for host "git5.pta.za.go2uti.com"
* Inventory for host "git5.pta.za.go2uti.com" does not exist
* Listing Filesets
* Listing Products
* Listing Bundles
* Inventory written to /roothome/.swa/cache/swa_inventory_2106257851.xml
* Getting Catalog of Recommended Actions and Software
* Checking existence and age of local catalog file
* Local catalog file does not exist
* Downloading "/roothome/.swa/cache/swa_catalog.xml" from the remote location "https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpsl
DownloadPatch/swa_catalog.xml.gz?PatchName=/export/patches/swa_catalog.xml.gz"
* Uncompressing stream
* Download: 4kB read
* Download: 1323kB read
* Download: 2035kB read
* Download: 3178kB read
* Download: 3448kB read
* Download: 3584kB read
* Download: 4038kB read
* Download: 4767kB read
* Download: 5042kB read
* Download: 5394kB read
* Download: 5664kB read
* Download: 6074kB read
* Download: 6279kB read
* Download: 6799kB read
* Download: 7983kB read
* Download complete: 8491kB
* Successfully downloaded catalog
* Performing Analysis
ERROR: Inventory file: /roothome/.swa/cache/swa_inventory_2106257851_1.xml does not exist.
======= 02/02/07 13:49:54 SASTT END Report on Issues and New Software failed with 1 error. (user=utgsxh)
(jobid=git5.pta.za.go2uti.com)
Help please, I'm an HPUX noob :)
Thanks
Steven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 11:04 PM
02-01-2007 11:04 PM
Re: swa report returns an error
No idea why, but it's all good now :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 10:54 AM
02-05-2007 10:54 AM
SolutionThis may have come about if you had multiple analysis runs in parallel. If you need to do this use the "-x user_dir" option to give each command its own user cache.
You should be able to reset these files using the command "swa clean usercache". If you reproduce the problem please let me know the steps taken.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 03:57 AM
03-12-2007 03:57 AM
Re: swa report returns an error
======= 03/12/07 11:55:18 EDT BEGIN Report on Issues and New Software
(user=ch7558) (jobid=paiutlux01)
* Gathering Inventory
* Checking existence and age of inventory for host "paiutlux01"
* Inventory for host "paiutlux01" does not exist
* Listing Filesets
* Listing Products
* Listing Bundles
* Inventory written to /root/.swa/cache/swa_inventory_316520417.xml
* Getting Catalog of Recommended Actions and Software
* Checking existence and age of local catalog file
* Local catalog file does not exist
* Downloading "/root/.swa/cache/swa_catalog.xml" from the remote
location "https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadP
atch/swa_catalog.xml.gz?PatchName=/export/patches/swa_catalog.xml.gz"
* Uncompressing stream
* Download complete: 8495kB
* Successfully downloaded catalog
* Performing Analysis
ERROR: Inventory file: /root/.swa/cache/swa_inventory_316520417_1.xml does
not exist.
======= 03/12/07 11:55:38 EDT END Report on Issues and New Software failed
with 1 error. (user=ch7558) (jobid=paiutlux01)
It does indeed create the .xml file, but later it seems to try to access _1 which, obviously, does not exist.
If I run it again, I get the same error but with _2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 04:19 AM
03-12-2007 04:19 AM
Re: swa report returns an error
The workaround I used was to use swa report -s
Give it a shot and see if it works?
Thanks
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 04:47 AM
03-12-2007 04:47 AM
Re: swa report returns an error
I think the cause is that my hostname is different from the nodename (as reported by uname -n) since our corporate standards require hostnames that are longer than 8 characters. Never had any problem until now with this.
Can't hand out points on this one since you're the original poster, sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 04:49 AM
03-12-2007 04:49 AM
Re: swa report returns an error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 04:20 AM
03-13-2007 04:20 AM
Re: swa report returns an error
By setting an explicit value you avoid this difference in the defaults.