KB-2026 Appian installer errors on Linux

Symptoms

Errors such as the following occur while running the Appian installer on Linux:

./setupLinux64_appian-18.x.x.x.bin couldn't load file "/tmp/tclhZusdx": /tmp/tclhZusdx: failed to map segment from shared object: Operation not permitted while executing "load /installkitvfs/lib/itcl/libitcl3.4.so Itcl" ("package ifneeded" script) invoked from within "package require Itcl" (in namespace eval "::" script line 3963) invoked from within "namespace eval $namespace $::InstallJammer::files($file)" (procedure "::InstallJammer::SourceCachedFile" line 3) invoked from within "::InstallJammer::SourceCachedFile common.tcl" (file "/installkitvfs/main.tcl" line 23011)
Error in action ExecuteAction 
Error in action UnzipFile
bad end of central directory record
while executing
"zvfs::mount $zip $mnt"
(procedure "::InstallJammer::actions::UnzipFile" line 12)
invoked from within
"::InstallJammer::actions::$component $this"
while executing
"$obj execute"
(procedure "::InstallJammer::ExecuteActions" line 62)
invoked from within
"::InstallJammer::ExecuteActions $action -parent $id -conditions $eval"
(procedure "::InstallJammer::actions::ExecuteAction" line 35)
invoked from within
"::InstallJammer::actions::$component $this"
while executing
"$obj execute"
(procedure "::InstallJammer::ExecuteActions" line 62)
invoked from within
"::InstallJammer::ExecuteActions Console"
(procedure "::InstallJammer::InstallMain" line 11)
invoked from within
"::InstallJammer::InstallMain"
(procedure "ThemeMain" line 2)
invoked from within
"ThemeMain "
invoked from within
"if {![info exists ::InstallJammer]} { ThemeMain }"
(file "/installkitvfs/main.tcl" line 24229)
Leave executeSetup. Finished with error.
Leave executeUpgradeInstallation. Finished with error
Error in action ExecuteAction
Error in action InstallSelectedFiles
couldn't execute "/usr/tmp/ijtmp_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX/installkit": permission denied while executing

Cause

The installer tool extracts some required files into the system temporary directory (which by default is set to /tmp on a Linux machine). The tool attempts to execute actions in that temporary directory. If the temporary directory does not have executable rights for the user in question, or if the directory is on a volume that is mounted without an exec option, it will fail. 

The operating user may not have permission to execute files in the temporary directory for one of the following reasons:

  • The noexec flag is present on the temporary directory.
  • If SELinux is enabled, it is configured by default to block executables from running in the temporary directory.

This error can also appear if there is not sufficient space in the system temporary directory partition where the files from the installer are extracted.

Action

  • On Linux, allow execution rights on the system temporary directory by running chmod +x <PATH TO DIRECTORY>.
  • Increase the allocated disk space for the system temporary directory.

SELinux

Work with a System Administrator to modify SELinux permissions to allow executables to be run in the temporary directory.

Noexec Flag

Temporarily remove this flag by executing the following command: mount -o remount,exec /tmp

Set it back by executing the following command: mount -o remount,noexec /tmp

Affected Versions

This article applies to all versions of Appian running on the Linux operating system.

Last Reviewed: November 2019

Related
Recommended