#25876 [Opn->Fbk]: session_start(): Failed to initialize storage module

2007-09-05 Thread jani
 ID:   25876
 Updated by:   [EMAIL PROTECTED]
 Reported By:  golden at riscom dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Session related
 Operating System: freebsd 4.8
 PHP Version:  4.3.9-4.3.10
 Assigned To:  sniper
 New Comment:

Can your reproduce this with PHP 5.2.4 or greater? (in case we happen
to release 5.2.5 in the meantime :)


Previous Comments:


[2007-08-30 07:54:07] golden at riscom dot com

> We are currently having problem with the same think at one of our
servers.



[2007-06-27 23:15:12] josh at spinningplanet dot co dot nz

Try disabling safe mode



[2007-02-03 16:51:38] earnie at users dot sourceforge dot net

Just to note: This error happens if the functions identified in
session_set_save_handler are not defined at the time of the call.



[2006-12-09 20:02:53] thecancerus at gmail dot com

we can pass session id to ensuser that session remains intact.. use SID
it will help



[2006-07-21 08:05:00] contact at far-php dot ro

Hy
i have this problem as well.

PHP version 4.3.11

Script index.php:
session_start();
ob_start();

/tmp -> /domanin_site/tmp/



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1


#25876 [Opn->Fbk]: session_start(): Failed to initialize storage module

2005-03-18 Thread sniper
 ID:   25876
 Updated by:   [EMAIL PROTECTED]
 Reported By:  golden at riscom dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Session related
 Operating System: freebsd 4.8
 PHP Version:  4.3.9-4.3.10
-Assigned To:  
+Assigned To:  sniper
 New Comment:

See bug #32330 for similar issue. Do you use session_destroy()
anywhere? Or session_decode()? 



Previous Comments:


[2005-03-16 10:24:06] meier at schnubbelchen dot de

Same problem (not reproducable always) on Apache 1.3.33, PHP 4.3.10,
enough Space in /tmp, permissions OK

/configure --prefix=/usr --with-apxs=/usr/local/apache/bin/apxs
--enable-cli --with-config-file-path=/etc --enable-safe-mode
--with-exec-dir=/usr/bin --with-mysql=/usr --with-zlib
--with-xml --enable-wddx --with-gd --with-imap-ssl --enable-shared
--with-pear --with-ldap --with-ldap-sasl --with-gettext --with-imap
--with-mcrypt --with-openssl --with-dom --enable-ftp --with-snmp



[2005-03-10 20:42:46] dmih at in-solve dot ru

I can confirm this.
We are hosting privider, 5+ servers with PHP sites.

* Apache 1.3.33 / PHP 4.3.9, mod_php.
* Session folder is OK, rather empty.
* Bug is not related to Zend Optmiziser, not installed.
* Under heavy load this bug freqency increases, more than just to
reflect increased load.
* I cannot approve or reject wherever CGI PHP is affected by this bug.
I suspect that it is not affected.



[2005-03-08 15:35:18] xtrange at gmail dot com

In the php.ini I put:

register_argc_argv = On

...and problem solved!



[2005-03-03 21:26:59] reaper at fudo dot org

To follow up to myself:

my problem was that in php.ini i had:
session.save_handler = user

This is not the default.  The default setting, that works for me, is:
session.save_handler = files

It was changed by a fellow admin, and i was unaware of this.  Changing
the setting back to teh defualt allowed everything to work exactly as
it should.



[2005-03-03 21:09:30] reaper at fudo dot org

I am experiencing the same thing with apache 2.0.53, php 4.3.10, and
linux 2.6 (debian).

I notice that there is no real fix, and that this problem is
persistent.  I will investigate further, but is this a real problem or
not?  If it is, it should be dealt with.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1


#25876 [Opn->Fbk]: session_start(): Failed to initialize storage module

2004-12-27 Thread tony2001
 ID:   25876
 Updated by:   [EMAIL PROTECTED]
 Reported By:  golden at riscom dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Session related
 Operating System: freebsd 4.8
 PHP Version:  4.3.3
 New Comment:

Not reproducible for me with Apache 1.3.29 & php4-CVS.
Please provide more info on how to reproduce it.


Previous Comments:


[2004-12-27 10:17:10] admin at ehost dot pl

the same problem Apache 1.3.33 RedHat ES 3 and Redhat 9.0 from the
moment that we upgrade php to 4.3.10



[2004-12-27 10:12:03] support at nthost dot ru

Experiencing this bug on FreeBSD 4.9 with PHP 4.3.10.



[2004-12-27 08:45:42] vsoletic at konix dot com

All my websites experienced this problem after upgrade to 4.3.10.



[2004-12-27 07:31:09] dave at my-ecoach dot com

Seeing the same issue on FreeBSD 4.9 with PHP 4.3.9 and Apache 1.3.33.



[2004-12-27 03:21:05] john at fluidhosting dot com

Seeing this bug on FreeBSD 4.10 with PHP 4.3.10.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1


#25876 [Opn->Fbk]: session_start(): Failed to initialize storage module

2003-10-17 Thread sniper
 ID:   25876
 Updated by:   [EMAIL PROTECTED]
 Reported By:  golden at riscom dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Session related
 Operating System: freebsd 4.8
 PHP Version:  4.3.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




Previous Comments:


[2003-10-17 10:01:31] golden at riscom dot com

session.save_path = /tmp
and it is also /tmp when this error occurs(checked the way you
suggested)



[2003-10-17 08:27:08] [EMAIL PROTECTED]

What is the exact line in php.ini for session.save_path ?
Also, what is session.save_path set to when this error happens? (add
'echo ini_get("session.save_path");' before the session_start() and
turn output_buffering on in php.ini)




[2003-10-17 04:39:19] golden at riscom dot com

/tmp is not a separate partition
/dev/da0s1a   4.7G   133M   4.2G 3%/



[2003-10-17 04:37:05] golden at riscom dot com

-bash-2.05b$ ls -l
drwxrwxrwt   4 root  wheel 2048 Oct 17 11:37 tmp



[2003-10-16 22:34:57] [EMAIL PROTECTED]

Is the /tmp directory writeable by the web server and is there
avaliable space in there?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25876

-- 
Edit this bug report at http://bugs.php.net/?id=25876&edit=1


#25876 [Opn->Fbk]: session_start(): Failed to initialize storage module

2003-10-17 Thread sniper
 ID:   25876
 Updated by:   [EMAIL PROTECTED]
 Reported By:  golden at riscom dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Session related
 Operating System: freebsd 4.8
 PHP Version:  4.3.3
 New Comment:

What is the exact line in php.ini for session.save_path ?
Also, what is session.save_path set to when this error happens? (add
'echo ini_get("session.save_path");' before the session_start() and
turn output_buffering on in php.ini)



Previous Comments:


[2003-10-17 04:39:19] golden at riscom dot com

/tmp is not a separate partition
/dev/da0s1a   4.7G   133M   4.2G 3%/



[2003-10-17 04:37:05] golden at riscom dot com

-bash-2.05b$ ls -l
drwxrwxrwt   4 root  wheel 2048 Oct 17 11:37 tmp



[2003-10-16 22:34:57] [EMAIL PROTECTED]

Is the /tmp directory writeable by the web server and is there
avaliable space in there?



[2003-10-15 07:03:06] golden at riscom dot com

Description:

After migrating web server platform from win2000 to freebsd periodicly
this message appears in logs:

PHP Fatal error: session_start(): Failed to initialize storage module.
in index.php on line 5
PHP Warning: Unknown(): A session is active. You cannot change the
session module's ini settings at this time. in Unknown on line 0

I'm using now FreeBSD 4.8 and Apache 2.0.47


On the line 5 in index.php just a call session_start();

here's part of my config in php.ini:

session.auto_start Off
session.bug_compat_42 On
session.bug_compat_warn On
session.cache_expire 180
session.cache_limiter nocache
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_length 0
session.gc_divisor 100
session.gc_maxlifetime 1440
session.gc_probability 1
session.name PHPSESSID
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookies On
session.use_only_cookies Off
session.use_trans_sid On

Reproduce code:
---
http://bugs.php.net/?id=25876&edit=1


#25876 [Opn->Fbk]: session_start(): Failed to initialize storage module

2003-10-16 Thread iliaa
 ID:   25876
 Updated by:   [EMAIL PROTECTED]
 Reported By:  golden at riscom dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Session related
 Operating System: freebsd 4.8
 PHP Version:  4.3.3
 New Comment:

Is the /tmp directory writeable by the web server and is there
avaliable space in there?


Previous Comments:


[2003-10-15 07:03:06] golden at riscom dot com

Description:

After migrating web server platform from win2000 to freebsd periodicly
this message appears in logs:

PHP Fatal error: session_start(): Failed to initialize storage module.
in index.php on line 5
PHP Warning: Unknown(): A session is active. You cannot change the
session module's ini settings at this time. in Unknown on line 0

I'm using now FreeBSD 4.8 and Apache 2.0.47


On the line 5 in index.php just a call session_start();

here's part of my config in php.ini:

session.auto_start Off
session.bug_compat_42 On
session.bug_compat_warn On
session.cache_expire 180
session.cache_limiter nocache
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_length 0
session.gc_divisor 100
session.gc_maxlifetime 1440
session.gc_probability 1
session.name PHPSESSID
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookies On
session.use_only_cookies Off
session.use_trans_sid On

Reproduce code:
---
http://bugs.php.net/?id=25876&edit=1