Re: [GENERAL] Can't connect to PGSQL

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: ferdinan firmansyah <mymand(at)yahoo(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>, pgadmin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [GENERAL] Can't connect to PGSQL
Date: 2002-11-07 17:19:39
Message-ID: Pine.LNX.4.33.0211071018100.29627-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Mon, 4 Nov 2002, ferdinan firmansyah wrote:

> We have installed LinuxRedhat+PgSQL in our server. We
> can ping the server's IP. But we cannot connect our
> database through PGAdmin or our application. We have
> already set the port to the default.
>
> 1. What seems to be the problem?

Find your postgresql.conf file i.e. 'locate postgresql.conf'.
Edit it and change this line:

tcpip_socket = false

to look like this:

tcpip_socket = true

> 2. How can I read the server's activities?(reading the
> log)

Not sure. Look in the /var/log directory to see if RedHat sets up
postgresql to log there.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stephane Charette 2002-11-07 22:00:15 Re: Vacuum return codes (vacuum as db integrity check?)
Previous Message Bruno Wolff III 2002-11-07 16:33:34 Re: insert trigger

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2002-11-07 17:40:40 Re: OT: mailing list delays
Previous Message scott.marlowe 2002-11-07 17:18:02 Re: table growing