Article ID: 113759, created on Apr 25, 2012, last review on Dec 2, 2014

  • Applies to:
  • Plesk 10.3 for Linux/Unix


When I try to send an API-RPC request to Parallels Plesk Panel (PP), I receive a 404 error message. Reinstalling the psa-api-rpc-* package does not help.


The most likely cause is that the agent.php file is missing from PRODUCT_ROOT/admin/htdocs/enterprise/control/agent.phpwhich is the part of the plesk-core-10.12.0*.rpm package:

# ls -la PRODUCT_ROOT/admin/htdocs/enterprise/control/agent.php
ls: /usr/local/psa/admin/htdocs/enterprise/control/agent.php: No such file or directory

The file may have been deleted in order to eliminate a vulnerability in PP; however, this is not a recommended solution. It is necessary to install Micro-Updates in order to properly protect the server from vulnerabilities.


The issue can be fixed by restoring the missing file manually from the plesk-core-10.12.0*.rpm package:

1)    Create a temporary folder where it will be unpacked. For example:
# mkdir /tmp/plesk-support

and change the current directory to this folder:
# cd /tmp/plesk-support

2)    Download the appropriate version of the plesk-core-10.12.0*.rpm package from with the wget command.

Example for CentOS-5-i386:
# wget

3)    Unpack the downloaded RPM package:
# rpm2cpio plesk-core-10.12.0-cos5.build1012110629.18.i386.rpm | cpio -idmv

4)    Copy the unpacked agent.php file to its location:
# cp usr/local/psa/admin/htdocs/enterprise/control/agent.php /usr/local/psa/admin/htdocs/enterprise/control/agent.php

5)    Delete the temporary folder:
# rm -fr /tmp/plesk-support

NOTE: If you are using a Parallels Plesk Panel version older than 10.4, it is recommended that you install the latest Micro-Updates to eliminate vulnerabilities in Parallels Plesk Panel.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c f4ce8084cb23619ef5fe9428ecc388ea 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040

Email subscription for changes to this article
Save as PDF