IMP 2.2.5, problems with PHPLIB and shared memory?

Jason Byrns Jason@ispi.net
Tue, 5 Jun 2001 11:59:36 -0500


Upgrading from IMP 2.0 to 2.2.5 is causing problems.  I'm still hoping
someone on this list can help!

IMP 2.2.5
Horde 1.2.5
Solaris 7 (Intel)
Apache 1.3.20
PHP 4.05

Trying to use shared memory as the container, no database support at all.

Things work fine, except for login failures!  If you have a bad username or
password, it appears to kill session management entirely!

The Horde "test.php3" script, at the point where you click the URL to test
session management, works fine until you have a bad login through IMP.

Also, there are three webmail installations on the same server, and they all
die simultaneously with a failed login.

Apache continues to serve up web pages normally, and PHP responds normally
as well.  But the link within the "test.php3" page also stops responding.

So, either shared memory is causing trouble, or session management and
PHPLIB are somehow not working right?

I duplicated the entire installation on a test system, with a fresh Solaris
7 install and everything.  Exact same problem!!!

I've considered switching from shared memory to MySQL for the container?
I've also considered trying to get the standard PHPLIB instead of the
Horde-specific PHPLIB.  But I admit, I'm guessing here!

ANY help would be greatly appreciated!!!  Thanks!

--
Jason Byrns <Jason@ispi.net>
   ispi of Lincoln, Inc.
      http://www.ispi.net      402.441.3295




>From maillist@beunion.net Date: Wed,  6 Jun 2001 01:10:30 +0800
Return-Path: <maillist@beunion.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 93339 invoked from network); 5 Jun 2001 17:11:17 -0000
Received: from ip-170-166-66-202.rev.dyxnet.com (HELO vincent.techsoft.com.hk) (202.66.166.170)
  by horde.org with SMTP; 5 Jun 2001 17:11:17 -0000
Received: (qmail 3794 invoked by uid 99); 5 Jun 2001 17:10:30 -0000
Received: from 195.194.178.252 ( [195.194.178.252])
	as user maillist@beunion.net@localhost by vincent.techsoft.com.hk with HTTP;
	Wed,  6 Jun 2001 01:10:30 +0800
Message-ID: <991761030.3b1d1286ace90@vincent.techsoft.com.hk>
Date: Wed,  6 Jun 2001 01:10:30 +0800
From: maillist <maillist@beunion.net>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=Big5
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs Modified by Techsoft
X-Originating-IP: 195.194.178.252
Subject: Fwd: Re: [dev] can't get translate work

my verions of IMP is 2.3.7 CVS
thanks


> hi,
> 
> I have a RH 6.2 box with IMP and I have configed Apache/1.3.19 with
gettext
> and 
> PHP 4.0.5.
> 
> I tried to use fr to test it our first, the problem is I can't get the

> translation at all.
> 
> I use the fr.po in /htdocs/horde/imp/po/, make install it,
> and edit my horde/config/lang.php and set $nls['charsets']['fr'] =
> 'iso-8859-1';
> (do I need that for fr? and how abt if that is traditional chinese
(set to 
> = 'Big-5' or 'zh_TW.BIG5')? cuz I might be able to make the po file
after I
> 
> sort it out)
> 
> ok, let's start debugging
> 
> 1. Do you have any .mo files?
> yes!
> 
> 2. Does gettext even work?
> $ strings /bin/tar | grep Memory
> Memory exhausted
> $(LANG=fr; gettext tar "Memory exhausted" )
> Mémoire occupée.
> 
> (it works.)
> 
> 3. Does the local imp file work?
> supose my files located at /horde/imp/locale
> $export TEXTDOMAINDIR = /horde/imp/locale
> $(LANG=fr; gettext imp "Save as" )
> Save as
> (should be Enregistrer Sous...)
> 
> I stopped at there, cuz I think there are some problems with gettext
in my 
> box...
> 
> any suggestions for me pls...
> 
> thanks a lot!
> 
> vincent
> 
> -----------------------------------------------------------
> This mail sent through IMP: http://webmail.techsoft.com.hk/
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 


-----------------------------------------------------------
This mail sent through IMP: http://webmail.techsoft.com.hk/

-- 
Horde Developers mailing list: http://horde.org/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@lists.horde.org


----- End forwarded message -----


-----------------------------------------------------------
This mail sent through IMP: http://webmail.techsoft.com.hk/


