Troubleshooting guide

6-90
Cisco PGW 2200 Softswitch Release 9.8 Operations, Maintenance, and Troubleshooting Guide
OL-0800-14
Chapter 6 Troubleshooting the Cisco PGW 2200 Softswitch Platform
Troubleshooting with System Logs
Viewing System Logs
The log viewer, which is part of the Cisco MGC viewer toolkit, is the best tool for viewing logs. The log
viewer enables you to search for specific log information, accounts for log rotations, and makes new logs
available. The log server is responsible for log rotation. The log server closes the current file, and creates
a new file for current logging. The log viewer also has an option for exporting the results of a log file
search to a UNIX file.
For more information on using the log viewer, see the “Using the Log Viewer” section on page 3-128.
To view a log file when the Cisco MGC viewer toolkit is not installed on your system, complete the
following steps:
Step 1 Log in to the active Cisco PGW 2200 Softswitch. Enter the cd /opt/CiscoMGC/var/log UNIX command
to change to the /opt/CiscoMGC/var/log directory.
Step 2 Enter the ls UNIX command to list the available logs:
The system returns a response like the following:
alm.csv platform.log
cdr.bin platform_20010516141831.log
meas.csv platform_20010517040508.log
mml.log platform_20010518040508.log
mml_20010516141831.log platform_20010519040508.log
mml_20010517040508.log platform_20010520040508.log
mml_20010518040508.log platform_20010521040508.log
Step 3 To view a specific system log file, enter the cat log_file_name | more command:
Where:
log_file_name—Name of the log file you want to view.
Note Because the log files are very large, use the more parameter to scroll through the file.
You might prefer to print the file to find the information you need.
For example, enter the cat platform_20010516141831.log | more command to view a specific platform
log file:
The system returns a response like the following:
Tue May 8 13:35:32:920 2001 EST | cdrDmpr (PID 15526) <Error>
GEN_ERR_GETCFGPARM: cdrDmprSink::readObj: Failed to get MGC_CDR_NODE_ID for facility *
Tue May 8 13:35:32:921 2001 EST | cdrDmpr (PID 15526) <Error>
GEN_ERR_GETCFGPARM: cdrDmprSink::readObj: Failed to get MGC_CDR_NODE_ID for facility *
Tue May 8 13:35:32:922 2001 EST | cdrDmpr (PID 15526) <Error>
GEN_ERR_GETCFGPARM: cdrDmprSink::readObj: Failed to get MGC_CDR_NODE_ID for facility
*Process id is 15517 and thead id is 1 in set the destination
Tue May 8 13:37:13:201 2001 EST | unknown (PID 15663) <Info>
/tmp/almM_input: installed time handler, hdlrId = 1
Tue May 8 13:37:31:786 2001 EST | engine (PID 15590) <Error>
CP_ERR_START_GWAY_AUDIT: engProcEvtHdlr::handleGoActiveLocal Failed to start GWAY
auditProcess id is 15508 and thead id is 1 in set the destination
Process id is 15509 and thead id is 1 in set the destination
--More--