Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    944
    cPanel/Enkompass Access Level

    Root Administrator

    Default please help, phpMyAdmin doesn't start - gives a session error

    Hi all

    This is a new installation on a VPS, and when I launch phpMyAdmin, I get the following error:

    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.
    According to php.ini the session_save_path = /tmp & /tmp is writable by everyone. I've deleted all the files from /tmp as well, but it still doesn't work. Any other suggestions?
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  2. #2
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default

    Did you try restarting cpanel? Had a check of the cpanel error logs?
    www.cliffsupport.com
    i WebManager | Access WHM from your iPhone

  3. #3
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    944
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by david510 View Post
    Did you try restarting cpanel?
    Yes. I've rebooted the VPS as well, same thing

    Quote Originally Posted by david510 View Post
    Had a check of the cpanel error logs?
    Yes, no clues here either. /var/log/messages doesn't give me any errors either. From what I have seen from google search results, it has todo with the session_save_path not being writable, but it is, and there's a lot of user's session files in there.
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by SoftDux View Post
    ...

    Yes, no clues here either. /var/log/messages doesn't give me any errors either. From what I have seen from google search results, it has todo with the session_save_path not being writable, but it is, and there's a lot of user's session files in there.
    Logs relating to cpsrvd (the daemon that serves cPanel, WHM and Webmail) are typically found in /usr/local/cpanel/logs with exception of the update logs.

    /var/log/messages is only for IMAP, POP3 and SpamAssassin, thus you would not find any entries there regarding the phpMyAdmin being served by cpsrvd.

  5. #5
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    944
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ok, so where / how do I find out why it's causing this problem then?
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  6. #6
    Member
    Join Date
    Jun 2007
    Posts
    37

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2008
    Posts
    3

    Default

    the link you posted throws a 404.

  8. #8
    Member
    Join Date
    Nov 2006
    Location
    Somewhere is USA
    Posts
    8

    Default

    Sometimes if you login in to PHPMYADMIN, you can see the error as follows.

    Cannot start session without errors, please check errors given in your PHP and/or webserver log
    file and configure your PHP installation properly.

    FIX:

    Check permissions of /tmp. It should be 755. Change it to 1777. Now access PHPMYADMIN.

    /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

    Change session.save_path as /tmp and restart apache.

    Have a Smile

  9. #9
    Member
    Join Date
    Jun 2007
    Posts
    37

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2008
    Posts
    25

    Default

    Using K3oni response with slight change I solved the same problem:

    view /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini and see what session.save_path is already set to and make the permissions changes on that file. 1777 is not required 1755 worked as well.

    Ownership of the file in the session.save_path must also be set to phpmyadmin phpmyadmin
    Last edited by Warrenw; 05-03-2009 at 02:50 AM.

  11. #11
    Member
    Join Date
    Jan 2009
    Location
    Barcelona
    Posts
    33

    Thumbs up thank you

    Thank you, k3oni and all the people that help to resolv this problema
    I was a big help

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2006
    Posts
    59

    Default

    Quote Originally Posted by Warrenw View Post
    Using K3oni response with slight change I solved the same problem:

    view /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini and see what session.save_path is already set to and make the permissions changes on that file. 1777 is not required 1755 worked as well.

    Ownership of the file in the session.save_path must also be set to phpmyadmin phpmyadmin
    I had changed the session.save_path to /tmp several times on one of our servers, and upcp reverts it to /var/cpanel/userhomes/cpanelphpmyadmin/sessions, which didn't exist on this server, so a quick and easy work around I used was

    Code:
    mkdir -p /var/cpanel/userhomes/cpanelphpmyadmin/sessions
    chmod 1777 /var/cpanel/userhomes/cpanelphpmyadmin/sessions

  13. #13
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Setting to 1777 did not work for me, and I also had no user phpmyadmin, but I symlinked sessions to /tmp and that seems to be working.
    Lloyd F Tennison

Similar Threads & Tags
Similar threads

  1. CPGS Doesn't start Error?
    By Dave15 in forum cPGS Discussions
    Replies: 1
    Last Post: 05-11-2011, 07:33 AM
  2. session start fatal error sqlite
    By Cristi4n in forum cPanel and WHM Discussions
    Replies: 43
    Last Post: 07-29-2008, 02:02 AM
  3. Replies: 1
    Last Post: 11-13-2007, 10:32 AM
  4. remote mysql doesn't work again, here it he phpmyadmin error
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-16-2007, 04:00 AM
  5. Replies: 4
    Last Post: 09-24-2006, 06:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube