installation problem

From: virka prasetia <virka(at)kmrg(dot)lib(dot)itb(dot)ac(dot)id>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: installation problem
Date: 2002-04-09 11:10:16
Message-ID: Pine.BSF.4.30.0204091108540.6372-100000@kmrg.lib.itb.ac.id
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


i'm having a trouble when installing the postgresql 7.2 on FreeBSD 4.2.

at the installation guide i must do the following:

./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

i'll do all the steps squebtially until
when i run the command /usr/local/pgsql/bin/createdb test
i got this error message :
psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
createdb: database creation failed
[2]+ Exit 2 /usr/local/pgsql/bin/postmaster -D
/usr/local/pgsql/data >logfile 2>&1

it seems that the the postmaster didn't run, so anybody have any idea to
help my problem? i'm really expect and would be very grateful for
it.

--

virka prasetia

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2002-04-09 13:26:21 Re: slow query
Previous Message PGMailList 2002-04-09 11:07:09 Re: Running stored procedure