pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Mohan <raja@kasc.ac.in>
Cc: pgsql-odbc@postgresql.org
Subject: Re: plz do help me.
Date: Thu, 03 Feb 2005 08:53:08 +0000
Message-ID: <4201E674.60705@archonet.com> (raw)
In-Reply-To: <20050203051344.1691.qmail@kasc.ac.in>
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>

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



view thread (3+ messages)

Message-ID: <4201E674.60705@archonet.com>
Permalink:  ../4201E674.60705@archonet.com/
Also on:    postgresql.org/message-id/4201E674.60705@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: dev@archonet.com, raja@kasc.ac.in
  Subject: Re: plz do help me.
  In-Reply-To: <4201E674.60705@archonet.com>
  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> <4201E674.60705@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox