07-16-2020 01:58 PM - edited 07-17-2020 06:22 AM
I have found that RTMT 10.5 does not run reliably on my Windows 10 PC. It locks up after a short period; sometimes after only a few minutes. The display freezes, and I need to resort to the Windows Task Manager to even close it down. I don't know where the fault lies, but it has been frustrating. In the past I have run the Linux version of RTMT on Mac OS, which was reliable, but I don't currently have a Mac. I set out to see if I could get RTMT to run from Windows Subsystem for Linux.
In this article I assume a basic familiarity with WSL and Linux. For example, I will not describe how to obtain and install Java for WSL, or how to work with X Window.
You will need to configure Window Subsystem for Linux on your Windows PC. I am running WSL 1 and Ubuntu 20.04, but I expect WSL 2 or other distros would work.
You will need Java installed in WSL -- the Windows version of Java you may have installed will not work. I am using OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1).
You need an X Window server. I use Xming.
Sign in to CUCM administration to download RTMT. Applications > Plugins > Find, then use the download link for Cisco Unified Real-Time Monitoring Tool - Linux. This will download the file CcmServRtmtPlugin.bin. Save it to a folder that is accessible by WSL. Anywhere on your C: drive is probably OK. For example, C:\temp can usually be seen from WSL as /mnt/c/temp.
In WSL, change to the folder where you downloaded the file, and run the installer:
$ cd /mnt/c/temp
$ sudo ./CcmServRtmtPlugin.bin
When I ran it, I got the following error:
$ sudo ./CcmServRtmtPlugin.bin: 3319: exec: /tmp/install.dir.3147/Linux/resource/jre/bin/java: Exec format error
I believe this is an incompatibility with WSL or Ubuntu and the JRE that comes with RTMT. The workaround is to use the JRE I already had installed:
$ sudo ./CcmServRtmtPlugin.bin LAX_VM /usr/bin/java
This allowed me to complete the installation. But it wouldn't run, probably for the same reason the standard installation didn't work:
$ cd /opt/Cisco/Unified-Rtmt/JRtmt
$ ./run.sh
./run.sh: line 1: ./jre/bin/java: cannot execute binary file: Exec format error
So I edited run.sh and at the very beginning of the file changed "./jre/bin/java" to "/usr/bin/java"
I wasn't quite done yet. RTMT would launch, but would exit complaining about a missing timezone file:
ERROR rtmt.control - TzDataManager:getStrClientTzVersion:[ERROR]:Ex: /usr/lib/jvm/java-11-openjdk-amd64/lib/zi/ZoneInfoMappings (No such file or directory)
While the RTMT-provided JRE has that timezone file, the JRE I was using did not. So in my JRE, I created a symbolic link. Your Java installation may be in a different folder; adjust these commands as necessary.
$ cd /usr/lib/jvm/java-11-openjdk-amd64/lib
$ sudo ln -s /opt/Cisco/Unified-Rtmt/JRtmt/jre/lib/zi ./zi
Once that link allowed RTMT to find the timezone file, it ran without a hitch. It hasn't crashed on me once, which is a big improvement over the Windows version.
I have 3 version of RTMTs that run rock solid on my win 10 pc inside of vmworkstation. (because you need the version specific to the version of CUCM you are using I found, 12.5 rtmt doesnt work so good on 10.5 for me,etc)
The key is installing as win 8 compatible and the check the box to have it run as admin when you run it so you dont have to choose that every time. Having current java installed also helps.
I have both "run as admin" and Win 8 compatibility mode set, and it still locks up on me. This has been true through several Java versions. Rarely it'll run for hours before locking up; often it's mere minutes. I've reinstalled RTMT several times, and tried numerous compatibility settings. I don't know what the problem is, but it seems to be specific to my PC. I have a colleague who, like you, has no issues with RTMT on Win 10. I'm hoping my upcoming CUCM upgrade will bring along a new RTMT version that works for me natively in Windows. In the meantime, my WSL workaround has so far proven to be rock solid.
I used my Windows 10 admin user account to install CUC RTMT. Now I can run RTMT without compatibility mode and no admin rights to manage my CUC 12.5, CUCM 12.5 and UCCX 11.6 servers without any issues (hope I haven't just jinxed myself :). I'm using Windows 10 Enterprise version 1809.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: