Re: PostgreSQL server won't start, corrupt?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL server won't start, corrupt?
Date: 2014-10-09 20:44:04
Message-ID: 5436F394.1020107@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Try using notepad++ (open source freeware editor for windows) and make
sure you save it as UTF8 or plain ascii, NOT as UTF16 aka unicode.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ray Stell 2014-10-09 20:45:18 Re: PostgreSQL server won't start, corrupt?
Previous Message John R Pierce 2014-10-09 20:42:20 Re: PostgreSQL server won't start, corrupt?