From: Robert C Paulsen Jr <robert@paulsenonline.net>
To: pgsql-admin@postgresql.org
Subject: md5 is invalid?
Date: Sun, 28 Mar 2004 18:25:43 -0600
Message-ID: <1080519943.21114.18.camel@avalon> (raw)
I am trying to setup postgresql 7.4.2 on Red Hat Enterprise ver 3.0.
I installed every rpm from the download directory:
$ rpm -qa | grep postgres
postgresql-docs-7.4.2-1PGDG
postgresql-contrib-7.4.2-1PGDG
postgresql-test-7.4.2-1PGDG
postgresql-libs-7.4.2-1PGDG
postgresql-debuginfo-7.4.2-1PGDG
postgresql-pl-7.4.2-1PGDG
postgresql-7.4.2-1PGDG
postgresql-devel-7.4.2-1PGDG
postgresql-python-7.4.2-1PGDG
postgresql-server-7.4.2-1PGDG
postgresql-tcl-7.4.2-1PGDG
postgresql-jdbc-7.4.2-1PGDG
I did "initdb -W -D /var/lib/pgsql/data" and it apparently worked.
I added a line to pg_hba.conf:
host all 192.168.0.0 255.255.255.0 md5
I started the server via "service postgresql start" and it appears to be
running OK.
I tried to log into the server (from userid postgres) but it failed:
$ psql template1
psql: FATAL: missing or erroneous pg_hba.conf file
HINT: See server log for details.
The log file shows:
LOG: invalid entry in pg_hba.conf file at line 67, token "md5"
FATAL: missing or erroneous pg_hba.conf file
HINT: See server log for details.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: robert@paulsenonline.net
Subject: Re: md5 is invalid?
In-Reply-To: <1080519943.21114.18.camel@avalon>
References: <1080519943.21114.18.camel@avalon>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox