Re: Starting PostMaster

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: Starting PostMaster
Дата
Msg-id Pine.LNX.4.30.0101150158170.7699-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Starting PostMaster  (ashley <ashley@SITCAS.com.au>)
Список pgsql-novice
On Mon, 15 Jan 2001, ashley wrote:

> Instaled this morning
> indications all successful
>
> typing these commands as "postgres" a user as per the INSTALL
>
> /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
>
> gives:
>
> /usr/local/pgsql/bin/postmaster does not find the database system.
> Expected to find it in the PGDATA directory "/usr/local/pgsql/data", but
> unable to open file with pathname
> "/usr/local/pgsql/data/base/template1/pg_class".

Did you run initdb first?  This creates the default data directory you
need:

/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

Make sure /usr/local/pgsql/data exists and is owned by postgres.

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
You will be successful in your work.


В списке pgsql-novice по дате отправления:

Предыдущее
От: ashley
Дата:
Сообщение: Starting PostMaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Alternate Location