HP-UX Software Assistant Administration Guide (5900-3003, March 2013)

B Troubleshooting SWA
Log files
The HP-UX command line SWA log file details each SWA session. Its default location for root users
is /var/opt/swa/swa.log. If you do not have permissions to write to the default file, the log
file is written to $HOME/.swa/swa.log.
Each action in the log file can be verified by looking in the swcache, the usercache, or the reports
generated by SWA.
Table 6 HP SIM log file locations
FilenameCMS
/var/opt/swa/HPSIM/swa_hpsim.logHP-UXLog files
C:\Users\<hpsc_user>\HP\HP-UX Software
Assistant\swa_hpsim.log
Windows
/var/opt/swa/HPSIM/<username>/job_<ID>
/swa-web.log
HP-UXJob-specific log files
C:\Users\<username>\HP\HP-UX Software
Assistant\<username>\job_<ID>\swa-web.log
Windows
The swa.conf file.
The SWA configuration file is useful for showing the extended options settings used in your SWA
session. The system-wide configuration file is located in /etc/opt/swa. You may also find
.swa.conf files for local users in their $HOME directories. Extended options given on the command
line override settings in SWA configuration files. For more information, see the Extended Options
area of the manpages swa-clean(1M), swa-get(1M), swa-report(1M), and swa-step(1M).
Common errors
CRL checking error when getting catalog
Because of some changes in catalog acquisition, you might see an error like this:
* Getting Catalog of Recommended Actions and Software
Certificate issued to VeriSign Class 3 Secure Server CA was not signed
by the same certificate as the certificate revocation list (CRL)
"http://crl.verisign.com/RSASecureServer.crl", specified by the
"crl_url" extended option. It may be necessary to disable the CRL
checking with the "crl_check" option.
This problem has been fixed in version C.02.11. HP recommends upgrading to the latest SWA
version to avoid this error. Download SWA from HP Software Depot at https://www.hp.com/go/
swa-download. You can also avoid this error by setting the crl_check option to false.
Failed to read swa_catalog.xml
Occasionally the catalog file is unavailable from the HPSC. If this is the case, you might see an
error like this:
* Gathering Inventory
* Using existing inventory for host "gold"
* Getting Catalog of Recommended Actions and Software
ERROR: Failed to read: https://system.hp.com/wpsl/bin/getFile.pl?
Path=/export/patches/swa_catalog.xml&UserID=hpsc_user&Auth=51727287136481886157812111
Log files 45