pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <rtreat@webmd.net>
To: Mark Tessier <mt@open2web.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: db connection problem
Date: 02 Jul 2002 12:36:28 -0400
Message-ID: <1025627789.19423.57.camel@camel> (raw)
In-Reply-To: <20020701135453.6e3decd6.mt@open2web.com>
References: <20020701135453.6e3decd6.mt@open2web.com>

See if you can find out if the db is logging errors to a file or just
dumping things to standard out. It's pretty dependent on how your db is
started, but check if ps -ax shows anything like pg_ctl -l myfile or
postmaster > myfile. You might also want to check your postgresql.conf
file to see your debug setting and/or if syslog is turned on.

Robert Treat

On Mon, 2002-07-01 at 13:54, Mark Tessier wrote:
> I have a cgi script written in C++ and compiled with libpq++. The script attempts to connect to a postgresql database but fails, although I can connect to the database on the command line. I'm wondering if there is an error log somewhere that I can access that would give me more information about the problem.
> 
> -- 
> Thanks,
> 
> Mark
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 







view thread (2+ messages)

Message-ID: <1025627789.19423.57.camel@camel>
Permalink:  ../1025627789.19423.57.camel@camel/
Also on:    postgresql.org/message-id/1025627789.19423.57.camel@camel

 · 

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-admin@postgresql.org
  Cc: rtreat@webmd.net, mt@open2web.com
  Subject: Re: db connection problem
  In-Reply-To: <1025627789.19423.57.camel@camel>
  References: <20020701135453.6e3decd6.mt@open2web.com> <1025627789.19423.57.camel@camel>

* 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