Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

  • Article for your preferred language does not exist. Below is international version of the article.

[How to] Logout URL in Parallels Plesk Billing does not match new hostname

Article ID: 6030 
Last Review: Mar,20 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Plesk 9.x for Linux/Unix

Symptoms

Parallels Plesk Panel and SSO server are running on the same server and integrated. That means Parallels Plesk Panel is registered in SSO server and SSO mode is enabled.

I changed server hostname and registered Parallels Plesk Panel in SSO server anew with utility $PRODUCT_ROOT_D/bin/sso:

~# /usr/local/psa/bin/sso -s -server https://<new hostname>:11443 -url https://<new hostname>:11444
SUCCESS: SSO preferences are successfully updated
~#

Now Parallels Plesk Panel is available at https://<new hostname>:8443 and new hostname is shown in Plesk configuration:

~# hostname
<new hostname>
~# $PRODUCT_ROOT_D/bin/sso -g
SSO on
sso server url: https://<new hostname>:11443
sso relay url: https://<new hostname>:11444
~#

However when I click "Log out" button in Parallels Plesk Panel old hostname is shown in URL: https://<old hostname>:8443/sso/signout.

How do I change Logout-url?

Resolution

SSO logout-url is stored in database of SSO server /var/lib/sso/sso.db. It is configured during registration of Parallels Plesk Panel in SSO server to match Plesk full hostname. Plesk full hostname is stored in table misc of Plesk database.

It may be viewed and configured through Parallels Plesk Panel interface and in Plesk database directly.

In Parallels Plesk Panel GUI {Settings -> Server Settings -> Full hostname}. Use the following command to check the parameter in Plesk database:

~# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select * from misc where param='FullHostName'"
+--------------+----------------+
| param        | val            |
+--------------+--------------- +
| FullHostName | <old hostname> |
+--------------+----------------+
~#

To reconfigure SSO logout-url you should change Plesk full hostname and re-register Parallels Plesk Panel in SSO server anew.
You may check Plesk full hostname via Parallels Plesk Panel interface {Settings -> Server Settings -> Full hostname} or with utility  /usr/local/psa/bin/server_pref:

~# /usr/local/psa/bin/server_pref --update -hostname <new hostname>
SUCCESS: Server preferences are successfully updated
~#

And re-register Parallels Plesk Panel on SSO server:

~# $PRODUCT_ROOT_D/bin/sso -s -server https://<new hostname>:11443 -url https://<new hostname>:11444
SUCCESS: SSO preferences are successfully updated
~#

After new registration of Parallels Plesk Panel in SSO server you should restore all connections of global and local accounts anew.
You may do that through Parallels Plesk Panel: {System -> Global Account -> Disconnect from Global Account} and {System -> Global Account -> Connect To Global Account}.

Additional information

Run utility /usr/local/psa/bin/sso with "--help" to get list of all available options.

~# /usr/local/psa/bin/sso --help

Usage: sso command [options]

    Available commands:
    --enable or -e                     Enable SSO mode
    --disable or -d                    Disable SSO mode
    --set-prefs or -s                  Set SSO preferences
    --get-prefs or -g                  Get SSO preferences
    --set-branded-idp                  Set branded IdP URL or table of
                                       domains with IdP URls associated for
                                       all domains
                                       if http-request-domain is not
                                       specified
    --get-branded-idp                  Get branded IdP URL for specified
                                       domain, or table of domains with IdP
                                       URls associated for all domains
                                       if http-request-domain is not
                                       specified
    --del-branded-idp                  Romove all Branded IdP URLs (reset to
                                       default) or delete specified IdP URL
                                       only or delete
                                       specified IdP URL associated with
                                       specified domain
    --help or -h                       Displays this help page

    Available options:
    -server      <SSO Server URL>      Set SSO Server URL
    -url               <IdP URL>       Set IdP URL
    -domain   <HTTP Request Domain>    Set HTTP Request Domain

Version: 9.0.1_build90090127.18 os_CentOS 5

~#



Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products