X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B2A70475A71 for ; Tue, 25 Mar 2003 12:18:53 -0500 (EST) Received: from andrew.brobus.net (ns1.brobus.net [24.129.14.161]) by postgresql.org (Postfix) with ESMTP id D8A56474E44 for ; Tue, 25 Mar 2003 12:18:52 -0500 (EST) Subject: Re: Zope and ZPsycopgDA almost working... Date: Tue, 25 Mar 2003 12:21:21 -0500 Message-ID: <985DF46E87E0C047A3670048DBCAD0556BBA@andrew.brobus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Zope and ZPsycopgDA almost working... Thread-Index: AcLy4lFA0fmzEdC6QtyuJlkTQQckxAADk/eg X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 From: "Tamir Halperin" content-class: urn:content-classes:message To: "Robert Treat" Cc: , "Zope Database Mailing List" X-Spam-Status: No, hits=-9.8 required=5.0 tests=BAYES_01,QUOTED_EMAIL_TEXT 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/420 X-Sequence-Number: 8060 Hi Robert. Thanks for the feedback. My comments and questions below... > -----Original Message----- > From: Robert Treat [mailto:xzilla@users.sourceforge.net] > Sent: Tuesday, March 25, 2003 10:20 AM > To: Tamir Halperin > Cc: pgsql-admin@postgresql.org; Zope Database Mailing List > Subject: Re: [ADMIN] Zope and ZPsycopgDA almost working... >=20 > Sounds like your database might not be accepting outside connections. I agree. Psycopg seems to be saying exactly that from what appears to be a = healthy Zope environment. > Check your postgresql.conf file and make sure tcpip_socket =3D true I have a /usr/local/share/postgresql/postgresql.conf.sample file but I don'= t see a postgresql.conf file anywhere in the system. I've confirmed that the sample file is reflecting the default setting of fa= lse. How do I go about overriding the tcpip_socket =3D false setting for this sp= ecific pgsql service? > You might also need to configure your pg_hba.conf to allow connections > from your windows box. Likewise, I don't see a pg_hba.conf file in my system. My pg_hba.conf.sample file seems to show a tabular view of permissions of s= ome kind at the bottom: Type database user ip-address ip-mask method ------------------------------------------------------------- local all all trust host all all 127.0.0.1 255.255.255.255 trust Which modifications, if any, are needed to this table. How do I put them into effect seeing as how this is the sample file we're t= alking about. > Robert Treat >=20 > On Tue, 2003-03-25 at 01:20, Tamir Halperin wrote: > > I just figured out how to install ZPsycopgDA into zope on=20 > Windows. I configured it with all the connection string=20 > properties and attempted to add it to my zope folder. Here's=20 > what I got: > >=20 > > psycopg.OperationalError > > could not connect to server: No connection could be made=20 > 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? > >=20 > > I'm running pgsql 7.3.2 (with openssl installed but not=20 > specifically configured in any way since the installation) on=20 > FreeBSD 4.6. On another box I'm running Zope 2.5 on Win2K pro. > >=20 > > I'm not sure how to confirm that the answer to the above=20 > question is "yes". If it is found to be "no" I don't know how=20 > to change it. This is why I'm not sure which mail list to=20 > send this to so I'm sending it to both. Thanks so much in=20 > advance for you help. > >=20 > > Tamir