After installing an operating system patch on a Linux machine, the Foglight Agent Manager (FglAM) or Foglight Management Server (FMS) does not start up anymore. It failed with a Java Virtual Machine memory allocation error.
During startup the following error can be found:
In June 19, 2017, Red Hat released a new fix which addressing the CVE-2017-1000364 kernel: heap/stack gap jumping via unbounded stack allocations.
This fix caused a new issue for several Red Hat versions and all Linux systems which applied the CSV fixing “JVM crashes after updating to kernel with patch for Stack Guard flaw (CVE-2017-1000364)”
The resolution from Red Hat is to upgrade to its newer kernel version. Problematic kernel version is: 2.6.32-696.3.2.el6.x86_64.
If an kernel upgrade is not possible please follow the workaround below to get Foglight up and running again.
Follow Red Hat KB3091371 upgrade to new Linux kernel.
To fix the issue in Foglight Agent Manager (FglAM) please set the following parameter:
If the Foglight Agent Manager installer file failed to start, please use the following command:
To fix the issue in Foglight Management Server (FMS) please set the following parameter:
If the Foglight Management Server (FMS) installer file failed to start, please use the following command:
*********** How to verify if the OS has being upgraded recently********
Please run with root access level:
rpm -qa --last | less
and see the date