HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

SWA errors

 
Fenglin
Regular Advisor

SWA errors

After Successfuly installing SWA, I run the command 'swa report'. I hit the following error "
======= 04/17/09 14:15:41 SST BEGIN Report on Issues and New Software (user=uxadm) (jobid=nspdwas1)

* Gathering Inventory
* 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=/export/patches/swa_catalog.xml.gz
Message: URL cannot be opened. ftp.itrc.hp.com

======= 04/17/09 14:15:48 SST END Report on Issues and New Software failed with 1 error. (user=uxadm) (jobid=nspdwas1)

NOTE: More information may be found in the Software Assistant logfile "/var/opt/swa/swa.log".


How to resolve this error?

Regards
Feng Lin
14 REPLIES
Torsten.
Acclaimed Contributor

Re: SWA errors

Do you need to use a proxy to access the internet?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenglin
Regular Advisor

Re: SWA errors

Because I am doing it in my staging environment where we are not allowed to access internet.

Any other solutions?

Torsten.
Acclaimed Contributor

Re: SWA errors

See

http://docs.hp.com/en/5992-5841/ch05s01.html

==>

Running SWA on a System Without Access to the Internet

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenglin
Regular Advisor

Re: SWA errors

Hi

After running the 'swa report', i got the swa_analysis.xml.

Is there a way to make use of this xml file so that I can dwld all the necessary patches?DO I need to use HP SIM 5.2? Any other solutions?
Torsten.
Acclaimed Contributor

Re: SWA errors

You can select if you want to have a html report, have a look into the manual for all options.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenglin
Regular Advisor

Re: SWA errors

Sorry, I am not sure how to dwld the patches in using the swa_analysis.xml file.
Even after I open the file in html format, I dont see how it helps.

Remember my environment does not have access to internet. I need to dwld the list of patches first before I can install on the servers.
Torsten.
Acclaimed Contributor

Re: SWA errors

Get the patches here from ITRC -> patch database.

www.itrc.com

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Suraj K Sankari
Honored Contributor

Re: SWA errors

Hi,
Here is the link

http://www11.itrc.hp.com/service/patch/search.do?BC=main|&pageOsid=hpux

To download patch

Suraj
Fenglin
Regular Advisor

Re: SWA errors

Hi

How does this new method, SWA ease the previous way of patching servers? I mean previously I dwld patches from the quarterly bundles on the ITRC. I was thinking that in having this swa_analysis.xml file, I will be able to upload it, then it will be able to retrieve all the relevant patches for me in 1 glance.

Now it looks to me that I need to scroll thru the xml file to see which patch is relevant.

Please advice. Did I misunderstand any?
Torsten.
Acclaimed Contributor

Re: SWA errors

For all features of SWA your server must be able to access the internet or swa must be integrated in HPSIM.

Without internet, you need to collect the patches manually.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fenglin
Regular Advisor

Re: SWA errors

If I am going to make use of this swa_analysis.xml file, can I say that I just need to dwld those PH* patches and depot ids? How about those issue ids?

Or should I just follow my previous way,dwld quarterly dec patches since my HP-UX versions are 11.11 and 11.23 ?

Please advice.
Bob E Campbell
Honored Contributor

Re: SWA errors

From your HP-UX system is there any other system running any operating system that has internet access?

If so, then you could use a command of the form:

# swa report -x download_cmd="ssh user@remoteSystem /opt/perl/bin/GET"

You can replace that with a shell script of any complexity you need and of course a number of utilities such as curl or wget could be used in place of perl.

That same option is supported with the "get" major mode for building a depot.

If you do not have any chain of systems that will give you access, you can upload your inventory file to the ITRC patch database and run an assessment. Just use the command "/opt/swa/lbin/swainv" to create the file inventory.xml.
Fenglin
Regular Advisor

Re: SWA errors

I have been unable to upload the inventory file to the ITRC. Below is the website that I go to upload but it always complain to me network error.

http://www13.itrc.hp.com/service/patch/addUpdateSystemsPage.do?BC=main|assess|

If the website is correct, I am not sure why I can't upload the file.

Regards
Feng Lin

Re: SWA errors

>Below is the website that I go to upload but it always complain to me network error.

Try this? When do you get the error, when you submit?
http://www.itrc.hp.com/service/patch/addUpdateSystemsPage.do