[Top] [Prev] [Next] [Bottom]


A - Diagnosis

This chapter provides you with information on what you need to do when you encounter problems using CC. We recommend you check the daemon messages and log files which may help you identify and resolve problems.

Also, we recommend you run CC_Receiver and CC_Sender in debug mode. Running in debug mode allows you to get traces of the operations that are being performed to track whether the programs are performing the operations you expect.

While you are customizing, you can give the -dN option to the CC_Receiver where N is the debug trace level that can range from 1 to 5. The higher the trace level, the more detailed the information.

The trace output is displayed on the standard error and will give you an idea of what is happening.

1. Login as superuser.


2. Comment out the lines corresponding to CC_Sender in the file /etc/inetd.conf.
There are two entries corresponding to CC_Sender in this file. Search for sender and insert the character `#' at the beginning of these two lines to comment out the lines.

3. Search and kill the inetd process with the -HUP signal.


# ps -ef | grep inetd
# kill -HUP <proc-id of inetd>
 


4. Start CC_Sender manually.
If you have installed CC_Sender in the default directory, type the following command line at your prompt:


# /opt/SUNWconn/snm/agents/cc_sender -dN
 

N is the debug trace level that can range from 1 to 5. The higher the trace level, the more detailed the information. The trace output is displayed on the standard error and will give you an idea of what is happening.
Once you are done with this, to run CC_Sender automatically, perform the following steps:

1. Remove the comments (`#' characters) corresponding to CC_Sender in the file /etc/inetd.conf .


2. Search and kill the inetd process with the -HUP option as described earlier.
This allows CC_Sender to run automatically.


[Top] [Prev] [Next] [Bottom]

Copyright 1996 Sun Microsystems, Inc., 2550 Garcia Ave., Mtn. View, CA 94043-1100 USA. All Rights Reserved