Article ID: 113372, created on Feb 25, 2012, last review on May 9, 2014

  • Applies to:
  • Plesk 10.x for Linux

Symptoms

When trying to complete the installation of the Customer&Business Manager you get

=====================================
Try to repair integration...............................
The '/usr/share/plesk-billing/integration' utility was failed with the unknown message:
Wrong panel administrator's credentials were provided. Correct the credentials on the panel settings page.
All details of the problem has been stored into the '/usr/share/plesk-billing/integration.crash.log' file.
Output of this command you can see in the '/var/lib/plesk-billing/tmp/integration.log' file.
Installation has been completed with errors.
=====================================

Cause

The issue is caused by the inconsistent Customer&Business Manager configuration file

[root@plesk ~]# less /opt/plesk-billing/lib/lib-billing/include/config/config.php


============================================
<?php
// --------------------------------------------------------------------------
// DATABASE SETTINGS
// --------------------------------------------------------------------------


// --------------------------------------------------------------------------
============================================

The section is empty.

Resolution

To fix the issue you may want:

*to update the main configuration file with the needed database settings

[root@plesk ~]# vi /opt/plesk-billing/lib/lib-billing/include/config/config.php

By default it looks like the following:

============================================
// --------------------------------------------------------------------------
// DATABASE SETTINGS
// --------------------------------------------------------------------------

        // Define the path to local database:
$CONF["localDbFilePath"] = '/var/lib/plesk-billing/local.db';

// --------------------------------------------------------------------------

============================================

* an option is to remove the Billing system from the server and install it from scratch.
Note! this solution can be used only in case of a fresh Customer&Business Manager installation.
1 determine the packages:
[root@plesk ~]# rpm -qa |egrep 'sso|billing'
plesk-billing-10.4.4-20111103.19
sw-sso-2.10-11110319
plesk-billing-plugins-10.13.2-cos5.build1013111018.15

2 delete them
[root@plesk ~]# rpm -e <the_packages_you_got>

3 remove the configuration file
[root@plesk ~]# cp -p /opt/plesk-billing/lib/lib-billing/include/config/config.php{,.orig}

[root@plesk ~]# rm -rf /opt/plesk-billing/lib/lib-billing/include/config/config.php

4 install Customer&Business Manager using the autoinstaller tool:
[root@plesk ~]# /usr/local/psa/admin/bin/autoinstaller

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF