Software Distributor Administrator Guide (September 2010)
B Troubleshooting
This appendix explains how SD-UX error messages are used, reviews the SD-UX error
logging process, lists common problems you might encounter, and suggests how to
resolve them.
Table B-1 Chapter Topics
Topics:
“Error Logging ” (page 335)
“Common Problems ” (page 336)
B.1 Error Logging
All SD-UX commands (except swlist and swacl) log error messages, summary
information about the session, and operation details to a command-specific logfile
located (by default) in /var/adm/sw/<command>.log. For example, if you wanted
to examine the logfile for swinstall, you would look in the file /var/adm/sw/
swinstall.log. You can also examine target agent logfiles for a current session from
the swinstall, swcopy, or swremove GUIs.
If you have log-in access to a target host, you can see its agent logfile(s) directly. The
location of the agent logfile varies, depending on the type of target:
• /var/adm/sw/swagent.log when operating on a host’s primary root.
• /<root_path>/var/adm/sw/swagent.log for an alternate root.
• /<depot_path>/swagent.log for a target or source depot.
The default location of a host’s daemon logfile is /var/adm/sw/swagentd.log. This
logfile contains information for problems starting agents, particularly for problems
where you have access denied to a depot or root.
NOTE: When both the source and target machine are updated to HP-UX 10.30 or
later, the system administrator at the source depot machine can track which user pulls
which software from a depot and when the software is pulled. Refer to the
source_depot_audit option in Appendix A (page 303) or “Source Depot Auditing”
(page 132).
B.1.1 Error Messages
SD-UX error messages indicate that a problem occurred that will influence the overall
outcome of an operation.
For example, if a target in an install session fails the analysis phase due to insufficient
disk space, you would find the following error message in the agent log file:
ERROR: The estimated disk space used on filesystem "/" is
14104 Kbyte blocks. This operation will exceed the
B.1 Error Logging 335