Thread: error starting the server 7.3.2
I installed PostgreSQL 7.3.2 binary via Redhat 8 RPM. When I tried to start the server, I got the following error:
[postgres@lbslnx05 postgresql]$ pg_ctl start -D /opt/postgresql/data -o "-i"
postmaster successfully started
[postgres@lbslnx05 postgresql]$ FATAL: File /opt/postgresql/data/PG_VERSION is
missing. This is not a valid data directory.
Any help will be appreciated.
Scott Ding
Didn't see a reply to this, I suspect your trying to start a database that hasn't had initdb run. Oddly, initdb doesn't seem to be mention in the long install instructions... See the following for more info: http://www.gtsm.com/cgi/psearch?page=installation.html#INSTALL-SHORThttp://www.gtsm.com/cgi/psearch?page=app-initdb.html;q=initdb;j=0;c=0;h=0 Robert Treat On Sat, 2003-02-08 at 13:35, scott.ding@autodesk.com wrote: > I installed PostgreSQL 7.3.2 binary via Redhat 8 RPM. When I tried to > start the server, I got the following error: > > [postgres@lbslnx05 postgresql]$ pg_ctl start -D /opt/postgresql/data -o > "-i" > postmaster successfully started > [postgres@lbslnx05 postgresql]$ FATAL: File > /opt/postgresql/data/PG_VERSION is > missing. This is not a valid data directory. > > Any help will be appreciated. > > > Scott Ding