Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Software Distributor Administration Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Appendix B Troubleshooting

Error Logging

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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 or “Source Depot Auditing”.

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:

WARNING: A version of fileset "SD-DATABASE.SD-DATABASE2,r=9.00.1C" is already installed in another location (see previous lines). Installing this version will create multiple installed versions. This new multiple version will be installed because the "allow_multiple_versions" option is set to "true".

Notes

Notes are used to notify you of an event that is not erroneous, unexpected or undesirable, but that you should be aware of:

NOTE: The fileset "SD-DATABASE.SD-DATABASE1,r=9.00.1C" is  already installed. If you wish to reinstall this  fileset, change the "reinstall" option to "true".
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997, 2000-2003, 2006, 2007, 2008 Hewlett-Packard Development Company, L.P.