1829102 Members
2511 Online
109986 Solutions
New Discussion

Swa error message

 
SOLVED
Go to solution
frank jordan_1
Advisor

Swa error message

Hello All,
Below is the error message recieved when running "swa report". I've added the proxy info into the swa config file, but it is not reading the "gz" file. Manully, I was able to view the file but not by running "swa report"

Thanks

# swa report

======= 08/20/07 14:54:16 EDT BEGIN Report on Issues and New Software (user=root) (jobid=b700)

* Gathering Inventory
* Using existing inventory for host "b700"
* Getting Catalog of Recommended Actions and Software
ERROR: Failed to read: https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadPatch/swa_catalog.xml.gz?PatchName=/expo
rt/patches/swa_catalog.xml.gz Message: URL cannot be opened. ftp.itrc.hp.com
* Gathering Inventory failed with 1 error.

======= 08/20/07 14:54:25 EDT END Report on Issues and New Software failed with 1 error. (user=root) (jobid=b700)
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Swa error message

Shalom,

The error seems to show that the utility was unable to connect with hp's patch website. If this has worked in the past it is probably a temporary error and trying again will solve the issue.

If it has never worked you may need to check with your network firewall people to make sure this machine has proper access.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
frank jordan_1
Advisor

Re: Swa error message

Thanks for the quick response. I was able to go to the HP website manually and pull up the document. The only difference was, sent the file is compress there was a dialog box displayed asking to "open" or "saved" the document.

Thanks
Frank
John Payne_2
Honored Contributor

Re: Swa error message

You were able to download the catalog manually, but not through the tool? On the same box?

You can save the catalog to the machine you are trying to run SWA from, then run "swa report -x catalog=/path/to/your/catalog.xml"

Hope it helps
John
Spoon!!!!
Keith Buck
Respected Contributor
Solution

Re: Swa error message

I suspect that there is some configuration with your proxy that isn't quite right, that is different from your web browser. For example:
1. I have seen people put the proxy auto-configuration URL in for the proxy...it's not a proxy.
2. It is not a standard http proxy (e.g. ISA web proxies interact with your NT domain login)
3. Typo or incorrect format for the web proxy URL?

Your message says that you suspect it has something to do with the .gz format. You can test this by changing the catalog_source configuration option in the configuration file. Be sure to remove both instances of ".gz" from the default value. There is an example line in the swa.conf.template file like this:

# catalog_source = https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadPatch/swa_cat
alog.xml.gz?PatchName=/export/patches/swa_catalog.xml.gz

That would be uncommented and changed to:
catalog_source = https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadPatch/swa_cat
alog.xml?PatchName=/export/patches/swa_catalog.xml

This will take a significantly longer time to download, especially on slower connections, but it would test your theory. After you've tested it, you can change it back.

Hope that helps. Let us know if you have more clues to solve the problem.

Thanks for using the tool :)

-Keith