Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED phpMyAdmin redirect loop

Discussion in 'Database Discussion' started by [email protected], May 17, 2019.

Tags:
  1. asdcxz@1239

    [email protected] Member

    Joined:
    Aug 6, 2018
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hi,

    i am facing this issue after update to marinadb could any one help me get out of this, below is the error log

    [2019-05-17 17:37:27 +0200] warn [cpanel] Encountered error in Cgi::phpmyadminlink: Cgi::phpmyadminlink failed: (XID g5bwgu) Failed to setup the temp session user at bin/admin/Cpanel/session_call.pl line 113.
    at /usr/local/cpanel/Cpanel/EventHandler.pm line 112.
    Cpanel::EventHandler::post_event(1, "post", "Cgi", "phpmyadminlink", ARRAY(0x301f820), ARRAY(0x3010380)) called at cpanel.pl line 1440
    cpanel::cpanel::__ANON__(Cpanel::Exception=HASH(0x30649c8)) called at cpanel.pl line 1889
    cpanel::cpanel::_api1("Cgi", "cgi", "phpmyadminlink()", "phpmyadminlink", ARRAY(0x301f820), "safe_html_encode") called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 93
    eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 93
    Cpanel::Template::Plugin::Api1::_api1_exec(0, "Cgi", "phpmyadminlink", ARRAY(0x301f820)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 47
    Cpanel::Template::Plugin::Api1::_captured_api1_exec("Cgi", "phpmyadminlink", ARRAY(0x301f820)) called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/sql/PhpMyAdmin.html.tt line 1
    eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/sql/PhpMyAdmin.html.tt line 1
    eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/sql/PhpMyAdmin.html.tt line 1
    Template::Provider::__ANON__(Template::Context=HASH(0x3003370)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 162
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 160
    Template::Document::process(Template::Document=HASH(0x30201f0), Template::Context=HASH(0x3003370)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x3003370), Template::Document=HASH(0x30201f0)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x2ff3d20), "/usr/local/cpanel/base/frontend/paper_lantern/sql/PhpMyAdmin."..., HASH(0x2ff3510)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64
    Template::process(Template=HASH(0x2ff39a8), "/usr/local/cpanel/base/frontend/paper_lantern/sql/PhpMyAdmin."..., HASH(0x2ff3510), SCALAR(0x1408d40)) called at /usr/local/cpanel/Cpanel/Template.pm line 477
    Cpanel::Template::process_template("cpanel", HASH(0x2ff3510), HASH(0x1434ab0)) called at cpanel.pl line 1058
    cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/sql/PhpMyAdmin."..., 1) called at cpanel.pl line 4409
    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 878
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/sql/PhpMyAdmin.html.tt") called at cpanel.pl line 321
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    This has been happening when updating to MariaDB and mysql_upgrade isn't run. Can you run it as follows and let me know if the issue persists?

    Code:
    mysql_upgrade 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. asdcxz@1239

    [email protected] Member

    Joined:
    Aug 6, 2018
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Issue solved with this upgrade thank you
     
    cPanelLauren likes this.
  4. s0c25

    s0c25 Registered

    Joined:
    Oct 9, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Venezuela
    cPanel Access Level:
    Root Administrator
    Hello, mysql_upgrader
    it does not solve the problem, it indicates the following error

    mysqlcheck: Got error: 1102: Incorrect database name '#mysql50#.cpanel' when selecting the database
    FATAL ERROR: Upgrade failed
     
  5. nixuser

    nixuser Well-Known Member

    Joined:
    May 30, 2014
    Messages:
    132
    Likes Received:
    28
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is there a .cpanel folder in /var/lib/mysql? If yes, move it to another folder and run command again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice