Make sure the shebang on the script points to an interpreter that actually exists. Thus, if the script being invoked uses:
#!/bin/bash
…then /bin/bash
needs to actually be installed. (Alternately, you might consider trying to port the script to work with POSIX sh, and modifying its shebang to /bin/sh
).