Too Many Redirects

Created:

2016-11-16 12:42:09 UTC

Modified:

2017-04-24 11:24:05 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Too Many Redirects

Applicable to:

  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux

Symptoms

  • Log in to Plesk under non-admin account is impossible for domain domain.tld. Unable to log in to domain control panel, Plesk redirects in looping.
    This Webpage has a Redirect Loop

Cause

  • The subscription is temporarily suspended until the backup or restore process is complete.
  • Database inconsistency

Resolution

  • If this subscription is under maintenance (i.e. backup/restore procedure) then wait until procedure is completed.

  • It it is not under maintenance perform the following:

  • Check sys_users' id of the name you are trying to log in with.

        mysql> select * from sys_users where login="%username%"\\G;

    *************************** 1. row ***************************
    id: 10
    serviceNodeId: 1
    login: %username%
    account_id: 5596
    home: C:/Inetpub/vhosts/domain.tld
    shell:
    quota: 0
    1 row in set (0.00 sec)
  • Check the status of the domains this user belongs to.

        mysql> select id,name,cl_id,vendor_id,webspace_id,parentDomainId, status from domains where id in (select dom_id from hosting where sys_user_id=10) and status!=0;

    +------+-------------------+-------+-----------+-------------+----------------+--------+
    | id | name | cl_id | vendor_id | webspace_id | parentDomainId | status |
    +------+-------------------+-------+-----------+-------------+----------------+--------+
    | 6890 | domain.tld | 970 | 1 | 3272 | 0 | 4 |
    +------+-------------------+-------+-----------+-------------+----------------+--------+
    1 row in set (0.23 sec)
  • Change the status of the domains to zero (enabled) to resolve the issue:

        mysql> update domains set status=0 where id in (select dom_id from hosting where sys_user_id=10);

NOTE: Domains can have only the following statuses:

> 0 -- enabled
> 1 -- none
> 2 -- parent object has been suspended
> 8 -- none
> 16 -- suspended by admin
> 32 -- suspended by reseller-owner
> 64 -- suspended by client-owner
> 128 -- none
> 256 -- expired
Have more questions? Submit a request
Please sign in to leave a comment.