Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
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 56 Chapter Topics
Topics:
“Error Logging ” (page 253)
“Common Problems ” (page 254)
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 227) or “Source Depot Auditing” (page 100).
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
minimum free space for this disk. You should free up at
least 2280 Kbyte blocks to avoid installing beyond this
threshold of available user disk space. If you are
running interactive "swinstall", you must return to the
Selection Window and Unmark this target before using
"swremove" to free disk space.
Warning Messages
Warning messages let you know that something unexpected and potentially undesirable occurred.
A warning does not prevent the SD session from continuing. Warning messages during analysis
of an interactive session give you the chance to continue or stop.
For example, if the fileset SD-DATABASE.SD-DATABASE2 is being installed in multiple locations
on a target system, you would find the following warning message in the agent log file:
Error Logging 253