The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Phpmyadmin Access Denied

Discussion in 'Database Discussions' started by q8hma, Feb 6, 2016.

  1. q8hma

    q8hma Registered

    Joined:
    Jan 14, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bayan, Kuwait
    cPanel Access Level:
    Root Administrator
    Hello

    I have problem when i open phpmyadmin from cpanel i got
    HTML:
    Access Denied
    
    Unable to establish a PHP session.
    
    If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings.
    cpaneld/11.52.2.4 Server at 

    I've checked:

    session.save_path (yes the correct one)
    tmp (yes the correct one)
    tmp user home (yes the correct one)

    It affects all accounts on the server. I've changed account passwords. Nothing.

    Any ideas?

    and i try to
    update phpmyadmin --force (try it not work)
    Upgrade cpanel but not work stop on 86%
     
    #1 q8hma, Feb 6, 2016
    Last edited by a moderator: Feb 6, 2016
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    335
    Likes Received:
    25
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. q8hma

    q8hma Registered

    Joined:
    Jan 14, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bayan, Kuwait
    cPanel Access Level:
    Root Administrator
    Hello thnx for ur reply but still not work with me

    i change both tmp file on home/user and the main one
    now i try and when i click on phpmyadmin on cpanel it loop refresh and not go to "/3rdparty/phpMyAdmin/index.php"
    but when i add it to url it show same msg in post

    thnx
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on this? Does the "/scripts/upcp --force" command complete successfully?

    Thank you.
     
  5. support_host

    support_host Registered

    Joined:
    Feb 12, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Check the permission and ownership of tmp folder in the location /home/user , where ‘user’ is the cpanel username.

    >>root@server [/home/user]# ls -la | grep tmp
    drwx—— 8 root root 4096 Jun 1 2012 tmp/
    >> The permission of tmp folder should be 755.
    >>root@server [/home/user]# chmod 755 tmp
    >>The ownership of tmp folder should be username.
    root@server [/home/user]# chown user. tmp

    This should fix the issue for you.

    In case, if you won’t find directory named tmp in the location /home/user , make a directory tmp as
    below:
    root@server [/home/user]# mkdir tmp
    root@server [/home/user]# chmod 755 tmp
    root@server [/home/user]# chown user. tmp

    Also
    Check to verify the account is

    >> not at it’s disk space limit :)

    - Removed -
     
    #5 support_host, Feb 12, 2016
    Last edited by a moderator: Feb 12, 2016
Loading...

Share This Page