Logmon probe wont start on a Linux machine. The logmon probe is green and displays a port and a PID but after double-clicking on the probe to open the GUI, in the bottom of the main GUI window, it displays, "The logmon probe is not running."
The log shows 'unable to open data file logmon.dta'
logmon: ****************[ Starting ]****************
logmon: * logmon 4.11
logmon: * Nimsoft Corporation
logmon: unable to open data file logmon.dta
logmon: unable to open data file logmon.dta
logmon: unable to open data file logmon.dta
Robot Environment:
Supported Operating Systems for the logmon probe
===========================================
DX UIM probe support matrix
Firewalls
Please also try stopping the Linux firewall and see if the issue is alleviated.
Please try the following:
service iptables stop
Current running iptables rules can be viewed with the command iptables -L or use iptables -L -n to also see the port number.
iptables -L
/bin/systemctl stop iptables.service
a) You can FLUSH the rules manually during testing using iptables -F, but the rules are flushed when the iptables is 100% stopped by running the command using systemctl NOT 'service iptables stop.'
/bin/systemctl stop iptables.service
/bin/systemctl status iptables.service (displays the iptables status)
Otherwise if you run service iptables stop it will stop the service but the rules may stay in effect as evidenced by seeing the redirection to /bin/systemctl, e.g., ....Redirecting to /bin/systemctl stop iptables.service despite disabling it with "service iptables stop"
Note that the behavior of the iptables stop command may depend on the system/security configuration on the Linux machine.
b) You could add a firewall rule on the local Linux machine and keep the iptables enabled. For example:
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:48000-48100
Ease of configuration depends upon how many Linux machines you need to adjust. It may not be the same config for all so that would need to be checked.
If the firewall/iptables service is truly DISABLED on the robot and you cannot get logmon probe to work, SELinux enforcing may be enabled, so then it may be necessary to disable SELinux on the robot.
How to disable SELinux:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security-enhanced_linux/sect-security-enhanced_linux-enabling_and_disabling_selinux-disabling_selinux
firewalld
> service firewalld stop
> systemctl disable firewalld
logmon - required library files
ldd logmon
for instance on the working versus non-working machine, e.g., RHEL 7.6 machine versus the 7.7 machine.
All of these library files listed below should be present on each machine.
[root@lvxxxxxxxxxxxetc]# cat redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
[root@lvxxxxxxxxxxxetc]# cd /opt/nimsoft/probes/system/logmon
[root@lkxxxxxxxxxxx logmon]# ldd logmon
linux-vdso.so.1 => (0x00007ffce39de000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb2e3cdd000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb2e3ad5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb2e38d1000)
libm.so.6 => /lib64/libm.so.6 (0x00007fb2e35cf000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb2e33b9000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fb2e30b2000)
libicuuc.so.51 => ./libicuuc.so.51 (0x00007fb2e2d29000)
libicui18n.so.51 => ./libicui18n.so.51 (0x00007fb2e290b000)
libicudata.so.51 => ./libicudata.so.51 (0x00007fb2e11c1000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb2e0df4000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb2e3ef9000)