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

https://127.0.0.1:8443/relay

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Rentabilizar, Dec 18, 2011.

  1. Rentabilizar

    Rentabilizar Guest

    0
     
    Hi,

    When i change the hostname in the plesk web interface 10.4.4 Ubuntu i'm not able to login anymore because when i load the web page with the correct hostname or hosted domain it forwards auto to https://127.0.0.1:8443/relay and it gives page error witch is normal since 127.0.0.1 is localhost. How can fix it at last to run the pannel again?

    Thanks in advance for your help.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  3. Rentabilizar

    Rentabilizar Guest

    0
     
    Fixed

    Hi,

    Thanks a lot for your reply, it wasn't a port problem but only that 2 commands fixed the issue:

    # /usr/local/psa/bin/sso -s -server https://<your-domain-name>:8443 -url https://<your-domain-name>:8443
    # /usr/local/psa/bin/sso -e

    Regards and thanks again.
     
  4. Rentabilizar

    Rentabilizar Guest

    0
     
    Also restart apache after that commands. ;)
     
  5. MohamedS

    MohamedS Guest

    0
     
    I have the same problems but I use that panel under windows server 2008 please any one try to help me?
     
  6. rohankleem

    rohankleem New Pleskian

    22
    57%
    Joined:
    Apr 28, 2008
    Messages:
    21
    Likes Received:
    0
    I am also using windows 2008, could you please supply the code to run from command prompt to fix it? Note that this happened after trying to fix another problem (relaying between several host names) here http://kb.parallels.com/en/9296)
     
    Last edited: Apr 11, 2012
  7. rohankleem

    rohankleem New Pleskian

    22
    57%
    Joined:
    Apr 28, 2008
    Messages:
    21
    Likes Received:
    0
    I now cannot log in to plesk because it redirects to https://127.0.0.1:8443/relay which goes straight to an error page.

    I used the supplied codes to fix relaying between host names (http://kb.parallels.com/en/9296) but now things are even worse. Using Windows 2008.

    I can access the panel by logging into the server and starting the panel from there luckily, but when logging out from there, the final screen url is: https://localhost:8443//ds5720.hostname.net.au:8443/sso/api.php?api=/signout which produces an error.

    I have tried to rename the hostname to almost every possibility I can think of, using the same method provided at http://kb.parallels.com/en/9296, to no effect. In addition, the Command Prompt response after running the script is that it is "trying to reissue sp certificate" in it's last step. It fails and reattempts 3 times (see attached).

    So now I am left with a plesk control panel that none of my clients can enter, and which I have to access by logging in remotely to my server. Externally it just hits, https://127.0.0.1:8443/relay.

    Originally, the problem was that each time I (or anyone) logged in to Plesk after updating to 10.4.4, my plesk admin pan url https://elure.co:8443/ had to then also redirect/relay to another hostname (http://ds5720.hostname.net.au:8443) requiring an additional set of SSL warnings about the non certified url before the panel could be accessed.

    Also, when trying to access billing from control panel while logged into the server, I can't reach that either because it redirects to https://https//elure.co:8443/relay
     

    Attached Files:

    Last edited: Apr 11, 2012
  8. EugeneL

    EugeneL Regular Pleskian

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

    Plase try the following:
    cmd> "%plesk_dir%\admin\bin\billing-integration.exe" --command=repair-all --hostname=elure.co

    If you have only one Plesk then additionally execute the following command if the first completed successfully:
    cmd> "%plesk_dir%\admin\bin\billing-integration.exe"--command=switch-sso-mode --sso-mode=single-panel
     
  9. rohankleem

    rohankleem New Pleskian

    22
    57%
    Joined:
    Apr 28, 2008
    Messages:
    21
    Likes Received:
    0
    Thanks, Eugene,

    I executed the first part of your solution in command prompt. It has made an impact, however, when I visit https://elure.co, it redirects to the attached screenshot, and when I try to login I receive the message in the attached screenshot.

    My login has been unsuccessful.

    Also, I am not sure whether to execute part two of your solution. What do you mean by if I only have one Plesk? Do you mean if I also have billing installed? My Plesk product does seem to be setup with the billing and customer extensions. When I login to Plesk of late, it has been relaying between different URLs, and the billing used a different hostname URL.

    I haven't yet executed the second part of your solution, and will need to wait for further advice before doing this.

    Please note that this login response error also happens when I remote login to the server and try to run Plesk locally from there (see attached). So actually I cannot login to Plesk at all currently.
     

    Attached Files:

    Last edited: Apr 12, 2012
  10. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    What was the output of "%plesk_dir%\admin\bin\billing-integration.exe" --command=repair-all --hostname=elure.co ?
    When I try to open direct CBM login screen (https://elure.co:8443/plesk-billing-admin/) it redirects me to some completely incorrect URL - probably there is some misconfiguration in config files appeared after you attempted to replace old hostname with new one, need to check /opt/plesk-billing/lib/lib-billing/include/config/config.php

    If it's possible, could you please give me credentials to your server, I'll take a look - send them via private message.
     
  11. rohankleem

    rohankleem New Pleskian

    22
    57%
    Joined:
    Apr 28, 2008
    Messages:
    21
    Likes Received:
    0
    Hi Eugene, I have passed my details to you. I don't have the exact response of the command unfortunately. I vaguely remember 4 lines of info each with [ok] after them, followed by some summary info.
     
  12. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    I looked on your server and found the reason - in %plesk_dir%\billing\lib\lib-billing\include\config\config.php there were incorrect values for parameters $CONF["standardURL"] and $CONF["secureURL"], protocol "http" or "https" was specified there.
    I fixed these parameters according to examples and executed
    cmd> "%plesk_dir%\admin\bin\billing-integration.exe" --command=repair-all --hostname=elure.co

    Output was:
    Repair integration with local panel:
    Try to repair integration...............................[ OK ]

    Repair SSO connections (may take a few minutes, please wait...):
    Repair SSL settings in IIS for SSO server:

    Try to re-install CA certificate........................[ OK ]
    Try to configure SSL settings in IIS....................[ OK ]
    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............[ OK ]
    Try to attach the 'customer' application to SSO.........[ OK ]
    Try to enable the 'admin' application to use SSO........[ OK ]
    Try to enable the 'customer' application to use SSO.....[ OK ]

    Repair administrative accounts:

    FIRSTNAME R***n K***m (ID: 1)...........................[ OK ]
    OrderForm User (ID: 2)..................................[ OK ]
    API User (ID: 3)........................................[ OK ]
    Cron User (ID: 4).......................................[ OK ]

    Repair customers accounts:

    No customers found.

    Repair resellers accounts:

    No resellers found.

    The command 'sso:repair-all' completed.

    Synchronize local panel:
    Try to synchronize local panel..........................[ OK ]

    The command 'integration:repair-all' completed.


    After that I checked CBM configuration and found that you have only one Plesk Panel attached to CBM - so I switched SSO into simplified mode with command:
    cmd> "%plesk_dir%\admin\bin\billing-integration.exe" --command=switch-sso-mode --sso-mode=single-panel
    This will help to solve the issues related to hostname changed until you have all coponents (Plesk, SSO, CBM) installed on one server.

    When you consider adding one more Panel, check that hostnames on your main server and server with new Panel are configured properly, that DNS zones are configured, that both servers see each other and switch SSO back into full-featured mode with command
    cmd> "%plesk_dir%\admin\bin\billing-integration.exe" --command=switch-sso-mode --sso-mode=multiple-panels.
     
    Last edited: Apr 12, 2012
  13. rohankleem

    rohankleem New Pleskian

    22
    57%
    Joined:
    Apr 28, 2008
    Messages:
    21
    Likes Received:
    0
    Plesk Changing Password Problems

    Hi, I need assistance with issues that may be caused as a result of the problem here (I have posted above).

    Some time after the above solution, I tried to reset the password to my administrator Plesk panel (from a to b). The response message was that the change was successful. But after logging into the Panel the next time with the new password (b), I was told that the password to the CP was incorrect. I then tried the old password (a), and I was able to login with that.

    Since then I haven't updated the password, largely because I was concerned about discrepancies that were happening with the control panel, so I continued to login with password (a).

    I just tried to change the admin password in the control panel, using (a) for the "Old Password", but the control panel message is that the "old password" is incorrect. See image.

    My belief is that when I originally made the change and received the success message, it was changed somewhere but not for the record that the admin login page uses. My belief is also that the password changing page wants me to use password (b) as the "old password" - and that in fact the password was changed in some record.

    The result is that I can't update my password, and I need to do it relatively urgently.
     

    Attached Files:

  14. EugeneL

    EugeneL Regular Pleskian

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

    I'll explain:
    Your Plesk server is attached to CBM and Single Sign-On service. This means that you have Plesk local password (stored in Plsk database) and CBM/SSO global password (stored in CBM). Since SSO is responsible for authentication, global password is always used. Plesk local password can be used in API calls but not to log in.

    This means that:
    1. If you want to change the password you use to log in to Panel - change it in CBM. CBM will sync the database with SSO.
    2. If you want to change the password used for Plesk API - change it in Plesk. But then go to CBM, open All Settings > Hosin Panels > your panel and update password there - CBM should be able to connect to Plesk via API.
     
  15. rohankleem

    rohankleem New Pleskian

    22
    57%
    Joined:
    Apr 28, 2008
    Messages:
    21
    Likes Received:
    0
    Hi Eugene, after trying to finally do this I get (when going into the Business Operations)
    The following error occurred in panel 'Local Parallels Plesk Panel server (https://mydomain.com)': Wrong panel administrator's credentials were provided. Correct the credentials on the panel settings page.

    I can't change the password there either.
    ---
    Since that' I've gone back and done testing, and I've now been able to update the login to NORMAL plesk interface - the one I originally couldn't do. Updating the Business area doesn't work (see error in paragraph above). [sigh]
     
    Last edited: Feb 4, 2013
Loading...