From: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
---|---|
To: | Sameer Maggon <sameermaggon(at)rediffmail(dot)com> |
Cc: | <pgsql-docs(at)postgresql(dot)org> |
Subject: | Re: Install |
Date: | 2001-09-22 09:41:42 |
Message-ID: | Pine.BSF.4.32.0109221739530.18784-100000@houston.familyhealth.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
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:
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2001-09-22 09:47:30 | Re: Full text search |
Previous Message | Sameer Maggon | 2001-09-22 06:19:30 | Install |