Bug 2486 - Postgres SQL does not appear to be working.
Summary: Postgres SQL does not appear to be working.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: postgresql
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Turner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-02 23:44 UTC by jhall
Modified: 2015-01-07 23:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-05-03 17:32:47 UTC
Embargoed:


Attachments (Terms of Use)

Description jhall 1999-05-02 23:44:30 UTC
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@xanax] (pts/2) # ls /var/lib/pgsql
[root@xanax] (pts/2) #

Comment 1 Jeff Johnson 1999-05-03 17:32:59 UTC
You need to create a database before starting postmaster:
    su postgres
    /usr/bin/initdb --pgdata=/var/lib/pgsql --pglib=/usr/lib/pgsql


Note You need to log in before you can comment on or make changes to this bug.