Results 1 to 12 of 12

Thread: PHPMyAdmin

  1. #1
    Join Date
    May 2009
    Posts
    164

    PHPMyAdmin

    Okay so I just did a nice and clean install of my VPS, i get this error when going to PHPMyAdmin

    HTML Code:
    Warning: session_write_close() [function.session-write-close]: open(/var/cpanel/userhomes/cpanelphpmyadmin/sessions/sess_009d89afed322c86672f7927e8d48506c2ecdd9e, O_RDWR) failed: No such file or directory (2) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    
    Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/cpanel/userhomes/cpanelphpmyadmin/sessions) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php:42) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 99

  2. #2
    Join Date
    May 2009
    Location
    On a Speck!!!!!
    Posts
    216
    Did you try and restart mysql, that usually works.

    If it doesn't work follow the steps given below.

    1)Cannot start session

    Edit the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini and change

    session.save_handler = sqlite
    session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb

    To

    session.save_handler = files
    session.save_path = /tmp

    2) Function.session-write-close error

    1st check whether /tmp or /var/tmp is full or not? if so clear it.

    2nd gave the permission chmod 777 /tmp

    3rd remove the session file(s) from /tmp

    rm -rf sess_*

    Now restart cpanel

    /etc/init.d/cpanel restart

    This will fix the issue.

    Tom.

  3. #3
    Join Date
    May 2009
    Posts
    164
    Quote Originally Posted by Thomas Manning View Post
    Did you try and restart mysql, that usually works.

    If it doesn't work follow the steps given below.

    1)Cannot start session

    Edit the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini and change

    session.save_handler = sqlite
    session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb

    To

    session.save_handler = files
    session.save_path = /tmp

    2) Function.session-write-close error

    1st check whether /tmp or /var/tmp is full or not? if so clear it.

    2nd gave the permission chmod 777 /tmp

    3rd remove the session file(s) from /tmp

    rm -rf sess_*

    Now restart cpanel

    /etc/init.d/cpanel restart

    This will fix the issue.

    Tom.
    What do you man by full, why do What session files, and what does rm -rf sess_* do?

  4. #4
    Join Date
    May 2009
    Location
    On a Speck!!!!!
    Posts
    216
    Hello,

    /tmp and /var/tmp are mostly used to hold temporary files whenever any program executes. When these directory size is occupied completely other programs cannot write temporary files into them. So you will have to delete the contents in them including all the temporary secession files.

    Tom.

  5. #5
    Join Date
    May 2009
    Posts
    164
    Quote Originally Posted by Thomas Manning View Post
    Hello,

    /tmp and /var/tmp are mostly used to hold temporary files whenever any program executes. When these directory size is occupied completely other programs cannot write temporary files into them. So you will have to delete the contents in them including all the temporary secession files.

    Tom.
    All i see is a couple folders, what session files, and what does that command do?

  6. #6
    Join Date
    May 2009
    Location
    On a Speck!!!!!
    Posts
    216
    Can you give me a snapshot result of the following commands.

    ls -l /tmp

    ls -l /var/tmp

  7. #7
    Join Date
    May 2009
    Posts
    164
    Quote Originally Posted by Thomas Manning View Post
    Can you give me a snapshot result of the following commands.

    ls -l /tmp

    ls -l /var/tmp
    Yes, if you tell me what the frist command does, and what these do.

  8. #8
    Join Date
    May 2009
    Location
    On a Speck!!!!!
    Posts
    216
    Hello,

    Can you let me know which command you are referring to ?

    Tom.

  9. #9
    Join Date
    May 2009
    Posts
    164
    Quote Originally Posted by Thomas Manning View Post
    Hello,

    Can you let me know which command you are referring to ?

    Tom.
    It's alright, I fixed my problem, all I had to do was edit my php.ini

  10. #10
    Join Date
    May 2009
    Location
    On a Speck!!!!!
    Posts
    216
    Hello,

    Nice to hear that.

    Tom.

  11. #11
    Join Date
    Jan 2008
    Location
    Montreal, Canada
    Posts
    133
    Hello archey,

    It would be nice if next time you open a new topic to start it by a simple "Hello or Hi" and finish it with a "Thank you". Same thing in your replys...

    People are not going to help you if you are not polite.

    Just my two cents...
    Last edited by lifespeakers; 08-30-2009 at 02:01 AM.

  12. #12
    Join Date
    May 2009
    Posts
    164
    Quote Originally Posted by Saber S View Post
    Hello archey,

    It would be nice if next time you open a new topic to start it by a simple "Hello or Hi" and finish it with a "Thank you". Same thing in your replys...

    People are not going to help you if you are not polite.

    Just my two cents...

    Okay, so someone is being a troll, but I'd just like to say, I was being polite, was I swearing or beaing rude? no.

    Thanks.

Similar Threads

  1. phpMyAdmin Help!
    By Asus in forum Programming Discussion
    Replies: 4
    Last Post: 05-25-2005, 07:59 AM
  2. Cannot Log out of phpMyAdmin 2.3.2
    By HD-Sam in forum Hosting Security and Technology
    Replies: 2
    Last Post: 05-11-2003, 10:57 PM
  3. phpmyadmin help
    By banihani in forum Programming Discussion
    Replies: 8
    Last Post: 10-08-2002, 08:45 AM
  4. phpmyadmin
    By DigiCrime in forum Programming Discussion
    Replies: 2
    Last Post: 08-30-2002, 10:13 PM
  5. phpmyadmin
    By x222943 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 08-30-2002, 12:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •