• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Can't install CBM into Plesk 10.3 Centos 5.6

J.Wick

Regular Pleskian
Plesk 10.3.1
CentOS release 5.6 (Final)

Usually I can fix things, this one I wasn't able to after 3 hours so I'm looking for guidance.

Installed Plesk 10.2 and noticed during the CLI install that the CBM failed and it never appeared in Plesk. However I was able to access and set it up from the billing url.

After upgrading to Plesk 10.3.1 I got the green link in the home screen to finish setting up CBM, and it failed.

I've tried to repair-all which failed, so I ripped Plesk Billing completely out, re-installed, and get the same errors every time.

When re-installing it'll be successful, but then when it goes to start-up or if I click the integration link in Plesk it fails and provides this output.


I've followed:

http://kb.odin.com/en/9327
http://forum.parallels.com/showthread.php?t=110935

Here's my error output.

Preparing...
Repair integration with local panel:
Try to repair integration...............................Failed to provision service plan 'Bronze Hosting': pleskunix: Service plan with the 'Bronze Hosting' name already exists. You can add plan to Business Manager or delete, rename the same plan in Parallels Panel. [PLANS PROVISIONING IGNORED] [ OK ]

Repair SSO connections (may take a few minutes, please wait...):
Repair CBM and Plesk Panel connections with SSO:

Try to detach the 'customer' application from SSO.......[ OK ]
Try to detach the 'admin' application from SSO..........[ OK ]
Try to clear the SSO database...........................[ OK ]
Try to attach the 'admin' application to SSO............The '/usr/share/plesk-billing/sso.php' utility was failed with the unknown message: <message><br />
<b>Warning</b>: fopen(/var/log/sso/sso.log) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/usr/local/sso/lib/Log.php</b> on line <b>24</b><br />
FATAL ERROR: Can not open log file '/var/log/sso/sso.log' (CWD is /usr/local/sso)
(HTTP code: 200)</message>. All details of the problem has been stored into the '/usr/share/plesk-billing/sso.crash.log' file.

Usage: /usr/share/plesk-billing/sso.php [ options ]
--command <string> attach | attach-all | detach | enable | disable | repair-accounts | repair-all | reissue-sp-certs | info.

attach
Connects the Administrator's or Customer's panel to the SSO service. The
panel type is defined by the required option --app-type. To connect both panels,
run the operation twice with different --app-type options. This command also
requires option --idp-url.
Example: sso --command=attach --app-type=customer --idp-url=https://vcloud.domain.net:8443

detach
Disconnects the Administrator's or Customer's panel from the SSO service.
The panel type is defined by the required option --app-type. To disconnect both
panels, provide two --app-type options.
Example: sso --command=detach --app-type=customer

enable
Turns on the SSO service for the connected panel. Initially, the service
is turned off. The panel type is defined by the required option --app-type.
Example: sso --command=enable --app-type=customer

disable
Turns off the SSO service for the connected panel. The panel type is
defined by the required option --app-type.
Example: sso --command=disable --app-type=customer

repair-accounts
Repairs global accounts for the connected panels. Make sure that the 'admin'
application is configured as privileged to manage SSO. For that you should see and
modify if needed the SSO configuration file: '/etc/sso/sso_config.ini'.
Example: sso --command=repair-accounts

repair-all (alias: attach-all)
Repairs all aspects of integration between the connected panels and
Customer & Business Manager. This command can be used with option --idp-url.
If you will skip this option then the SSO service will be repaired with the
default URL to SSO server: https://vcloud.domain.net:8443.
Example 1: sso --command=repair-all
Example 2: sso --command=repair-all --idp-url=https://vcloud.domain.net:8443

reissue-sp-certs
Reissue certificates for 'admin' and 'client' applications. Make sure that the 'admin'
application is configured as privileged to manage SSO. For that you should see and
modify if needed the SSO configuration file: '/etc/sso/sso_config.ini'.
Example: sso --command=reissue-sp-certs

info
Displays information about the connected panel properties. If you do not
provide --prop-name, all properties are displayed. Otherwise, only a specific
property is displayed.
Example: sso --command=info --app-type=customer

--idp-url <string> URL to SSO server, for example, https://vcloud.domain.net:8443. Required with commands: attach | attach-all. Optional with command: repair-all.
--app-type <string> Application type: admin | customer (Customer & Business Manager Administrator's or Customer's panel).
--prop-name <string> Property to display: connected | enabled | api_url | relay_url | sp_id.
--force Run attach | detach | enable | disable commands regardless the status of connection with SSO.
--dont-repair-accounts Don't try to repair accounts. Optional for command: repair-all.
--help Display this help message.

[ FAILED ]

