Re: Cannot *start* server because of a typo in pg_hba.conf

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers ML <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cannot *start* server because of a typo in pg_hba.conf
Date: 2011-02-20 17:42:50
Message-ID: 1298223770.2735.43.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 2011-02-20 at 10:39 -0500, Tom Lane wrote:
>
> > Is it possible to drop something to (startup) log file and mention
> > about the syntax error in hba file?
>
> That information would certainly be logged somewhere. Maybe you
> looked in the wrong log file? Or you're using one of those
> configurations where early output to stderr goes to /dev/null?

I tried to start postmaster with:

* pg_ctl -D data start
* postmaster -D data
* pg_ctl -D data -l logfile start

None of them logged anything to anywhere. You can reproduce it on your
machine, too.
--
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-02-20 17:45:02 Re: Cannot *start* server because of a typo in pg_hba.conf
Previous Message Greg Stark 2011-02-20 17:39:18 Re: SR standby hangs