X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 45AFA475FC8 for ; Tue, 25 Mar 2003 10:19:50 -0500 (EST) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id F2D9D475E4D for ; Tue, 25 Mar 2003 10:19:48 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h2PFsh6P006004; Tue, 25 Mar 2003 10:54:44 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h2PFJlp03134; Tue, 25 Mar 2003 10:19:48 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id F3HTKTZ9; Tue, 25 Mar 2003 10:19:47 -0500 Subject: Re: Zope and ZPsycopgDA almost working... From: Robert Treat To: Tamir Halperin Cc: pgsql-admin@postgresql.org, Zope Database Mailing List In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BB7@andrew.brobus.net> References: <985DF46E87E0C047A3670048DBCAD0556BB7@andrew.brobus.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 25 Mar 2003 10:19:47 -0500 Message-Id: <1048605587.13798.479.camel@camel> Mime-Version: 1.0 X-Spam-Status: No, hits=-35.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/418 X-Sequence-Number: 8058 Sounds like your database might not be accepting outside connections. Check your postgresql.conf file and make sure tcpip_socket = true You might also need to configure your pg_hba.conf to allow connections from your windows box. Robert Treat On Tue, 2003-03-25 at 01:20, Tamir Halperin wrote: > I just figured out how to install ZPsycopgDA into zope on Windows. I configured it with all the connection string properties and attempted to add it to my zope folder. Here's what I got: > > psycopg.OperationalError > could not connect to server: No connection could be made because the target machine actively refused it. > (0x0000274D) > Is the server running on host 192.168.1.102 and accepting > TCP/IP connections on port 5432? > > I'm running pgsql 7.3.2 (with openssl installed but not specifically configured in any way since the installation) on FreeBSD 4.6. On another box I'm running Zope 2.5 on Win2K pro. > > I'm not sure how to confirm that the answer to the above question is "yes". If it is found to be "no" I don't know how to change it. This is why I'm not sure which mail list to send this to so I'm sending it to both. Thanks so much in advance for you help. > > Tamir >