>From chuck@horde.org Date: Tue,  5 Jun 2001 15:10:56 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 302 invoked from network); 5 Jun 2001 19:12:38 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 5 Jun 2001 19:12:38 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 5F45C39F6; Tue,  5 Jun 2001 15:10:56 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Tue,  5 Jun 2001 15:10:56 -0400
Message-ID: <991768256.3b1d2ec00e899@marina.horde.org>
Date: Tue,  5 Jun 2001 15:10:56 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <991755966.3b1cfebe5f882@mail-dev.starken.com> <991758800.3b1d09d066594@marina.horde.org> <991759126.3b1d0b16703c3@mail-dev.starken.com>
In-Reply-To: <991759126.3b1d0b16703c3@mail-dev.starken.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] stupid questions

Quoting Daniel Wittenberg <daniel-wittenberg@starken.com>:

> nope, nothing there (actually the first place I looked.  Can someone just 
> post an example config of using mysql as the prefs driver?

/* Preference System Settings */
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '****';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.


>From chuck@horde.org Date: Tue,  5 Jun 2001 15:12:39 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 1113 invoked from network); 5 Jun 2001 19:14:22 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 5 Jun 2001 19:14:22 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 2368439F6; Tue,  5 Jun 2001 15:12:40 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Tue,  5 Jun 2001 15:12:39 -0400
Message-ID: <991768359.3b1d2f27e4e17@marina.horde.org>
Date: Tue,  5 Jun 2001 15:12:39 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <20010604184507.A1766@servicom2000.com> <991717750.3b1c69769cdad@marina.horde.org> <20010605085819.A2718@servicom2000.com> <991749111.3b1ce3f7da28d@marina.horde.org> <20010605164150.A19211@servicom2000.com>
In-Reply-To: <20010605164150.A19211@servicom2000.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] Some questions...

Quoting Santiago Romero <sromero@servicom2000.com>:

>  Well, I don't remember now... let's reproduce it :)
> 
>  Warning: Ora_Exec failed (ORA-00001: unique constraint
>  (HORDEMGR.PK_IMP_ADDR) violated -- while processing OCI
>  function OEXEC/OEXN) in ./lib/db.oracle on line 328
> 
>  It appears before the HTML code of the Contact window.
>  To make this appear just enter a contact, insert it into the
>  database, select it another time and try to INSERT another
>  time instead of updating...

Jon's suggestion (reduce error level; log errors to file) is the best.

>  But, it's possible to allow groups to the contact window?
>  I need the ability of user being allowed to send an email to
>  multiple addresses just selecting a single contact (i.e. a
>  contact called "I.T. Department" should send the email to various
>  addresses

This does not exist in 2.2.

>  Thanks a lot another time, chuck. I find IMP to be an impressive
>  Webmail and I'm trying just to adapt it to people used to run
>  Outlook Express, and that's the reason of the pile of questions...

You are aware that 2.2 is pretty much dead code at this point, right? 2.3 is 
where all serious development is taking place; there will only be another 2.2 
release if it's necessary for security reasons.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.


>From anj@tena.pointless.org Date: Tue,  5 Jun 2001 21:17:54 +0200
Return-Path: <anj@tena.pointless.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 2111 invoked from network); 5 Jun 2001 19:20:22 -0000
Received: from as1-5-2.b.bonet.se (HELO tena.pointless.org) (194.236.143.39)
  by horde.org with SMTP; 5 Jun 2001 19:20:22 -0000
Received: (from nobody@localhost)
	by tena.pointless.org (8.11.3/8.11.3) id f55JHsX31984
	for imp@lists.horde.org; Tue, 5 Jun 2001 21:17:54 +0200
X-Authentication-Warning: tena.pointless.org: nobody set sender to anj@tena.pointless.org using -f
Received: from 192.168.1.103 ( [192.168.1.103])
	as user anj@localhost by tena.pointless.org with HTTP;
	Tue,  5 Jun 2001 21:17:54 +0200
Message-ID: <991768674.3b1d306269bf9@tena.pointless.org>
Date: Tue,  5 Jun 2001 21:17:54 +0200
From: Andreas Jonsson <anj@tena.pointless.org>
To: imp@lists.horde.org
References: <991756387.3b1d0063b9264@mail-dev.starken.com> <991758964.3b1d0a74b62e9@marina.horde.org> <991759204.3b1d0b64d8476@mail-dev.starken.com> <991759564.3b1d0ccc7fe81@marina.horde.org> <00c801c0ede0$e6c325e0$fcc0830a@ispi.net>
In-Reply-To: <00c801c0ede0$e6c325e0$fcc0830a@ispi.net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] IMP 2.2.5, problems with PHPLIB and shared memory?


I've problem with Apache 1.3.20 on a Solaris 7 (Sparc), but when I downgraded to  Apache 1.3.19, everything worked fine.

/Andreas

Quoting Jason Byrns <Jason@ispi.net>:

