Article ID: 119409, created on Dec 30, 2013, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


Plesk is showing the following error:

    New files of configuration for Apache web server were not built due to errors in configuration templates: 
    Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = [unixODBC][MySQL][ODBC 3.51 Driver]Unknown database 'apsc'. 


Migration Fails with the following error:

    An error occurred during importing package: ODBC error #HY000: [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'psaadm'@'localhost' (using password: NO)


APS Controller database apsc does not exist on the server.


There are 3 ways to restore apsc database:

  1. Find 'apsc' database backup and restore it as described in the article #881

    [root@ppp115 ~]# ll /var/lib/psa/dumps/ | grep apsc
    -rw------- 1 root root  27145 Dec  6 01:42 mysql.preupgrade.apsc.11.5.30-
    -rw------- 1 root root   3050 Dec  6 01:42 mysql.preupgrade.apsc.11.5.30-
    -rw------- 1 root root   2990 Dec 19 06:14 mysql.preupgrade.apsc.11.5.30-
    [root@ppp115 ~]# gunzip /var/lib/psa/dumps/mysql.preupgrade.apsc.11.5.30-
    [root@ppp115 ~]#  MYSQL_PWD=`cat /etc/psa/.psa.shadow`  mysql -f -uadmin apsc < /var/lib/psa/dumps/mysql.preupgrade.apsc.11.5.30-
  2. If there are no backups of 'apsc' database found, try to repair database with script: For Plesk 11.5:

    # /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/ repair

    For Plesk 12:

    # /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/ repair

    For Plesk 12.5:

    # /usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/ repair
  3. If neither of above methods worked, create an empty apsc database and register it in Plesk using secure password:

    #  MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin -e"CREATE DATABASE apsc"
    #  MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin apsc < /usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/db/apsc_mysql_db.sql
    # /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/register_apsc_database.php --register -host localhost -port 3306 -database apsc -login apsc -password "****"

Search Words


Error loading domain control panels

An error occurred during importing package



ODBC error

apsc missing


Access denied for user 'psaadm'@'localhost'

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 01bc4c8cf5b7f01f815a7ada004154a2 742559b1631652fadd74764ae8be475e e335d9adf7edffca6a8af8039031a4c7 2a5151f57629129e26ff206d171fbb5f

Email subscription for changes to this article
Save as PDF