Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 6DA0E475F78 for ; Tue, 2 Jul 2002 13:45:22 -0400 (EDT) Mailbox-Line: From rtreat@webmd.net Tue Jul 2 13:45:22 2002 Received: from briar.mmrd.com (unknown [208.255.226.182]) by postgresql.org (Postfix) with ESMTP id ED39D475E3D for ; Tue, 2 Jul 2002 12:38:38 -0400 (EDT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by briar.mmrd.com (8.11.2/8.11.2) with ESMTP id g62HZjL09272; Tue, 2 Jul 2002 13:35:45 -0400 Received: from [172.25.1.55] ([172.25.1.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id g62GchY21677; Tue, 2 Jul 2002 12:38:44 -0400 Subject: Re: db connection problem From: Robert Treat To: Mark Tessier Cc: pgsql-admin@postgresql.org In-Reply-To: <20020701135453.6e3decd6.mt@open2web.com> References: <20020701135453.6e3decd6.mt@open2web.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 02 Jul 2002 12:36:28 -0400 Message-Id: <1025627789.19423.57.camel@camel> Mime-Version: 1.0 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,SUPERLONG_LINE version=2.30 X-Spam-Level: X-Archive-Number: 200207/33 X-Sequence-Number: 4719 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 >