KB-1057 "pushd: not found [No such file or directory]"... "exports.sh: cannot open [No such file or directory]" errors thrown after executing the sizing script on Linux

Symptoms

When executing the sizing script on Linux, the user receives the following errors:

[appian@appian tools] ./sizing.sh summary -path "/home/my.user" -host mysubdomain.topleveldomain.com -port 8080 ./sizing.sh[1]: pushd: not found [No such file or directory] ./sizing.sh[3]: .: exports.sh: cannot open [No such file or directory] 

Cause

The format of sizing.sh may contain hidden Windows or Mac characters, which may be causing problems when the script is run on a Linux machine.

Action

Ensure that the user which you are logged in as is the same user that the Appian engines are running under, and that the Appian engines are running. Next, convert the sizing.sh file format from DOS/MAC to UNIX by running the following command:

dos2unix /file/pathway/to/sizing.sh 

Execute sizing.sh after the conversion completes.

Affected Versions

This article applies to all self-managed installations of all version of Appian.

Last Reviewed: February 2017

Related
Recommended