Permission denied and JRE libraries are missing or not compatible errors when installing Foglight
./Foglight-6_1_0-install_linux-x86_64.bin -i console
Preparing to installExtracting the JRE from the installer archive...Unpacking the JRE...Extracting the installation resources from the installer archive...Configuring the installer for this system's environment..../Foglight-6_1_0-install_linux-x86_64.bin: 3578: //Fix: not found./Foglight-6_1_0-install_linux-x86_64.bin: 3579: //: Permission deniedLaunching installer...cat: /etc/issue: Permission deniedJRE libraries are missing or not compatible....Exiting....
Additional information when running the installer with DEBUG options.
========= VM Command Line ============================================
options: --add-opens java.base/jdk.internal.loader=ALL-UNNAMED -Dsun.java2d.uiScale.enabled=false -Xmx50331648 -Xms16777216CLASSPATH:/tmp/install.dir.1946/InstallerData:/tmp/install.dir.1946/InstallerData/installer.zip:========= Forking JAVA =============================================cat: /etc/issue: Permission deniedJRE libraries are missing or not compatible....Exiting....========= JAVA Finished ==============================================
Note: In some cases, permission errors may not be displayed but the installer can still fail with error JRE libraries are missing or not compatible.
The noexec option is being used on /tmp.
Verify permissions and specify an alternative temporary directory:
/etc/issue.export IATEMPDIR=[path] to specify a different temp directory and then run the installer; for example:
export IATEMPDIR=[path]
./fms_installer.bin -i console
For enabling debug mode in the Foglight installer refer to Is it possible to place the Foglight installer into debug mode? (4315084).