<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: swa report returns an error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937173#M288301</link>
    <description>The cause of this problem turns out to be that older and newer parts of SWA differed on whether the default should be the nodename or hostname.  If the returned values from "hostname" and "uname -n" do not match you will have this problem.&lt;BR /&gt;&lt;BR /&gt;By setting an explicit value you avoid this difference in the defaults.</description>
    <pubDate>Tue, 13 Mar 2007 11:20:17 GMT</pubDate>
    <dc:creator>Bob E Campbell</dc:creator>
    <dc:date>2007-03-13T11:20:17Z</dc:date>
    <item>
      <title>swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937166#M288294</link>
      <description>&lt;!--!*#--&gt;# swa report&lt;BR /&gt;&lt;BR /&gt;=======  02/02/07 13:45:01 SASTT  BEGIN  Report on Issues and New Software (user=utgsxh)  (jobid=git5.pta.za.go2uti.com)&lt;BR /&gt;&lt;BR /&gt;       * Gathering Inventory&lt;BR /&gt;       * Checking existence and age of inventory for host "git5.pta.za.go2uti.com"&lt;BR /&gt;       * Inventory for host "git5.pta.za.go2uti.com" does not exist&lt;BR /&gt;       * Listing Filesets&lt;BR /&gt;       * Listing Products&lt;BR /&gt;       * Listing Bundles&lt;BR /&gt;       * Inventory written to /roothome/.swa/cache/swa_inventory_2106257851.xml&lt;BR /&gt;       * Getting Catalog of Recommended Actions and Software&lt;BR /&gt;       * Checking existence and age of local catalog file&lt;BR /&gt;       * Local catalog file does not exist&lt;BR /&gt;       * Downloading "/roothome/.swa/cache/swa_catalog.xml" from the remote location "&lt;A href="https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpsl" target="_blank"&gt;https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpsl&lt;/A&gt;&lt;BR /&gt;         DownloadPatch/swa_catalog.xml.gz?PatchName=/export/patches/swa_catalog.xml.gz"&lt;BR /&gt;       * Uncompressing stream&lt;BR /&gt;       * Download: 4kB read&lt;BR /&gt;       * Download: 1323kB read&lt;BR /&gt;       * Download: 2035kB read&lt;BR /&gt;       * Download: 3178kB read&lt;BR /&gt;       * Download: 3448kB read&lt;BR /&gt;       * Download: 3584kB read&lt;BR /&gt;       * Download: 4038kB read&lt;BR /&gt;       * Download: 4767kB read&lt;BR /&gt;       * Download: 5042kB read&lt;BR /&gt;       * Download: 5394kB read&lt;BR /&gt;       * Download: 5664kB read&lt;BR /&gt;       * Download: 6074kB read&lt;BR /&gt;       * Download: 6279kB read&lt;BR /&gt;       * Download: 6799kB read&lt;BR /&gt;       * Download: 7983kB read&lt;BR /&gt;       * Download complete: 8491kB&lt;BR /&gt;       * Successfully downloaded catalog&lt;BR /&gt;       * Performing Analysis&lt;BR /&gt;ERROR:   Inventory file: /roothome/.swa/cache/swa_inventory_2106257851_1.xml does not exist.&lt;BR /&gt;&lt;BR /&gt;=======  02/02/07 13:49:54 SASTT  END  Report on Issues and New Software failed with 1 error. (user=utgsxh)&lt;BR /&gt;         (jobid=git5.pta.za.go2uti.com)&lt;BR /&gt;&lt;BR /&gt;Help please, I'm an HPUX noob :)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Steven</description>
      <pubDate>Fri, 02 Feb 2007 06:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937166#M288294</guid>
      <dc:creator>Steven Haywood (SA)</dc:creator>
      <dc:date>2007-02-02T06:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937167#M288295</link>
      <description>Scratch the question - I got it working by using swa report -s git5.pta.za.go2uti.com&lt;BR /&gt;No idea why, but it's all good now :)</description>
      <pubDate>Fri, 02 Feb 2007 07:04:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937167#M288295</guid>
      <dc:creator>Steven Haywood (SA)</dc:creator>
      <dc:date>2007-02-02T07:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937168#M288296</link>
      <description>The error message is cryptic I agree.  The issue here is that the SWA tool was meant to allow a single system to analyze and maintain other remote systems.  To support this a cache of system inventories is maintained within the ~/.swa/cache directory.  It appears that the tool believed that there was a collision of some kind (thus the _1.xml).  By specifying a full DNS name for the target the cache treated this as a new system (not very smart yet).&lt;BR /&gt;&lt;BR /&gt;This 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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Bob</description>
      <pubDate>Mon, 05 Feb 2007 18:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937168#M288296</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2007-02-05T18:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937169#M288297</link>
      <description>Similar problem here. I delete /root/.swa completely, then run swa report and get this:&lt;BR /&gt;&lt;BR /&gt;=======  03/12/07 11:55:18 EDT  BEGIN Report on Issues and New Software&lt;BR /&gt;         (user=ch7558)  (jobid=paiutlux01)&lt;BR /&gt;&lt;BR /&gt;       * Gathering Inventory&lt;BR /&gt;       * Checking existence and age of inventory for host "paiutlux01"&lt;BR /&gt;       * Inventory for host "paiutlux01" does not exist&lt;BR /&gt;       * Listing Filesets&lt;BR /&gt;       * Listing Products&lt;BR /&gt;       * Listing Bundles&lt;BR /&gt;       * Inventory written to /root/.swa/cache/swa_inventory_316520417.xml&lt;BR /&gt;       * Getting Catalog of Recommended Actions and Software&lt;BR /&gt;       * Checking existence and age of local catalog file&lt;BR /&gt;       * Local catalog file does not exist&lt;BR /&gt;       * Downloading "/root/.swa/cache/swa_catalog.xml" from the remote&lt;BR /&gt;         location "&lt;A href="https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadP" target="_blank"&gt;https://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadP&lt;/A&gt;&lt;BR /&gt;         atch/swa_catalog.xml.gz?PatchName=/export/patches/swa_catalog.xml.gz"&lt;BR /&gt;       * Uncompressing stream&lt;BR /&gt;       * Download complete: 8495kB&lt;BR /&gt;       * Successfully downloaded catalog&lt;BR /&gt;       * Performing Analysis&lt;BR /&gt;ERROR:   Inventory file: /root/.swa/cache/swa_inventory_316520417_1.xml does&lt;BR /&gt;         not exist.&lt;BR /&gt;&lt;BR /&gt;=======  03/12/07 11:55:38 EDT  END Report on Issues and New Software failed&lt;BR /&gt;         with 1 error. (user=ch7558)  (jobid=paiutlux01)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It does indeed create the .xml file, but later it seems to try to access _1 which, obviously, does not exist.&lt;BR /&gt;&lt;BR /&gt;If I run it again, I get the same error but with _2.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2007 10:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937169#M288297</guid>
      <dc:creator>Olivier Masse</dc:creator>
      <dc:date>2007-03-12T10:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937170#M288298</link>
      <description>Hi&lt;BR /&gt;The workaround I used was to use swa report -s &lt;HOSTNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Give it a shot and see if it works?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Steven&lt;/HOSTNAME&gt;</description>
      <pubDate>Mon, 12 Mar 2007 11:19:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937170#M288298</guid>
      <dc:creator>Steven Haywood (SA)</dc:creator>
      <dc:date>2007-03-12T11:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937171#M288299</link>
      <description>Yup, that worked, thanks.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Can't hand out points on this one since you're the original poster, sorry.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2007 11:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937171#M288299</guid>
      <dc:creator>Olivier Masse</dc:creator>
      <dc:date>2007-03-12T11:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937172#M288300</link>
      <description>LOL no worries - glad you came right :)</description>
      <pubDate>Mon, 12 Mar 2007 11:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937172#M288300</guid>
      <dc:creator>Steven Haywood (SA)</dc:creator>
      <dc:date>2007-03-12T11:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: swa report returns an error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937173#M288301</link>
      <description>The cause of this problem turns out to be that older and newer parts of SWA differed on whether the default should be the nodename or hostname.  If the returned values from "hostname" and "uname -n" do not match you will have this problem.&lt;BR /&gt;&lt;BR /&gt;By setting an explicit value you avoid this difference in the defaults.</description>
      <pubDate>Tue, 13 Mar 2007 11:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swa-report-returns-an-error/m-p/3937173#M288301</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2007-03-13T11:20:17Z</dc:date>
    </item>
  </channel>
</rss>

