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.

[error] PHP Fatal error: session_start(): Failed to initialize storage module

Discussion in 'General Discussion' started by joana, Nov 18, 2003.

  1. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Just rebuilt Apache with php 4.3.3 couple of days back and now all php seems to stop working randomly..
    Many times, the php websites will show errors and the following error in the error_log..

    [error] PHP Fatal error: session_start(): Failed to initialize storage module

    Any idea? :confused:
     
  2. andyf

    andyf Well-Known Member

    Joined:
    Jan 7, 2002
    Messages:
    246
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    Try a rebuild first, just in case something went TU on the previous one.
     
  3. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    already did that but it did not help
     
  4. andyf

    andyf Well-Known Member

    Joined:
    Jan 7, 2002
    Messages:
    246
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
  5. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Still not working and no answer from Cpanel support..

    cPanel.net Support Ticket Number: 29999
     
  6. andyf

    andyf Well-Known Member

    Joined:
    Jan 7, 2002
    Messages:
    246
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    Check Google - this doesn't look like a cPanel specific problem.
     
  7. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    I did but it only appeared after apache upgrade from Cpanel and none of the other servers are affected..
     
  8. Vegas D

    Vegas D Member

    Joined:
    May 4, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1

    I am having this exact same issue. I've been racking my brain now 2.5 days on this issue. I have a few sites that are intermitantly down due to this issue. Additionally our Data Center has been of very little help as I've had a Ticket open with them now for 2.5 days and no resolution.

    This is definately a show stopper issue and needs to be resolved quickly.

    Here's what was recently done with our server:

    1. Ran Easyapache to install some features.
    Included the following:
    a. GD
    b. IMAP Module
    c. PHP 4.3.3
    d. cURL SSL Support

    Since then we have been having this issue with the session_start() function.

    Lastly, after Apache compiled we had to copy some files around in order for Apache to even start.

    copied the following from /usr/local/cpanel/apache/
    into the following folder: /usr/local/apache/libexec/

    mod_bwlimited.so
    mod_log_bytes.so
    mod_auth_passthrough.so

    These files were missing after Apache compiled. Also had to remove those dang CORE.***** files.

    That's all I can think of at this time.

    Any help from anyone would be very much appreciated.

    Thanks,

    D
     
  9. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Re: Re: [error] PHP Fatal error: session_start(): Failed to initialize storage module

    BEEN 12 DAYS and the ticket with Cpanel is still OPEN and no one cared to respond to it..

    We have similar issues with missing files after easyapache on other servers as well.



     
  10. Vegas D

    Vegas D Member

    Joined:
    May 4, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Show Stopper Apache / PHP Issue


    This post at php.net refers to Apache 2.x which is not supported by cPanel yet. Not so sure this last entry would apply to us cPanel users.

    D
     
  11. Vegas D

    Vegas D Member

    Joined:
    May 4, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Still have not resolved this issue and neither has VenturesOnline.

    Does anyone know how to revert back to an older version of Apache we upped from 1.3.28 to 1.3.29. would like to try and go back to .28 version with PHP 4.3.2 and see what happens then.

    Thanks in Advance,

    D
     
  12. bonnmac

    bonnmac Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    I'd like to know also. Server was running great until I used easyapache to upgrade to 1.3.29 Now alot of my scripts are returning errors like the following: Appears to be a permissions problem with /tmp ??

    Warning: session_start(): open(/tmp/sess_ccc807c76144ae4ddf2829ce93340fee, O_RDWR) failed: Permission denied (13) in /home/xxxxxx/public_html/esupport/admin/index.php on line 98

    Warning: session_write_close(): open(/tmp/sess_ccc807c76144ae4ddf2829ce93340fee, O_RDWR) failed: Permission denied (13) in /home/xxxxxx/public_html/esupport/admin/index.php on line 123

    Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /home/xxxxxx/public_html/esupport/admin/index.php on line 123
     
  13. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Welcome to the club..
    Have a ticket with Cpanel for more than 2 weeks now and no resolution from them.


     
  14. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    I dont know how old this is, but we have customers complaining about this, are there absolutely no ideas as to what is causing this?
     
  15. Vegas D

    Vegas D Member

    Joined:
    May 4, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1

    Well so far we have successfully downgraded apache back down to 1.3.28 and to PHP 4.3.2 and the Session_start() function issue seems to have disappeared but now we seem to be having a small issue with phpMyAdmin and 1 client is having an issue that I don't think is directly related to this.

    D
     
  16. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    I have only one server with broken compiles. All my other boxes dont have broken compiles.

    Haha, i found it.

    This is what i have in my .htaccess for use with drupal:

    Now, session.save_handler was set to "user" which is incorrect, so it didnt work.

    Setting it to files suddenly made my site work, so i am going to check php.ini.

    Checked all my php.ini's, set them all correctly, and i believe it did the trick. At least our support tickets have mostly been closed by the customer about this.
     
    #16 X-Istencedotcom, Dec 11, 2003
    Last edited: Dec 11, 2003
  17. tomsyer

    tomsyer Active Member

    Joined:
    Aug 5, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Did this happen after you guys updated your kernal by any chance?
     
  18. tomsyer

    tomsyer Active Member

    Joined:
    Aug 5, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    After hours a buddy of mine spent 2 secs and thought to chmod /tmp to 777 and it works
    he just typed
    chmod 777 /tmp

    -Tom
     
  19. mousepotatoe

    mousepotatoe Active Member

    Joined:
    Dec 17, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    EASY FIX FOR /tmp errors "failed: Permission denied"

    Thank you Tom!
    After jumping through hoops, reinstalling everything repeatedly and killing hours and hours of valuable time...
    running chmod 777 /tmp fixed all my problems.

    Thank you for sharing this information.

    Happy New Year!

    Steve a/k/a MousePotatoE



     

    Attached Files:

  20. nihonjintaylor

    nihonjintaylor Registered

    Joined:
    Aug 5, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have been getting problems like the one's listed above...

    as well as the thing GD
    not working...

    could anyone coach me through this?
     
Loading...

Share This Page