pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Can't connect to PGSQL
6+ messages / 6 participants
[nested] [flat]

* Can't connect to PGSQL
@ 2002-11-05 01:26 ferdinan firmansyah <mymand@yahoo.com>
  2002-11-05 01:33 ` Re: Can't connect to PGSQL Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2002-11-06 07:14 ` Re: Can't connect to PGSQL Michiel Lange <michiel@minas.demon.nl>
  2002-11-07 15:27 ` Re: [GENERAL] Can't connect to PGSQL Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
  2002-11-07 17:19 ` Re: [GENERAL] Can't connect to PGSQL scott.marlowe <scott.marlowe@ihs.com>
  2002-11-08 19:17 ` Re: Can't connect to PGSQL Thomas Swan <tswan@idigx.com>
  0 siblings, 5 replies; 6+ messages in thread

From: ferdinan firmansyah @ 2002-11-05 01:26 UTC (permalink / raw)
  To: pgsql <pgsql-general@postgresql.org>; pgsql-admin

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?
2. How can I read the server's activities?(reading the
log)


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Can't connect to PGSQL
  2002-11-05 01:26 Can't connect to PGSQL ferdinan firmansyah <mymand@yahoo.com>
@ 2002-11-05 01:33 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  4 siblings, 0 replies; 6+ messages in thread

From: Stephan Szabo @ 2002-11-05 01:33 UTC (permalink / raw)
  To: ferdinan firmansyah <mymand@yahoo.com>; +Cc: pgsql <pgsql-general@postgresql.org>; pgsql-admin

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?
> 2. How can I read the server's activities?(reading the
> log)

Are you allowing http connections to the server (tcpip_socket=true
in postgresql.conf) and are you allowing connections from the
machine in question (see pg_hba.conf)





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Can't connect to PGSQL
  2002-11-05 01:26 Can't connect to PGSQL ferdinan firmansyah <mymand@yahoo.com>
@ 2002-11-06 07:14 ` Michiel Lange <michiel@minas.demon.nl>
  4 siblings, 0 replies; 6+ messages in thread

From: Michiel Lange @ 2002-11-06 07:14 UTC (permalink / raw)
  To: pgsql-admin

did you start your databases with the -i option (enable TCP/IP connections)
if so, you may have a firewall or something disable port 5432
When you start your databases, how do you do so?
like: /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data -i
>/log/logfile-`date +"%d-%m-%y"` 2>&1
for postmaster sends it's output to stdout, so you have to redirect it...
you can just tail the logfile, open it with vi, vim or any other texteditor,
altough I suggest you use more or tail...

"ferdinan firmansyah" <mymand@yahoo.com> schreef in bericht
news:20021105012651.62134.qmail@web14006.mail.yahoo.com...
> 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?
> 2. How can I read the server's activities?(reading the
> log)
>
>
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [GENERAL] Can't connect to PGSQL
  2002-11-05 01:26 Can't connect to PGSQL ferdinan firmansyah <mymand@yahoo.com>
@ 2002-11-07 15:27 ` Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
  4 siblings, 0 replies; 6+ messages in thread

From: Shridhar Daithankar @ 2002-11-07 15:27 UTC (permalink / raw)
  To: pgsql <pgsql-general@postgresql.org>; pgsql-admin; ferdinan firmansyah <mymand@yahoo.com>

On 4 Nov 2002 at 17:26, 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?
> 2. How can I read the server's activities?(reading the
> log)

See if this helps you

http://wiki.ael.be/index.php/PostgresQL101

Bye
 Shridhar

--
It [being a Vulcan] means to adopt a philosophy, a way of life which islogical 
and beneficial.  We cannot disregard that philosophy merely forpersonal gain, 
no matter how important that gain might be.		-- Spock, "Journey to Babel", 
stardate 3842.4




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [GENERAL] Can't connect to PGSQL
  2002-11-05 01:26 Can't connect to PGSQL ferdinan firmansyah <mymand@yahoo.com>
@ 2002-11-07 17:19 ` scott.marlowe <scott.marlowe@ihs.com>
  4 siblings, 0 replies; 6+ messages in thread

From: scott.marlowe @ 2002-11-07 17:19 UTC (permalink / raw)
  To: ferdinan firmansyah <mymand@yahoo.com>; +Cc: pgsql <pgsql-general@postgresql.org>; pgsql-admin

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.




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Can't connect to PGSQL
  2002-11-05 01:26 Can't connect to PGSQL ferdinan firmansyah <mymand@yahoo.com>
@ 2002-11-08 19:17 ` Thomas Swan <tswan@idigx.com>
  4 siblings, 0 replies; 6+ messages in thread

From: Thomas Swan @ 2002-11-08 19:17 UTC (permalink / raw)
  To: ferdinan firmansyah <mymand@yahoo.com>; +Cc: pgsql <pgsql-general@postgresql.org>; pgsql-admin

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?
>
Check to see if you installed RedHat with firewall rules.  This might 
also prevent connections.





^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2002-11-08 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 01:26 Can't connect to PGSQL ferdinan firmansyah <mymand@yahoo.com>
2002-11-05 01:33 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-11-06 07:14 ` Michiel Lange <michiel@minas.demon.nl>
2002-11-07 15:27 ` Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
2002-11-07 17:19 ` scott.marlowe <scott.marlowe@ihs.com>
2002-11-08 19:17 ` Thomas Swan <tswan@idigx.com>

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