Re: [NOVICE] createdb problem
Larry Rosenman <ler@lerami.lerctr.org>
From: Larry Rosenman <ler@lerami.lerctr.org>
To: sprawlsr@worldnet.att.net (Robert J. Sprawls)
Cc: pgsql-novice@postgreSQL.org, pgsql-admin@postgreSQL.org, pgsql-bugs@postgreSQL.org
Date: 1999-11-14T19:32:40Z
Lists: pgsql-bugs
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