Article ID: 6186, created on Mar 24, 2009, last review on May 10, 2014

  • Applies to:
  • Plesk for Linux/Unix


When I try running a Plesk utility manually, I get the error below.

For example, for the utility websrvmng (You may get the same error for other Plesk utilities, not just for websrvmng):

~# /usr/local/psa/admin/sbin/websrvmng -av
/usr/local/psa/admin/sbin/websrvmng: error while loading shared libraries: cannot open shared object file: No such file or directory

What is causing the problem?


The error means that the Plesk utility websrvmng is compiled with the support of mysql4. However, mysql5 is installed. In this case, the utility cannot be executed.

NOTE: Not all Plesk utilities for all operating systems are compiled with mysql4.
For each operating system, Parallels Plesk Panel is compiled with the support of packages that are provided by the vendor.


Below is an example for Parallels Plesk Panel 8.6, CentOS release 5.2.
You should investigate and resolve the problem with your server similarly.

Compare the supported packages with the installed ones.

1. First, make sure that the package that provides the utility websrvmng matches your operating system:

~# rpm -qf /usr/local/psa/admin/sbin/websrvmng
~# cat /etc/redhat-release
CentOS release 5.2 (Final)

If a Plesk package from another operating system is installed, download the package for your operating system/architecture and install it.

2. Compare the Plesk requirements with the installed packages. Use rpm -q --requires to get a list of requirements:

~# rpm -q --requires psa | grep mysql
mysql-server >= 5.0.22

Check which MySQL version is installed:

~# rpm -q mysql

If "mysql" is not the required version, you should upgrade or downgrade the "mysql" package to match. The package can be found on the website The mysql-5.0.45-7.el5 package for CentOS release 5.2 is located at

If the psa-8.6.0 package does not match your operating system, you should reinstall it. You may download Plesk packages from the website Open the site, find the Plesk version for your operating system and architecture, and download and install the psa-8.6.0 package. The psa-8.6.0 package for CentOS release 5.2 is located at

3. Then verify that the utility websrvmng was not replaced, and that it matches psa-8.6.0. You may check this with the command rpm -V:

~# rpm -V psa-8.6.0 | grep websrvmng
S.5...GT   /usr/local/psa/admin/sbin/websrvmng

The tag S.5 means that the package was replaced and does not belong to psa-8.6.0.
To resolve this, reinstall psa-8.6.0 and all patches. NOTE: The utility may generate the tag "S.5" if it was replaced by Plesk patches. In this case, all patches should be reinstalled.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF