Re: psql: FATAL: Missing or erroneous pg_hba.conf file

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: bijoy(at)openlx(dot)com
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: psql: FATAL: Missing or erroneous pg_hba.conf file
Date: 2003-05-31 18:00:57
Message-ID: 200305311800.h4VI0vk03774@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Yes, this is a known bug in hba.c and was fixed here:

revision 1.98
date: 2003/04/13 04:07:17; author: tgl; state: Exp; lines: +11 -16
Second try at avoiding conflicts with system isblank().

The fix is in 7.3.3, just released. The easiest solution is to replace
\r\n with \n, as you suggest. I don't understand how you got \r\n in
that file on Linux, though.

---------------------------------------------------------------------------

bijoy(at)openlx(dot)com wrote:
> hi,
>
> I am working on postgres 7.3.2 and i get an error while creating a user.
> as,
> psql: FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for
> details
> i dunno what goes wrong...
> i searched the archives and found that that may be a problem with
> "\n" replaced with "\r\n".
> But i am working on a linux 9.0 system fresh installed,
> and didnt edit the conf file...
>
> any help is appreciated
> Thanks & regards,
> Bijoy
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dima Tkach 2003-05-31 18:15:04 dead tuples and VACUUM
Previous Message Bruce Momjian 2003-05-31 17:51:03 Re: default locale considered harmful? (was Re: [GENERAL]