
Using logs to troubleshoot 469
The cs_console.log keeps a record of the Call Servers Console which can
be useful for several debugging situations. The following are examples of
log file locations for various applications:
• LOG000000.RPT: /var/opt/nortel/cs/fs/e/rpt
• cs_console.log: /var/log/nortel
• callserver.log: /var/log/nortel
•
cs_extra.log: /var/log/nortel
Using logs to troubleshoot
Log files can be used to troubleshoot live systems using the tail
command. You can use the tail command in several ways, but the
following are the most common uses. From a Linux shell:
• tail –f <logfilename> Gives a constantly updating snap shot of
the last 10 log file entries
•
tail <logfilename> provides a one time shapshot of the last 10
log file entries.
The following is an example for the Element Manager logs:
[nortel@bvwbuffyss1 ~]$ tail /var/log/nortel/mgmt/em.log
2009-04-24 20:20:39,857 INFO [centralLogic] (?:?) [EmCentralCo
nfigService] [CentralLogic] Em
CentralConfigService is started!! - SUCCESS
2009-04-24 20:23:07,077 INFO [centralLogic] (?:?) [EmCentralCo
nfigService] [CentralLogic] Em
CentralConfigService is stopped!! - SUCCESS
2009-04-24 20:23:07,077 ERROR[centralLogic] (?:?)
[EMCentralConfigReceiver] [CentralLogic] Socket closed
Connection to CP - FAIL
2009-04-24 20:23:32,444 INFO [centralLogic] (?:?) [EmCentr
alConfigService] [CentralLogic] Em CentralConfigService is
started!! - SUCCESS
2009-05-04 11:45:12,043 INFO [centralLogic] (?:?) [EmCentralCo
nfigService] [CentralLogic] Em
CentralConfigService is started!! - SUCCESS
[nortel@bvwbuffyss1 ~]$
For more information about the tail command, use tail –h:
[nortel@bvwucm nortel]$ tail --h
Usage: tail [OPTION]... [FILE]...
Print the last 10 lines of each FILE to standard output.
With more than one FILE, precede each with a header giving the file
name.
With no FILE, or when FILE is -, read standard input.
Nortel Communication Server 1000
Troubleshooting Guide for Distributors
NN43001-730 02.02 31 December 2009
Copyright © 2008-2009 Nortel Networks. All Rights Reserved.
.
Comentários a estes Manuais