The command 'integration:install' completed with this error: "Failed to run command '/usr/local/psa/bin/sw-engine-pleskrun /usr/share/plesk-billing/sso.php --command='attach-all' --idp-url='https://vcloud.domain.net:8443'' Exit code: 254".
Failed to run command '/usr/local/psa/bin/sw-engine-pleskrun /usr/share/plesk-billing/sso.php --command='attach-all' --idp-url='https://vcloud.domain.net:8443'' Exit code: 254
Output:
Repair CBM and Plesk Panel connections with SSO:

Try to detach the 'customer' application from SSO.......[ OK ]
Try to detach the 'admin' application from SSO..........[ OK ]
Try to clear the SSO database...........................[ OK ]
Try to attach the 'admin' application to SSO............The '/usr/share/plesk-billing/sso.php' utility was failed with the unknown message: <message><br />
<b>Warning</b>: fopen(/var/log/sso/sso.log) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/usr/local/sso/lib/Log.php</b> on line <b>24</b><br />
FATAL ERROR: Can not open log file '/var/log/sso/sso.log' (CWD is /usr/local/sso)
(HTTP code: 200)</message>. All details of the problem has been stored into the '/usr/share/plesk-billing/sso.crash.log' file.

Usage: /usr/share/plesk-billing/sso.php [ options ]
--command <string> attach | attach-all | detach | enable | disable | repair-accounts | repair-all | reissue-sp-certs | info.

attach
Connects the Administrator's or Customer's panel to the SSO service. The
panel type is defined by the required option --app-type. To connect both panels,
run the operation twice with different --app-type options. This command also
requires option --idp-url.
Example: sso --command=attach --app-type=customer --idp-url=https://vcloud.domain.net:8443

detach
Disconnects the Administrator's or Customer's panel from the SSO service.
The panel type is defined by the required option --app-type. To disconnect both
panels, provide two --app-type options.
Example: sso --command=detach --app-type=customer

enable
Turns on the SSO service for the connected panel. Initially, the service
is turned off. The panel type is defined by the required option --app-type.
Example: sso --command=enable --app-type=customer

disable
Turns off the SSO service for the connected panel. The panel type is
defined by the required option --app-type.
Example: sso --command=disable --app-type=customer

repair-accounts
Repairs global accounts for the connected panels. Make sure that the 'admin'
application is configured as privileged to manage SSO. For that you should see and
modify if needed the SSO configuration file: '/etc/sso/sso_config.ini'.
Example: sso --command=repair-accounts

repair-all (alias: attach-all)
Repairs all aspects of integration between the connected panels and
Customer & Business Manager. This command can be used with option --idp-url.
If you will skip this option then the SSO service will be repaired with the
default URL to SSO server: https://vcloud.domain.net:8443.
Example 1: sso --command=repair-all
Example 2: sso --command=repair-all --idp-url=https://vcloud.domain.net:8443

reissue-sp-certs
Reissue certificates for 'admin' and 'client' applications. Make sure that the 'admin'
application is configured as privileged to manage SSO. For that you should see and
modify if needed the SSO configuration file: '/etc/sso/sso_config.ini'.
Example: sso --command=reissue-sp-certs

info
Displays information about the connected panel properties. If you do not
provide --prop-name, all properties are displayed. Otherwise, only a specific
property is displayed.
Example: sso --command=info --app-type=customer

--idp-url <string> URL to SSO server, for example, https://vcloud.domain.net:8443. Required with commands: attach | attach-all. Optional with command: repair-all.
--app-type <string> Application type: admin | customer (Customer & Business Manager Administrator's or Customer's panel).
--prop-name <string> Property to display: connected | enabled | api_url | relay_url | sp_id.
--force Run attach | detach | enable | disable commands regardless the status of connection with SSO.
--dont-repair-accounts Don't try to repair accounts. Optional for command: repair-all.
--help Display this help message.


Output of this command you can see in the '/var/lib/plesk-billing/tmp/integration[2011-07-31 22:39:25].log' file.
 
Here's the sso.crash.log

cat /usr/share/plesk-billing/sso.crash.log
--- GENERAL ----------------------------

Description: '<br />
<b>Warning</b>: fopen(/var/log/sso/sso.log) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/usr/local/sso/lib/Log.php</b> on line <b>24</b><br />
FATAL ERROR: Can not open log file '/var/log/sso/sso.log' (CWD is /usr/local/sso)
(HTTP code: 200)' at /opt/plesk-billing/lib/lib-tk/include/sso/SSORegister.php:62
Created: 2011-07-31 22:45:33
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[root@vcloud plesk-billing]#
 
Please check you permissions on /var/log/sso/sso.log. It should be like -rw-r--r-- 1 sso sw-cp-server
 
Back
Top