Discussion:
Problem after RH9 Install of 7.4.2
(too old to reply)
Bud Curtis
2004-04-04 05:23:25 UTC
Permalink
I recently built my RH9 system and updated the binary RPMs to 7.4.2.
I am new to Postgresql, but I think I understand the PDF documentation
provided. However, I couldn't find any documentation on starting with
the binary RPMs. Instead, the documentation seems to be bent on
building postgresql on the system.

When I attempt to start the server, ie.:

-bash-2.05b$ postmaster -D /usr/local/pgsql/data
FATAL: "/usr/local/pgsql/data" is not a valid data directory
DETAIL: File "/usr/local/pgsql/data/PG_VERSION" is missing.
-bash-2.05b$

I think I must be missing some environment variables and perhaps
configuration files. For example, I manually created the
/usr/local/pgsql/data after reading the Administrator install
instructions. It wasn't there just after installing the RPMs.

Also, it appears the RH9 RPMs installed postgresql in different
locations than the Administrator documentation implies. I would
appreciate any help that you might provide.

Regards,
Bud Curtis
Jim Seymour
2004-04-06 00:20:20 UTC
Permalink
***@direcway.com (Bud Curtis) wrote:
[snip]
Post by Bud Curtis
-bash-2.05b$ postmaster -D /usr/local/pgsql/data
FATAL: "/usr/local/pgsql/data" is not a valid data directory
DETAIL: File "/usr/local/pgsql/data/PG_VERSION" is missing.
-bash-2.05b$
[snip]
You need to read the docs. Start here

http://www.postgresql.org/docs/7.4/static/installation.html

Skip the parts about building pgsql. Read the rest.

Jim

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html
Lamar Owen
2004-04-06 02:28:29 UTC
Permalink
Post by Bud Curtis
I recently built my RH9 system and updated the binary RPMs to 7.4.2.
I am new to Postgresql, but I think I understand the PDF documentation
provided. However, I couldn't find any documentation on starting with
the binary RPMs. Instead, the documentation seems to be bent on
building postgresql on the system.
See /usr/share/doc/postgresql-7.4.2/README.rpm-dist
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Loading...