Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to download Tomcat and CallManager logs from server

This was something that annoyed me for quite some time, I was trouble shooting an issue with Cisco Jabber and cross forest Authentication. The client was picking up the services and server IP address correctly from DNS SRV records but the user would just not authenticate. There were no errors other than “Incorrect Username/Password”

After searching for local logs, I struggled to get any useful information. I managed to find out that the logs I needed where on the Cisco Call Manager server. Here’s a quick how to for getting the logs from the server so you can read them and check for errors.

Launch PuTTY and connect to the CLI for your CUCM server.

Type in the following command:

File List activelog /

Heres the output

admin:file list activelog /
<dir>   audit
<dir>   car_db
<dir>   ccm_db
<dir>   cm
<dir>   core
<dir>   dp_db
<dir>   elm
<dir>   elm_db
<dir>   installed_options
<dir>   mgetty
<dir>   mohprep
<dir>   patches
<dir>   platform
<dir>   sa
<dir>   sso
<dir>   syslog
<dir>   tomcat
dir count = 17, file count = 0

Now here you need to find out what logs you need. I needed the tomcat logs so I will just go through this process.

type in the command to list the Tomcat logs

file list activelog /tomcat/logs

The output will be similar to this.

admin:file list activelog /tomcat
<dir>   logs
dir count = 1, file count = 0
admin:file list activelog /tomcat/logs
<dir>   axl
<dir>   car
<dir>   ccmadmin
<dir>   ccmcip
<dir>   ccmivr
<dir>   ccmrealm
<dir>   ccmservice
<dir>   ccmuser
<dir>   changecredential
<dir>   cmplatform
<dir>   cucm-uds
<dir>   cucmeccs
<dir>   cucreports
<dir>   cui
<dir>   dbl
<dir>   dna
<dir>   dp
<dir>   e911proxy
<dir>   elm-admin
<dir>   elm-client
<dir>   elm-resources
<dir>   em
<dir>   grt
<dir>   ipma
<dir>   iptplatform
<dir>   licensing
<dir>   log4jinit
<dir>   ncs
<dir>   pd
<dir>   platform-api
<dir>   rbs
<dir>   redirector
<dir>   risbean
<dir>   rtmt
<dir>   security
<dir>   soap
<dir>   soapmessage
<dir>   tomcatstats
<dir>   uxl
<dir>   webdialer
catalina.out                            localhost.2016-02-10.log
localhost_access_log.txt                localhost_access_log.txt.1
manager.2016-02-10.log                  manager.2016-02-11.log
dir count = 40, file count = 6
admin:

I from this point needed to download the EPASSOAP logs and the SECURITY Logs

Heres the locations for both of these logs

file list activelog /tomcat/logs/security/log4j

file list activelog /tomcat/logs/epassoap/log4j

I  downloaded the whole log but you can just download single log files if you need. To download them you will need an SFTP server setup to do the transfer.

So to download both folders I did.

file get activelog /tomcat/logs/security/log4j

and

file get activelog /tomcat/logs/epassoap/log4j

once you type this command you will be asked for your SFTP location, port, username, password and target directory.

admin:file get activelog /tomcat/logs/security/log4j
Please wait while the system is gathering files info …done.
Sub-directories were not traversed.
Number of files affected: 5
Total size in Bytes: 3981258
Total size in Kbytes: 3887.9473
Would you like to proceed [y/n]? y
SFTP server IP: 10.90.2.240
SFTP server port [22]: 22
User ID: mick
Password: ***********

Download directory: /

Transfer Successful

Now from this point you can use this guide to get any of the logs you need to troubleshoot any issues you have with Cisco Products like Jabber and CUCM.

 

 

The post How to download Tomcat and CallManager logs from server appeared first on MickWalton.com.



This post first appeared on Suspended Domain, please read the originial post: here

Share the post

How to download Tomcat and CallManager logs from server

×

Subscribe to Suspended Domain

Get updates delivered right to your inbox!

Thank you for your subscription

×