PostgreSQL setup problem?

Michael kazin@thismetalsky.org
Fri, 8 Mar 2002 09:22:13 -0500


Sorry if this got covered already, I didn't see it in a quick archive search.

IMP 3.0, PgSQL 7.1.3, PHP 4.0.6 with updated PEAR

When trying to login, I get the following.  The database name is 'horde', db
username is 'horde'.  I can use psql and successfully get into the database.
Any ideas what I missesd?

-- snip --

object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(129) " [nativecode=
Warning:  Unable to connect to PostgreSQL server:  (null) in /usr/local/lib/php/DB/pgsql.php on line 120
] ** Array"
  ["callback"]=>
  NULL
}
[/home/www/webmail/ssldocs/lib/Prefs/sql.php : 102]


-- 
Michael Stella  |  Sr. Unix Engineer  |  http://www.thismetalsky.org
"We only truly get old when we lose our imagination."


>From ctooley@amoa.org Date: 08 Mar 2002 14:26:25 +0000
Return-Path: <ctooley@amoa.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 84027 invoked from network); 8 Mar 2002 14:26:56 -0000
Received: from c000-h007.c000.snv.cp.net (HELO c000.snv.cp.net) (209.228.32.71)
  by clark.horde.org with SMTP; 8 Mar 2002 14:26:56 -0000
Received: (cpmta 6864 invoked from network); 8 Mar 2002 06:26:25 -0800
Received: from 207.207.51.226 (HELO filecabinet.amoa.org)
  by smtp.tooley.com (209.228.32.71) with SMTP; 8 Mar 2002 06:26:25 -0800
X-Sent: 8 Mar 2002 14:26:25 GMT
From: Chris Tooley <ctooley@amoa.org>
To: imp@lists.horde.org
In-Reply-To: <1015554989.1720.3.camel@itspecmobile>
References: <5.1.0.14.0.20020308000911.00a91190@imap.web.de> 
	<1015554989.1720.3.camel@itspecmobile>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.2 
Date: 08 Mar 2002 14:26:25 +0000
Message-Id: <1015597585.27523.3.camel@filecabinet.amoa.org>
Mime-Version: 1.0
Subject: Re: [imp] Trying to get a working IMP

On Fri, 2002-03-08 at 02:36, Chris Tooley wrote:
> On Thu, 2002-03-07 at 17:13, Dieter Rothacker wrote:
> 
>     At 20:37 07.03.2002 +0000, you wrote:
>     >I'm trying to get IMP working with my Cyrus IMAP installation.  I've got
>     >Cyrus running only the SSL IMAP port (993) and I can't get past the
>     >login prompt for IMP.  I think there is an encryption problem because
>     >even though mcrypt is installed it is showing up as unsupported on the
>     >horde/test.php page.
>     
>     It will more likely depend on the version of PHP and your cclient-library 
>     (needed for PHP-imap).
> 
> 
> I'm using php-4.1.0-0horde2 and I don't know how to tell what version of
> cclient-library I'm using.
> I haven't used UW-Imapd so I don't know whether it will connect.  I also
> don't use port 143 for anything so I can't connect with no-ssl.
> 
I've turned on port 143 and regular IMAP.  This makes IMP work fine.  So
that means that my encryption process is definitely the problem.  I
don't have anything installed called c-client.  Can someone point me in
the right direction on where to find out how to get this installed
correctly so I can turn regular IMAP back off?

Thanks
Chris Tooley

>     
>     I have php-4.1.2 and cclient-2001a:
>     - UW-Imapd can be reached flawlessly with 143 (nossl), 143(starttls), 993(ssl)
>     - Cyrus completely refuses to connect on either port.
>     
>     In addition you should make sure you have the right settings in your 
>     server.conf.
>     
>     -- 
>     Dieter Rothacker
>     
>     
>     -- 
>     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
>     
>