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, permissions?

Discussion in 'Database Discussions' started by ServerNet, May 30, 2006.

  1. ServerNet

    ServerNet Member

    Joined:
    Aug 19, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi, whenever we try to access phpmyadmin we get the following error:
    PHP:
    Warningsession_write_close(): open(/tmp/sess_aee1f9f387d23c667b7f3d88e82fccd8O_RDWRfailedPermission denied (13in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 44

    Warning
    session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmpin /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 44

    Warning
    Cannot modify header information headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php:44in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 105
    Any suggestions?
    We've just had alot of trouble with out mysql server, we had to delete mysqld and the user and reinstall it all!

    Best regards!
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    phpmyadmin is giving you permission errors when it tries to access session data stored in /tmp.

    Check the permissions and ownership on /tmp.
     
  3. ServerNet

    ServerNet Member

    Joined:
    Aug 19, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Owner: root/root
    Permissions: 1777
     
  4. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    I ran into a similar issue the other day. delete all the sess* files in /tmp and retry phpmyadmin
     
  5. ServerNet

    ServerNet Member

    Joined:
    Aug 19, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Thank you Dave, your a lifesaver! Any idea what could have caused that? First time on my 4 years with Cpanel this happends
     
  6. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    something updated or changed to cause a mismatch in the uid/gid between the sess file and the php files in phpmyadmin

    never tried to track it down
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've seen that happen if you switch between phpsuexec.
     
  8. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    Come to think of it, I had the problem right after a recompile of apache
     
Loading...

Share This Page