Cannot login in Plesk: ERROR: Service_Agent_Exception

Created:

2017-01-22 23:57:18 UTC

Modified:

2017-08-08 13:41:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot login in Plesk: ERROR: Service_Agent_Exception

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Cannot login in Plesk. The following error is shown:

ERROR: Service_Agent_Exception
Unable to read components configuration from the service node: Error: invalid command --list
Usage: mailmng <COMMAND> <COMMAND OPTIONS...>
for a complete list of commands use ``mailmng --help-commands''
for help on syntax for a particular command use ``mailmng <COMMAND> --help''
for legacy complete help use ``mailmng --help-legacy''

In Plesk panel.log with debug mode enabled the following error occurs:

[2017-01-23 00:19:07] ERR [utilexec] procclose() failed ['/usr/local/psa/admin/bin/php_handlerscontrol' '--reread' '--no-set-dirty-flag'] with exit code [1] 

[2017-01-23 00:19:07] DEBUG [util
exec] [29066fec8acf7a018dd45a62d1185cbb][0] Finished in 0.00856s, Error code: 1, stdout: , stderr: Error: invalid command --reread Usage: mailmng <COMMAND OPTIONS...> for a complete list of commands use mailmng --help-commands'' for help on syntax for a particular command usemailmng --help'' for legacy complete help use ``mailmng --help-legacy''
 PleskUtilException: '/usr/local/psa/admin/bin/phphandlerscontrol' '--reread' '--no-set-dirty-flag' failed with code 1.

Attempt to execute the command below fails with help output

# /usr/local/psa/admin/bin/php_handlers_control --list 
Usage: mailmng <COMMAND> <COMMAND OPTIONS...>
for a complete list of commands use ``mailmng --help-commands''
for help on syntax for a particular command use ``mailmng <COMMAND> --help''
for legacy complete help use ``mailmng --help-legacy''

Cause

File /usr/local/psa/admin/sbin/wrapper is corrupted

Resolution

Download from autoinstall.plesk.com and reinstall appropriate plesk-service-node-utilities package. For example, for Plesk 12.5 CentOS7:

# wget http://autoinstall.plesk.com/PSA_12.5.30/dist-rpm-CentOS-7-x86_64/opt/agent/plesk-service-node-utilities-12.5.30-cos7.build1205150826.19.x86_64.rpm
# rpm -Uvh --force plesk-service-node-utilities-12.5.30-cos7.build1205150826.19.x86_64.rpm
Have more questions? Submit a request
Please sign in to leave a comment.