Re: PostgreSQL server won't start, corrupt?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: John R Pierce <pierce(at)hogranch(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL server won't start, corrupt?
Date: 2014-10-09 20:47:26
Message-ID: 5436F45E.7090505@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/10/2014 21:44, John R Pierce wrote:
> On 10/9/2014 1:41 PM, Raymond O'Donnell wrote:
>>> >The messages in the log file are: 2014-10-09 12:59:40 PDT LOG:
>>> >invalid connection type "" 2014-10-09 12:59:40 PDT CONTEXT: line 1
>>> >of configuration file "C:/postgres/pg_hba.conf" 2014-10-09 12:59:40
>>> >PDT FATAL: could not load pg_hba.conf
>> Well, the error messages seem to indicate that there's a problem with
>> pg_hba.conf, so I'd start by reversing whatever you did there and seeing
>> if that fixes it.
>
> OH! Notepad probably saved it as Windows Unicode, which is UTF16,
> and put a utf16 byte marker in the first bytes of the file.

I can see the lightbulb flashing on from this side of the Atlantic! :-)

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-10-09 20:56:55 Re: PostgreSQL server won't start, corrupt?
Previous Message Kevin Grittner 2014-10-09 20:46:26 Re: Optimal checkpoint_setting