Software Distributor Administration Guide for HP-UX 11i
Troubleshooting
Error Logging
Appendix B462
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,
“Command Options,” on page 421 or “Source Depot Auditing” on
page 160.