Install
hi,
I have Redhat 6.2 and just installed Postgres
Well i just rpmed packaages
postgresql-6.5...
postgresql-server...
Well now if i do
su postgres
bash$ createdb sameer
Connection to database 'template1' failed.
connectDB() -- connect() failed: Connection refused
Is the postmaster running at 'localhost' and
accepting connections on Unix socket '5432'?
createdb: database creation failed on sameer.
Please help
Sameer
It looks to me like postgres isn't actually running.
If it is running, you will need to check your startup script for it. To
allow TCP/IP connections to postgres you need to do one of the following:
1. If you run postgres using the 'postmaster' command, run it with '-i' as
a parameter.
2. I fyou run postgres using the 'pg_ctl' command, run it with the '-o
"-i"' parameter.
Read the man pages for either of these programs to learn more.
Chris
On 22 Sep 2001, Sameer Maggon wrote:
Show quoted text
hi,
I have Redhat 6.2 and just installed PostgresWell i just rpmed packaages
postgresql-6.5...
postgresql-server...Well now if i do
su postgresbash$ createdb sameer
Connection to database 'template1' failed.
connectDB() -- connect() failed: Connection refused
Is the postmaster running at 'localhost' and
accepting connections on Unix socket '5432'?createdb: database creation failed on sameer.
Please help
Sameer
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster