Re: db connection problem

From: Robert Treat <rtreat(at)webmd(dot)net>
To: Mark Tessier <mt(at)open2web(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: db connection problem
Date: 2002-07-02 16:36:28
Message-ID: 1025627789.19423.57.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Simeone, Mario 2002-07-02 17:29:18 unsubscribe
Previous Message Stephan Szabo 2002-07-02 16:09:41 Re: No buffer space