HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 32 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
/var/adm/sw/sw*.log files.
Example:
# export SDU_DEBUG=1
# export SDU_DEBUG_TIMESTAMP=hour:minute:second:millisecond
# script -a /tmp/SDdebug.out
Perform SD-UX command.
# exit
# unset SDU_DEBUG
# unset SDU_DEBUG_TIMESTAMP
Analyze /tmp/SDdebug.out.
The variable SDU_DEBUG can have a value between 1 and 4:
Level 1: Trace entry to major function calls.
Level 2: Add trace of exit from major function calls.
Level 3: Add trace of some internals or variables in major function calls.
Level 4: Add tracing in functions that are called frequently.
Please remember that the SDU_DEBUG variables are neither officially supported nor documented,
and their behavior may change without notice.
swinstall in Single User Mode
swinstall needs the Core networking functionality. So it won´t work in single user mode.
1
st
of all, try to bring up minimum networking functionality after booting into single user mode:
# init 1
# /sbin/init.d/net start
# /sbin/init.d/swagentd start
# /sbin/init.d/swconfig start
Now, try to swinstall. If it is still impossible, you may try the following unsupported procedure
in single user mode:
dlpi and lan0 drivers must be in the kernel. Then backup the following files:
# cp /etc/hosts /etc/hosts.org
# mv /etc/resolv.conf /etc/resolv.conf.org (move!)