Software Distributor Administration Guide (March 2009)

Table Of Contents
B.2.9 Daemon Logfile Is Too Long
If you want to shorten (truncate) the SD-UX daemon logfile because it is getting too
long, follow this procedure:
Resolution
If the daemon is currently running, DO NOT remove its logfile. The running daemon
continues to log messages to its logfile even after you’ve removed it, causing any
subsequent information to be lost. Also, the disk space used by the logfile will not be
freed as long as the daemon is running.
Instead, truncate the logfile by typing (as root):
echo > /var/adm/sw/swagentd.log
This replaces the previous data in the log with an empty string.
If you inadvertently remove the daemon logfile while it is running, you must kill and
restart the daemon if you want to see subsequent daemon log messages and free up
the disk space used by the logfile. You can stop (kill) a daemon by typing:
/usr/sbin/swagentd -k
You can also kill and restart a currently running daemon by typing:
/usr/sbin/swagentd -r
B.2.10 Cannot Read a Tape Depot
If you are trying to access a tape depot and see the following error message in the
daemon logfile, it means that the tape is either corrupt or is not in SD-UX format.
ERROR: The INDEX file on the source did not exist or could
not be read.
ERROR: The target <depot_path> could not be opened.
Resolution
Make sure that you have correctly specified the tape device and that the correct tape
is in the drive. SD-UX only reads tapes that are in SD-UX format. For example, SD-UX
does not read update format tapes.
B.2.11 Installation Fails
An installation may fail while only part way through the process.
340 Troubleshooting