pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feeddb connection problem
2+ messages / 2 participants
[nested] [flat]
* db connection problem
@ 2002-07-01 17:54 Mark Tessier <mt@open2web.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mark Tessier @ 2002-07-01 17:54 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: db connection problem
@ 2002-07-02 16:36 Robert Treat <rtreat@webmd.net>
parent: Mark Tessier <mt@open2web.com>
0 siblings, 0 replies; 2+ messages in thread
From: Robert Treat @ 2002-07-02 16:36 UTC (permalink / raw)
To: Mark Tessier <mt@open2web.com>; +Cc: 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
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-07-02 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-01 17:54 db connection problem Mark Tessier <mt@open2web.com>
2002-07-02 16:36 ` Robert Treat <rtreat@webmd.net>
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