Missing Data Directory

Поиск
Список
Период
Сортировка
От Jon Williams
Тема Missing Data Directory
Дата
Msg-id 3DE90974.995E9D2B@students.uwf.edu
обсуждение исходный текст
Список pgsql-novice
Hello,

When I try to start PostgreSQL, this happens:


[root@betelgeuse /root]# /etc/rc.d/init.d/postgresql start
Starting postgresql service: /usr/bin/postmaster does not find the
database system.  Expected to find it in the PGDATA directory
"/var/lib/pgsql", but unable to open file with pathname
"/var/lib/pgsql/base/template1/pg_class".

No data directory -- can't proceed.
postmaster []
[root@betelgeuse /root]#


The same thing happens when PostgreSQL tries to start when the system
boots up.  I have tried everything I can think of including reinstalling
PostgreSQL (which by the way was done through RPM).  What do I need to
do to create pg_class?  Is there anything else I need to do to get
PostgreSQL to work?

(I am using Red Hat Linux 6.0 and PostgreSQL version 6.4.2.)

Jon Williams



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

Предыдущее
От: Rod Kreisler
Дата:
Сообщение: Re: enum
Следующее
От: Dieter Maas
Дата:
Сообщение: DBF-Files