Обсуждение: Re: [NOVICE] createdb problem

Поиск
Список
Период
Сортировка

Re: [NOVICE] createdb problem

От
Larry Rosenman
Дата:
THis is how it starts on my 2.1.3 system.

SOMETHING HAS CHANGED between UnixWare 7.1.0 and 2.1.3 and 6.5.3

Since I'm not the only one seeing this, I suspect it is the
code and the interaction of the OS.

Larry
Robert J. Sprawls wrote:
>
>
> On Sun, 14 Nov 1999, Larry Rosenman wrote:
>
> > Here ya go:
> >
> > $ su - postmaster
> > UX:su: ERROR: Unknown user id: postmaster
> > $ su - postgres
> > Password:
> >
> > $ postmaster -i &
> > [1]     18803
> > $ psql
> > No pg_hba.conf entry for host localhost, user postgres, database postgres
> > Connection to database 'postgres' failed.
> > No pg_hba.conf entry for host localhost, user postgres, database postgres
>
> Ya need a few more options in there. Here is how I have mine startup on
> Slackware Linux:
>
> # Start up the PostgreSQL postmaster
> echo "Starting postmaster..."
> su postgres -c "/usr/local/pgsql/bin/postmaster -i -S -D /usr/local/pgsql/data"
>
> Also, did you define the environment variable PGDATA and the others?
>
> Robert
>
>
>
> ************
>


--
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749