Search Engine: Elastic

Article ID: 126149, created on Jul 11, 2015, last review on Jul 14, 2018

  • Applies to:
  • Plesk Automation 11.5


Cannot create mail account. The following error displays:

Error when creating mail account. Non-zero exit status returned by script

If debug mode is enabled, the following output can be found in /usr/local/psa/admin/logs/panel.log

    2015-04-28T20:15:48-03:00 DEBUG (7)  [util_exec]: 0, time = 0.061262845993042, errcode = 127; stderr = ; stdout =
    [28-Apr-2015 20:15:48 America/Buenos_Aires] PleskUtilException: '/usr/local/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure-mbox.php' '--script-name=remove' '--script-language=sw-engine-pleskrun' '--user-name=psaadm' '--application-full-name=file:////usr/local/psa/var/apspackages/tmpZgkMrIppa_upgrade719cf169-bdf7-a9/cache' failed with code 127.
file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 38
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))


Huge number of existing mailboxes.

When new mail account is being created, PA processes each existing mailbox. Since the amount of mailboxes is enormous, the PA takes too long input variable, that cannot be handled.

The behavior is caused by software issue #PPA-2413. The fix is included in #MU 12.


Update PA to the latest version:

/usr/local/ppa/bin/ppa_update --install-updates

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF