Обсуждение: Install

Поиск
Список
Период
Сортировка

Install

От
"Sameer Maggon"
Дата:
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









Re: Install

От
Christopher Kings-Lynne
Дата:
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
>


Re: Install

От
"Sameer Maggon"
Дата:
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