When installing the Foglight Management server (FMS), it fails and the following error comes up:
The error can have several reasons on UNIX FMS update/installations as the default mode for the installer is X-Windows display.
To avoid it, try the following:
1. Use the console mode to install the FMS. There is no need to use on a Windows based installation.
Force the installer to run in console mode, add the option "-i console".
Example: ./Foglight-5_7_5_2-install_linux-x86_64.bin -i console
or
2. Check the privileges of the X11 libraries. Does the same error occur when running the installer as user root? If user root can run the installer then it may be a privileges issue.
3. Set the following environment variable and start the installer again:
export JAVA_OPTIONS="${JAVAOPTIONS} -Djava.awt.headless=true"