X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0666E8B9E82 for ; Thu, 3 Feb 2005 08:53:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10109-10 for ; Thu, 3 Feb 2005 08:53:13 +0000 (GMT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by svr1.postgresql.org (Postfix) with ESMTP id B5C4C8B9E39 for ; Thu, 3 Feb 2005 08:53:11 +0000 (GMT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-33.mail.demon.net with esmtp (Exim 4.42) id 1Cwcje-0002xb-A8; Thu, 03 Feb 2005 08:53:10 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 5F4B3165CD; Thu, 3 Feb 2005 08:53:08 +0000 (GMT) Message-ID: <4201E674.60705@archonet.com> Date: Thu, 03 Feb 2005 08:53:08 +0000 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mohan Cc: pgsql-odbc@postgresql.org Subject: Re: plz do help me. References: <20050202143054.6039.qmail@kasc.ac.in> <1107357670.27386.49.camel@camel> <20050202160745.6633.qmail@kasc.ac.in> <42011325.4000000@archonet.com> <20050203051344.1691.qmail@kasc.ac.in> In-Reply-To: <20050203051344.1691.qmail@kasc.ac.in> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.069 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/7 X-Sequence-Number: 4897 Could you cc: the mailing list as well as replying to me? That way, if anyone else can help they can see the messages too. Mohan wrote: > Sir, > i have installed pgsql in fedora core 2, i have created users in pgsql, > we have created tables, there is no problem in creating tables , > everything working fine when we connect to pgsql and work by using ssh > login. Can you connect over the network from your Windows client (using pgadmin/psql)? > The pgsql windows odbc package has been installed in windows machine, i > have created dsn in windows machine for pgsql by odbc connectivity, > the problem is that "unable to connect to server" and after that we got > Data Access Error" What do the PostgreSQL logs show? Is there any record of your connection attempt? 1. Update your postgresql.conf to record connections, restart PG and test the logging works by connecting locally. 2. Then, try connecting from the Windows PC. 3. If there is no record of a connection in the PostgreSQL logs, you should check two things: i. Have you enabled internet connections in postgresql.conf? (tcpip_socket or listen_addresses) ii. Is your firewall blocking connections (check system logs) If there is a connection attempt in the logs, it should say why it failed. You can post the log here and we'll see what we can do. -- Richard Huxton Archonet Ltd