Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default Php Errors

    Just today i started getting these errors come up randomly

    Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp)
    tmp is chmoded to 777 and has sufficent permisions so im not sure what it could be i heard this could be something to do with a bug in php 4.3.10
    what does everyone else think ?

  2. #2
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    EDIT: I recompiled MySQL 4.1.10 now it all works
    Last edited by fusioncroc; 02-19-2005 at 07:38 PM.

  3. #3
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    EDIT: ALL FIXED ( except those annoying php errors that come up every couple of minutes )
    Last edited by fusioncroc; 02-19-2005 at 07:39 PM.

  4. #4
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    seems to be fixed but thats what it looked like earlier everytime i try to change the mysql root pass i get errors and i cant see the databases under manage mysql , users can see them in phpmyadmin though

    and yesterday i could'nt find the mirrors for a /scripts/mysqlup so i got 4.1.10 from the rpm's

  5. #5
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    getting the php errors again ( /tmp is chmod'ed to /tmp sometimes when i empty it works for 1 minute )

    this is from ls -al /tmp


    total 43
    drwxrwxrwx 5 carl carl 31744 Feb 20 15:24 ./
    drwxr-xr-x 23 root root 4096 Feb 20 01:27 ../
    -rwxrwxrwx 1 mailnull mail 0 Feb 20 15:01 exim_deny.lock*
    -rwxrwxrwx 1 root root 1611 Feb 20 15:24 horde.log*
    drwxrwxrwx 2 root root 1024 Feb 20 00:14 .ICE-unix/
    drwxrwxrwx 2 bin bin 1024 Feb 20 00:15 .iroha_unix/
    drwxr-xr-x 2 root root 2048 Dec 20 09:43 ixed/
    lrwxrwxrwx 1 root root 30 Feb 20 15:23 mysql.sock -> ../../var/lib/mysql/mysql.sock=
    -rwxrwxrwx 1 nobody nobody 0 Feb 20 15:22 sess_25f6fa9328dced2d6fe190e091cf0ab7*
    -rwxrwxrwx 1 nobody nobody 0 Feb 20 15:22 sess_6ba272dd9e9d49b0e42a018d28189471*
    -rwxrwxrwx 1 nobody nobody 0 Feb 20 15:24 sess_736becc16eb6a7b2f901ae5993d05820*
    -rwxrwxrwx 1 nobody nobody 65 Feb 20 15:25 sess_7b1a9048d7df20a42084bd146010348d*


    should /tmp be chowned to nobody ?
    Last edited by fusioncroc; 02-20-2005 at 09:30 AM.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Make sure that you chmod 1777 - it's important that you have the sticky bit set:

    chmod 1777 /tmp

    It should be owned by root:root.

    Edit: I've also seen problems if you switch phpsuexec on or off. If you have, delete any and all session files in /tmp too.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    I done what you said but i still get the errors ite getting worse and worse i've tryied to donwgrade to 4.3.9 but i still get errors


    Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/lynjay13/public_html/login.php on line 1

  8. #8
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    chirpy how much would it cost for you to look at it ?

  9. #9
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I'll PM you.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  10. #10
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    thanks chirpy

  11. #11
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    i think its working now but im not sure this is what i did :

    session.use_trans_sid = 1 -> session.use_trans_sid = 0 now it seems to be working properly

    edit: working better but i still get the errors every 30 minutes or so
    also for somewierd reason mysql wont show as up in service status
    it just shows mysql 4.1.10 ( standard) as down even though mysql driven sites work
    Last edited by fusioncroc; 02-20-2005 at 02:37 PM.

  12. #12
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    now i have 539 emails to go though( mysql and eximstats) as i forgot about making sure chkserv shows them up.

    edit: i got eximstats and spamd to show back up but it does'nt reckonise the mysql for some reason i might go down to 4.0 change root password -> back up to 4.1 but last time i tryied from one of the mysql mirror's i got 404's
    Last edited by fusioncroc; 02-21-2005 at 01:41 AM.

  13. #13
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    If anybody could fix it i'm willing to pay pm me or email sales@fusioncroc.com if you can fix the mysql and php / apache

    edit: i was going to pay up to £50 but as now all of my customers are wanting refunds and everything now i cant realy afford to this month so i dunno what to do
    Last edited by fusioncroc; 02-21-2005 at 03:24 PM.

  14. #14
    Member
    Join Date
    Feb 2004
    Posts
    469

    Default

    Damn frustrating when things like this happen and you seem to be the only person who is affected.
    I did a google for "Failed to initialize storage module: user (path: /tmp)" and came up with a few possible answers, one of which is here.
    It might take some reading but could prove to be useful.

    http://bugs.php.net/bug.php?id=25876

    Good luck - and ask your clients for a tad more time to fix this error as it may well be a new bug etc etc blah blah.

  15. #15
    Member
    Join Date
    Sep 2004
    Location
    U.K.
    Posts
    265

    Default

    izzee thats the php bug report me and chirpy both found i tryied everything listed there it helps slightly but after a while its back to the errors the only thing that helps is stopping apache and starting it again as restarting pops up with a error message.

    by the way i seached google already and tryied everything and no fix yet

Similar Threads & Tags
Similar threads

  1. PHP Errors
    By cancer10 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-29-2007, 01:49 AM
  2. Replies: 5
    Last Post: 01-05-2007, 12:41 PM
  3. Replies: 33
    Last Post: 09-10-2006, 12:56 AM
  4. EasyApache errors. broken php/unrecognized php.ini
    By skuhn718 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2006, 09:23 AM
  5. php sessions errors after PHP 4.4.1 and apache 1.3.4 upgrade
    By SupermanInNY in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 11-11-2005, 04:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube