Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 38994 invoked from network); 2 Aug 2006 06:09:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 06:09:45 -0000 Received: (qmail 66487 invoked by uid 500); 2 Aug 2006 06:09:38 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 66397 invoked by uid 500); 2 Aug 2006 06:09:38 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 66386 invoked by uid 99); 2 Aug 2006 06:09:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 23:09:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [193.110.75.129] (HELO home.finfort.com) (193.110.75.129) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 23:09:37 -0700 Received: from pt.dn.ua (pt.finfort.com [193.110.72.114]) by home.finfort.com (8.13.1/8.13.1) with ESMTP id k72693E7035882 for ; Wed, 2 Aug 2006 09:09:06 +0300 (EEST) (envelope-from vst@vst.donetsk.ua) Received: from [192.168.101.199] ([192.168.101.199]) by pt.dn.ua (8.13.6/8.13.6) with ESMTP id k726929E095818 for ; Wed, 2 Aug 2006 09:09:05 +0300 (EEST) (envelope-from vst@vst.donetsk.ua) Message-ID: <44D04312.3030006@vst.donetsk.ua> Date: Wed, 02 Aug 2006 09:15:46 +0300 From: "Vladimir S. Tikhonjuk" User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.13) Gecko/20060531 X-Accept-Language: ru-ru, ru, en-en, en MIME-Version: 1.0 To: modperl@perl.apache.org Subject: Re: Apache::DBI->connect_on_init Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.2/1630/Tue Aug 1 18:38:56 2006 on home.finfort.com X-Virus-Scanned: ClamAV 0.88.2/1630/Tue Aug 1 18:38:56 2006 on pt.dn.ua X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pt.dn.ua X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=9.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Well, I installed last versions of Apache ( 2.0.58 ), DBI ( 1.50 ), Apache-DBI ( 1.01 ) and mod_perl ( 2.0.2 ). Here is my stutup file: # Start of apache-dbi-startup.pl use Apache::DBI; use DBI; $Apache::DBI::DEBUG = 1; Apache::DBI->connect_on_init( "dbi:Pg:dbname=database;host=localhost", "user", "pass", { PrintError => 1, RaiseError => 1, AutoCommit => 0 } ); 1; # END of apache-dbi-startup.pl Here is my httpd.conf: PerlRequire "/etc/apache2/modules.d/apache-dbi-startup.pl" Apache starts without errors, but there are not any connection to Database. What's wrong ?