> Upgrading from IMP 2.0 to 2.2.5 is causing problems.  I'm still hoping
> someone on this list can help!
> 
> IMP 2.2.5
> Horde 1.2.5
> Solaris 7 (Intel)
> Apache 1.3.20
> PHP 4.05
> 
> Trying to use shared memory as the container, no database support at all.
> 
> Things work fine, except for login failures!  If you have a bad username or
> password, it appears to kill session management entirely!
> 
> The Horde "test.php3" script, at the point where you click the URL to test
> session management, works fine until you have a bad login through IMP.
> 
> Also, there are three webmail installations on the same server, and they
> all
> die simultaneously with a failed login.
> 
> Apache continues to serve up web pages normally, and PHP responds normally
> as well.  But the link within the "test.php3" page also stops responding.
> 
> So, either shared memory is causing trouble, or session management and
> PHPLIB are somehow not working right?
> 
> I duplicated the entire installation on a test system, with a fresh Solaris
> 7 install and everything.  Exact same problem!!!
> 
> I've considered switching from shared memory to MySQL for the container?
> I've also considered trying to get the standard PHPLIB instead of the
> Horde-specific PHPLIB.  But I admit, I'm guessing here!
> 
> ANY help would be greatly appreciated!!!  Thanks!
> 
> --
> Jason Byrns <Jason@ispi.net>
>    ispi of Lincoln, Inc.
>       http://www.ispi.net      402.441.3295
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 


>From chuck@horde.org Date: Tue,  5 Jun 2001 15:57:26 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 3860 invoked from network); 5 Jun 2001 19:59:08 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 5 Jun 2001 19:59:08 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id AE9CE39EE; Tue,  5 Jun 2001 15:57:26 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Tue,  5 Jun 2001 15:57:26 -0400
Message-ID: <991771046.3b1d39a695ce9@marina.horde.org>
Date: Tue,  5 Jun 2001 15:57:26 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <20010605141828.EA16C39EE@marina.horde.org>
In-Reply-To: <20010605141828.EA16C39EE@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] Horde 1.2.5

Quoting Joaquim Homrighausen <joho@webbplatsen.se>:

>   Defines "Svenska" ('se') as a language but does not set-up
>   a character set (should be ISO-8859-1).

Added, thanks.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.


>From wittenberg@starken.com Date: Tue,  5 Jun 2001 18:32:48 -0500
Return-Path: <daniel-wittenberg@starken.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 11016 invoked from network); 5 Jun 2001 23:33:11 -0000
Received: from firewall.wittenberg.org (HELO dns1.wittenberg.org) (199.120.78.198)
  by horde.org with SMTP; 5 Jun 2001 23:33:11 -0000
Received: (from nobody@localhost)
	by dns1.wittenberg.org (8.9.3/8.9.3) id SAA26516
	for imp@lists.horde.org; Tue, 5 Jun 2001 18:32:48 -0500
X-Authentication-Warning: dns1.wittenberg.org: nobody set sender to daniel-wittenberg@starken.com using -f
Received: from 172.27.1.210 ( [172.27.1.210])
	as user dwittenb@mail.starken.com by mail-dev.starken.com with HTTP;
	Tue,  5 Jun 2001 18:32:47 -0500
Message-ID: <991783967.3b1d6c2002883@mail-dev.starken.com>
Date: Tue,  5 Jun 2001 18:32:48 -0500
From: Daniel Wittenberg <daniel-wittenberg@starken.com>
To: imp@lists.horde.org
References: <991755966.3b1cfebe5f882@mail-dev.starken.com> <991758800.3b1d09d066594@marina.horde.org> <991759126.3b1d0b16703c3@mail-dev.starken.com> <991768256.3b1d2ec00e899@marina.horde.org>
In-Reply-To: <991768256.3b1d2ec00e899@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] stupid questions

All better now, thanks!  (Someone should include that in the base config file as 
an example :)  I accidently deleted the email from earlier that said how to get 
the "Add to addressbook" back, so could someone repost that?  I thought they said 
it was in options, but I'm not seeing in there that relates to the addressbook.  
I've heard really good comments so far from people about that feature, so I'd 
like to turn it back on.

Is anyone updating an LDAP server through Turba?  I thought the permissions were 
setup on our openldap server, but it doesn't seem to make any changes there.  
This looks like a great feature, a nice "Corporate Addressbook" that everyone can 
update.

Thanks!
Dan


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Daniel Wittenberg <daniel-wittenberg@starken.com>:
> 
> > nope, nothing there (actually the first place I looked.  Can someone just
> 
> > post an example config of using mysql as the prefs driver?
> 
> /* Preference System Settings */
> $conf['prefs']['driver'] = 'sql';
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'horde';
> $conf['prefs']['params']['password'] = '****';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Black and white and grey, all the shades of truth.
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>