Folder permission in ColdFusion (2021 release) ZIP Installer

On Ubuntu, CentOS and RHEL, when executing ./cfinstall.sh, you may encounter this error:

[root@no1010042032249 bin]# ./cfinstall.sh

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib], /tmp/libjansi-64-7271689269367232719.so: /tmp/libjansi-64-7271689269367232719.so: failed to map segment from shared object]

        at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)

        at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)

        at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)

        at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)

        at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)

        at com.adobe.coldfusion.userio.ConsoleMessages.printToAnsiConsole(ConsoleMessages.java:109)

        at com.adobe.coldfusion.utils.XPlatUtils.clearScreen(XPlatUtils.java:143)

        at com.adobe.coldfusion.Controller.<init>(Controller.java:65)

        at com.adobe.coldfusion.Controller.main(Controller.java:55)

This issue occurrs if you do not have the requisite executable permissions on the /tmp directory.

Solution:

Grant executable permissions on the /tmp directory.

If you do not have the exec permission on the /tmp folder, then run...

If you have the exec permission on the /tmp folder, then run...

  1. mount -o remount, exec /tmp
  2. mount -o remount /tmp

  • mount -o remount /tmp

Retry the installation.

 Adobe

Gaukite pagalbą greičiau ir lengviau

Naujas vartotojas?

Adobe MAX 2024

Adobe MAX

The Creativity Conference

Spalio 14–16 d. Miami Beach ir internetu

Adobe MAX 2024

Adobe MAX

The Creativity Conference

Spalio 14–16 d. Miami Beach ir internetu