Unable to install an application on domain with an error "Non-zero exit status returned by script"

Refers to:

  • Plesk for Windows
  • Plesk 12.5 for Linux

Created:

2016-11-16 12:56:01 UTC

Modified:

2017-02-05 06:52:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to install an application on domain with an error "Non-zero exit status returned by script"

Symptoms

Application installation failed with following error message:

    Error: Installation of WordPress at http://domain.tld/wordpress failed. Non-zero exit status returned by script. Output stream: ' at (SiteApplicationManager::fsaExecuteScript line 604) at execute console command --run-application-script(vconsoleapp::start line 132) at execute F:\\Parallels\\Plesk\\/admin/bin/sappmng --run-application-script "--script-filename=configure" "--script-name=install" "--user-name=qweqwe" "--application-full-name=file:///F:\\Parallels\\Plesk\\/var/apspackages\\apsA59B.tmp.zip1a74bf7a-a895-7417-6a\\cache" "--fsa-xml-file=F:\\Parallels\\Plesk\   mp\\fsaC55F.tmp"(vconsoleapp::run line 143)'.

In log file "%plesk_dir%"\\admin\\logs\\php_error.log :

    Failed to detect php setting value (safe_mode): Failed to execute request: The requested URL returned error: 500
Failed to detect php extension (mysql): Failed to execute request: The requested URL returned error: 500

Cause

In PHP configuration file "%plesk_dir%"\\Additional\\PleskPHP5\\php.ini output of errors is defined to file instead of syslog:

error_log = <some file>

As a result log file became locked by one of PHP process.

Resolution

Comment out the line.

    ; error_log = <some file>

Or set:

    error_log = syslog
Have more questions? Submit a request
Please sign in to leave a comment.