1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Customer and Business Manager Installation failed

Discussion in 'Plesk 10.x for Windows Issues, Fixes, How-To' started by WilcoW, Sep 9, 2011.

  1. WilcoW

    WilcoW New Pleskian

    20
     
    Joined:
    Jul 22, 2009
    Messages:
    18
    Likes Received:
    0
    Preparing to Start Customer & Business Manager

    Error: Failed to configure Business Manager. See the log below for details and fix the problems if possible. Business Manager will restart the configuration procedure next time you log in to it.
    Preparing...

    There it stops, no log etc.
    Clean install Windows 2008 R2 Web x64, Plesk 10.3.1.
    First finished the basic installation, configured one domain with ssl certificate.
    Then started the Customer & Business Manager. On a different server had problems with Customer & Business Manager in combo with ssl certificate. This is why I did it the other way around this time.

    Anyone an idea where to look?
     
  2. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Hello,

    Try to execute command
    "%plesk_dir%"\admin\bin\billing-integration.exe --command=install

    And post here the output.

    If there will be an error like
    Server error (code 500): Exception with message 'Script error [2] in C:\Program Files (x86)\Parallels\Plesk\sso\htdocs\lib\SslUtils.php (101): openssl_pkey_new() [<a href='function.openssl-pkey-new'>function.openssl-pkey-new</a>]: unable to write random state' caught at top level. (HTTP code: 500)

    then use the following instructions:
    1. You must set RANDFILE variable by System Properties -> Advanced -> Environment Variables -> System variables -> new variable RANDFILE=C:\WINDOWS\Temp\random.state.rnd
    2. Set RW permissions on temp catalog for "psaadm" user.
    3. Find old RND files on the system disk where the Parallels products were installed (use *.rnd matching pattern).
    4. Delete all files you found with name '.rnd'.
    5. Restart IIS.
    6. Execute "%plesk_dir%"\admin\bin\billing-integration.exe --command=install
     
  3. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    I have the same problem

    I have the same problem, how do I fix it?.

    I get only this:

    Preparing to Start Customer & Business Manager

    Error: Failed to configure Business Manager. See the log below for details and fix the problems if possible. Business Manager will restart the configuration procedure next time you log in to it.
    Preparing...
     
  4. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Hello,

    Try to execute command
    "%plesk_dir%"\admin\bin\billing-integration.exe --command=install
    in command line

    And post here the output.
     
  5. lvarela

    lvarela Guest

    0
     
    Running the command it gives me this output:

    Customer & Business Manager is upgrading to version 10.3.0-1. Please wait.Access is denied. (Error code 5) at Unable to execute: '\billing-integration.exe': directory is wrong!


    I appreciate your help.

    Thanks!
     
  6. lvarela

    lvarela Guest

    0
     
    What I did was to reinstall the Business Manager using the downloaded MSI files. Now this is the error message that the command is displaying:

    Warning: You have exceeded the number of customer accounts you can have in the system. Please upgrade your license.
    The license key is invalid. In order to use the Customer & Business Manager, please obtain and install a new valid license key. Contact Parallels sales representatives to obtain the proper license key.



    Thanks.
     
  7. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    This error should not appear during upgrade - this was fixed in microupdate for 10.3 version. But since you reinstalled the package manually, these updates were not applied.
    To install all microupdates for 10.3 version run Parallels Installer with key --reinstall-patch
    $PRODUCT_ROOT_D/admin/bin/ai.exe --select-product-id plesk --select-release-current --reinstall-patch --install-component base

    But in any case CBM is not available in your license - it is not a free component.
    Could you say, what version did you upgrade from?
    You can send me a private message with version you've upgraded from, your license key number, fullname and e-mail for contact.
     
  8. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    I have the command you indicate and I get many things, but what I listed first is: failed to process request [7] Could not connect to host

    What should I do?
     
  9. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Could you post here the whole output? Or attach it as a text file?
     
  10. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    the file has been created is this:

    integration.php.crash:


    --- GENERAL ----------------------------

    Description: 'Failed to process request: [7] couldn't connect to host' at C:\Program Files (x86)\Parallels\Plesk\billing\lib\billing-libs\PleskAgent.php:31
    Created: 2011-10-13 12:04:42
    Action:

    ----------------------------------------
    To obtain more details, turn the debug logging on. For details on how to turn the debug logging on, see the context help on the 'Events > Debug Log' page
     
  11. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Please enable debug mode - set ALLOW_DEBUG_LOGGING variable in the bottom of file C:\Program Files (x86)\Parallels\Plesk\billing\lib\lib-billing\include\config\config.php to value 'true'
    And restart utility "%plesk_dir%"\admin\bin\billing-integration.exe --command=install
    to get more details

    Suggestion - looks like server hostname is wrong.
    "%plesk_dir%"\admin\bin\billing-integration.exe --command=install --hostname=domain.com

    Pay attention that 'domain.com' must be hostname which can be resolved into IP both locally and globally - configure DNS zone or add items into 'hosts' files on server and on your local machine
     
    Last edited: Oct 14, 2011
  12. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    I still indicates the same error.

    I state the following command:
    "%plesk_dir%"\admin\bin\billing-integration.exe --command=install --hostname=http://s15369448.onlinehome-server.info
    if that's not what I have to point out or I have to point to the ip?

    the document created is bigger this time and indicates the following: attached
     

    Attached Files:

  13. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Try
    "%plesk_dir%"\admin\bin\billing-integration.exe --command=install --hostname=s15369448.onlinehome-server.info

    --hostname must contain full qualified domain name, without protocol (http://)
     
  14. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    nothing, I hired another server and I get the same thing:

    --- GENERAL ----------------------------

    Description: 'Failed to process request: [7] couldn't connect to host' at C:\Program Files (x86)\Parallels\Plesk\billing\lib\billing-libs\PleskAgent.php:31
    Created: 2011-10-25 04:39:38
    Action:

    ----------------------------------------
    To obtain more details, turn the debug logging on. For details on how to turn the debug logging on, see the context help on the 'Events > Debug Log' page
     
  15. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Hello, JoseSPAIN

    Could you send me credentials to your server (web + ssh) via private message.
    I'll try to take a look at the issue.
     
  16. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    Did you have?
     
  17. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Yes, I got them.
    Trying to investigate the issue.
     
  18. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Hello, JoseSPAIN

    I've looked at your second server
    What I've done:
    1. I've found that Plesk is configured to work with hostname s*****.domain.com but this hostname couldn't be resolved into IP.
    I've added an item into Windows/system32/drivers/etc/hosts file "::1 s*****.domain.com"
    Also I've added an item into hosts file on my computer to resolve this hostname from my side.

    2. I've created new self-signed cert in Panel for this hostname and secured the panel using it.

    3. I've restarted utility billing-integration --command=install

    Now the server is OK.

    Do you need my help with the first server? Looks like it is completely broken for some reason...
    Investigation can require significant time.
     
  19. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    If you want to change hostname, I recommend you to use update-hostname utility from %plesk_dir%\admin\bin directory
    This utility will change hostname both in Plesk, CBM and SSO service to keep all these applications integrated.

    Be careful, new hostname also must be resolvable into IP both locally (you can check this typing "ping new_hostname" into CMD on server) and globally (you can check this typing "ping new_hostname" into CMD on your local computer)
     
  20. JoseSPAIN

    JoseSPAIN Basic Pleskian

    14
    85%
    Joined:
    Oct 3, 2011
    Messages:
    44
    Likes Received:
    0
    Hello Eugenel.

    Now there is another problem, never log out of admin and users can not access the panel. Why is that?

    Does the client manager can not be put in Spanish?
     
Loading...