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 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 count = 1, file count = 0
admin:file list activelog /tomcat/logs
dir count = 40, file count = 6
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
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
User ID: mick
Download directory: /
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.