Install

Started by Sameer Maggonover 24 years ago3 messagesdocs
Jump to latest
#1Sameer  Maggon
sameermaggon@rediffmail.com

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

#2Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Sameer Maggon (#1)
Re: Install

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 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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

#3Sameer  Maggon
sameermaggon@rediffmail.com
In reply to: Christopher Kings-Lynne (#2)
Re: Install

hi,
guys
My problem has been resolved... I have installed

PostgresSQL 7.1 and that was a tar ball. I just followed the steps in the INSTALL and bingo.... everything worked fine....

Sameer