[imp] IMP locks Apache...

Bellazi, Karim Karim.Bellazi@KPNQwest.com
Tue, 13 Nov 2001 14:20:27 +0100


Ihave this new problem;

When i do the test.php3 i obtain this error :

Parse error: parse error, expecting `STRING' or `'$'' in
/KQ/projetimp/apache/php/session.inc on line 343

Does someone know something about that?

Thanks by advance.

Bye

-----Original Message-----
From: Hamersky Robert - Bacher Systems EDV GmbH [mailto:ha@bacher.at]
Sent: 13 November 2001 14:08
To: imp@lists.horde.org
Subject: Re: [imp] IMP locks Apache...


acitvate this sections in the following file.....

phplib/local.inc:

/* To use shared memory, uncomment and edit the following: */
/* NOTE: If you do this, you must edit prepend.php3 to include ct_shm.inc
   instead of ct_sql.inc */
class HordeCT extends CT_Shm {
  var $max_sessions   = 500;               // number of maximum sessions
  var $shm_key        = 0x123754;          // unique shm identifier
  var $shm_size       = 64000;             // size of segment
}

phplib/prepend.php3:

require($_PHPLIB["libdir"] . "ct_shm.inc");    /* Change this to match your
data storage container */

;-) ha

Adnane Ben Youssef wrote:

> session handling via shared memory ? what is and how could I try this !?
> Adnane.
>
> -----Message d'origine-----
> De : ha@bacher.at [mailto:ha@bacher.at]
> Envoye : mardi 13 novembre 2001 11:58
> A : imp@lists.horde.org
> Objet : Re: [imp] IMP locks Apache...
>
> The problem only occures with session handling via shared memory. Session
> size
> doesn't matter because a failed login has always the same small size off
64
> byte - and it only occures with failed logins...
>
> ;-) ha
>
> Adnane Ben Youssef wrote:
>
> > I've a problem with the same nature.
> > I think the probleme is caused by a php/session handling.
> > Now I'am handling session in mysql database, and still have the session
> > problems but the apache is not locked.
> > Maybe trying to mount a reiserfs volume to handle session in as adviced
in
> > the php docs would be a good solution.
> > What a noticed also is this type of problem occur when the imp handle
> > session with relative big size which is the case.
> > So ...
> > Adnane.
> >
> > -----Message d'origine-----
> > De : ha@bacher.at [mailto:ha@bacher.at]
> > Envoye : mardi 13 novembre 2001 08:26
> > A : imp@lists.horde.org
> > Objet : Re: [imp] IMP locks Apache...
> >
> > Bevor i subscribed to this newsgroup i have checkt alle threads, but
found
> > not helpful information...
> >
> > ;-) robert
> >
> > Jan Schneider wrote:
> >
> > > Zitat von Hamersky Robert - Bacher Systems EDV GmbH <ha@bacher.at>:
> > >
> > > > After an upgrade of our system, strange things are happening. If a
> user
> > > > (it seems to be regardless who) tries to log in with an illegal
> > > > combination of username and password, all existing (and new) IMP
> > > > sessions "hangs" and I have to restart apache. Correct logins are
> > > > working fine!
> > > >
> > > > I have configured shared memory to hold session data. When i use
plan
> > > > files, failed logins are correct handed.
> > >
> > > There are some threads about this behaviour in the mailing list.
Perhaps
> > > you find a solution there.
> > >
> > > Jan.
> > >
> > > ::::::::::::::::::::::::::::::::::::::::
> > > AMMMa AG - discover your knowledge
> > > :::::::::::::::::::::::::::
> > > Detmolder Str. 25-33 :: D-33604 Bielefeld
> > > fon +49.521.96878-0 :: fax  +49.521.96878-20
> > > http://www.ammma.de
> > > ::::::::::::::::::::::::::::::::::::::::::::::
> > >
> > > --
> > > IMP mailing list: http://horde.org/imp/
> > > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> > --
> > -------------------------------------------------------------------
> > Robert Hamersky                              Information Management
> > phone : +43 (1) 60 126-237                  Bacher Systems EDV GmbH
> > fax   : +43 (1) 60 126-555                       Wienerbergstr. 11B
> > e-mail: rhamersky@bacher.at                    A-1101 Wien, Austria
> > www   : http://www.bacher.at/                                Europe
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
> --
> -------------------------------------------------------------------
> Robert Hamersky                              Information Management
> phone : +43 (1) 60 126-237                  Bacher Systems EDV GmbH
> fax   : +43 (1) 60 126-555                       Wienerbergstr. 11B
> e-mail: rhamersky@bacher.at                    A-1101 Wien, Austria
> www   : http://www.bacher.at/                                Europe
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

--
-------------------------------------------------------------------
Robert Hamersky                              Information Management
phone : +43 (1) 60 126-237                  Bacher Systems EDV GmbH
fax   : +43 (1) 60 126-555                       Wienerbergstr. 11B
e-mail: rhamersky@bacher.at                    A-1101 Wien, Austria
www   : http://www.bacher.at/                                Europe




-- 
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org