Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 1EF923F7FDA for ; Thu, 22 Dec 2011 13:24:59 -0400 (AST) Received: from oproxy3-pub.bluehost.com ([69.89.21.8]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RdmNz-0008Go-0q for pgsql-bugs@postgresql.org; Thu, 22 Dec 2011 17:24:59 +0000 Received: (qmail 31501 invoked by uid 0); 22 Dec 2011 17:24:41 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by oproxy3.bluehost.com with SMTP; 22 Dec 2011 17:24:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=LJ4VYPdsHoLdwuBfsXuC3ECSvW1+GSwLb3BpjeWiRvQ=; b=WME4YvhsdNLfhwqvpvAbmQTDPz8X72SIU52B/HFxR1C4yfbyP97W7t6acnyOVQJnX1O4RP6zyobbE7lQNlQ6nBeQdjoFq6BztT8QtZBM2AVPezMCpktNlVEW9wjg1B7S; Received: from [177.0.29.218] (helo=[10.3.2.2]) by host159.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RdmNl-0001KY-F8 for pgsql-bugs@postgresql.org; Thu, 22 Dec 2011 10:24:41 -0700 Message-ID: <4EF36766.8030504@timbira.com> Date: Thu, 22 Dec 2011 14:22:46 -0300 From: Euler Taveira de Oliveira User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #6353: If there is invalid line in pg_hba.conf, DB start fails without any nofice and no logs in pgstartup. References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 177.0.29.218 authed with euler@timbira.com} X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/206 X-Sequence-Number: 32017 On 22-12-2011 12:53, erkan@eurotel.com.tr wrote: > If I add this line to pg_hba.conf, it causes a silent startup failure: > local all backup 127.0.0.1/32 trust > There is a linux user backup on this system. After adding this line and > issue "pg_ctl reload" it signals server successfully, no errors. But if I > stop db server, I can not start db anymore. Strangely no log exists in > pgstartup.log. Even I start with -d 5 debug param, it exists after "logging > shutdown" message. Debugging with gdb didn't help. After removing the line > added above in pg_hba.conf, db starts. > This is not a bug. Did you check your server logs (pgstartup.log must be the pg_ctl output)? I got: LOG: invalid authentication method "127.0.0.1/32" CONTEXT: line 80 of configuration file "/home/euler/pg90/data/pg_hba.conf" FATAL: could not load pg_hba.conf If you don't have logging_collector enabled, you should get the above message in your terminal. Problem is: instead of local you should use host. -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento