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!

phpMyAdmin - Error for some user

Discussion in 'Database Discussion' started by morteza3245, Feb 19, 2017.

Tags:
  1. morteza3245

    morteza3245 Well-Known Member

    Joined:
    Sep 16, 2013
    Messages:
    136
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello
    for few users when i open phpmyadmin show below error, but for lot of users is fine:

    Code:
    phpMyAdmin - Error
    
    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
    screenshot: - Removed -
    Disk Space Usage for user: 148.54 MB / 200 MB
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 morteza3245, Feb 19, 2017
    Last edited by a moderator: Feb 19, 2017
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Can you check the log file: /usr/local/cpanel/logs/error_log

    Does it contain any additional info?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. morteza3245

    morteza3245 Well-Known Member

    Joined:
    Sep 16, 2013
    Messages:
    136
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    there is lot of logs
    what kind of logs should see?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    I would tail it, and then reproduce the issue.. so do:

    Code:
    # tail -f /usr/local/cpanel/logs/error_log
    hit enter a few times to seperate old logging, then log into phpmyadmin to reproduce the error and paste anything new that displays in ssh
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. morteza3245

    morteza3245 Well-Known Member

    Joined:
    Sep 16, 2013
    Messages:
    136
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    this is error log:

    Code:
    root@host [~]# tail -f /usr/local/cpanel/logs/error_log
            eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 92
            Try::Tiny::try(CODE(0x73b4ca8), Try::Tiny::Catch=REF(0x72102c0)) called at /usr/local/cpanel/Cpanel/Pkgacct.pm line 149
            Cpanel::Pkgacct::perform_component(Cpanel::Pkgacct=HASH(0x428d0c8), "Mysql") called at bin/pkgacct.pl line 984
            Script::Pkgacct::script("Script::Pkgacct", "moviedl", "/backup/cpbackup/daily", "backup") called at bin/pkgacct.pl line 134
            Script::Pkgacct::__ANON__() called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 101
            eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 92
            Try::Tiny::try(CODE(0x3c6f0d8), Try::Tiny::Catch=REF(0x1a52450)) called at bin/pkgacct.pl line 144
    [2017-02-20 07:59:34 +0430] info [cpbackup] Backup::Success Notification => report@ssssss.com***** via EMAIL [eventimportance => Low (3)]
    Building global cache for cpanel...Done
    [2017-02-20 12:15:12 +0430] info [autorepair] Successfully verified signature for cpanel (key types: release).
    [2017-02-20 14:36:35 +0430] info [xml-api] Loading default httpupdate source
    [2017-02-20 14:36:35 +0430] info [xml-api] Syncing version information from httpupdate.cpanel.net/cpanelsync/TIERS.json
    [2017-02-20 14:36:35 +0430] info [xml-api] Syncing version information from httpupdate.cpanel.net/cpanelsync/TIERS.json
    [2017-02-20 14:36:43 +0430] info [xml-api] Successfully verified signature for cpanel (key types: release).
    [2017-02-20 14:36:44 +0430] info [xml-api] Successfully verified signature for cpanel (key types: release).
    [2017-02-20 14:36:44 +0430] info [xml-api] Using new TIERS.json version file
    ^C
    root@host [~]# tail -f /usr/local/cpanel/logs/error_log
            Try::Tiny::try(CODE(0x3c6f0d8), Try::Tiny::Catch=REF(0x1a52450)) called at bin/pkgacct.pl line 144
    [2017-02-20 07:59:34 +0430] info [cpbackup] Backup::Success Notification => report@ssssss.com***** via EMAIL [eventimportance => Low (3)]
    Building global cache for cpanel...Done
    [2017-02-20 12:15:12 +0430] info [autorepair] Successfully verified signature for cpanel (key types: release).
    [2017-02-20 14:36:35 +0430] info [xml-api] Loading default httpupdate source
    [2017-02-20 14:36:35 +0430] info [xml-api] Syncing version information from httpupdate.cpanel.net/cpanelsync/TIERS.json
    [2017-02-20 14:36:35 +0430] info [xml-api] Syncing version information from httpupdate.cpanel.net/cpanelsync/TIERS.json
    [2017-02-20 14:36:43 +0430] info [xml-api] Successfully verified signature for cpanel (key types: release).
    [2017-02-20 14:36:44 +0430] info [xml-api] Successfully verified signature for cpanel (key types: release).
    [2017-02-20 14:36:44 +0430] info [xml-api] Using new TIERS.json version file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. sktest123

    sktest123 Well-Known Member

    Joined:
    Jan 31, 2017
    Messages:
    96
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    kochin
    cPanel Access Level:
    Root Administrator
  7. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    He states that its only affecting some users so that thread will more than likely be of no help.

    However... It looks like phpmyadmin does use /home/user/tmp to sore the session so instead of checking the server root /tmp location, I would check the user accounts home directory.

    It doesn't require special permissions, just 755 but make sure it actually exists and the ownership is proper.

    Code:
    # mkdir -p /home/user/tmp
    # chown user: /home/user/tmp
    Make sure to replace user with the cpanel username, then try and access phpmyadmin again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the output from /usr/local/cpanel/logs/error_log relates to the backup process. Could you use a command such as "tail -f /usr/local/cpanel/logs/error_log", but only post the output that appears while attempting to access phpMyAdmin?

    Thank you.
     
    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