pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem after RH9 Install of 7.4.2
3+ messages / 3 participants
[nested] [flat]

* Problem after RH9 Install of 7.4.2
@ 2004-04-04 05:23  Bud Curtis <bud.curtis@direcway.com>
  0 siblings, 2 replies; 3+ messages in thread

From: bud.curtis@direcway.com @ 2004-04-04 05:23 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problem after RH9 Install of 7.4.2
@ 2004-04-06 00:20  Jim Seymour <jseymour@LinxNet.com>
  parent: Bud Curtis <bud.curtis@direcway.com>
  1 sibling, 0 replies; 3+ messages in thread

From: jseymour@LinxNet.com @ 2004-04-06 00:20 UTC (permalink / raw)
  To: pgsql-admin


bud.curtis@direcway.com (Bud Curtis) wrote:
> 
[snip]
> 
> 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$
[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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problem after RH9 Install of 7.4.2
@ 2004-04-06 02:28  Lamar Owen <lowen@pari.edu>
  parent: Bud Curtis <bud.curtis@direcway.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Lamar Owen @ 2004-04-06 02:28 UTC (permalink / raw)
  To: bud.curtis@direcway.com; +Cc: pgsql-admin

On Sunday 04 April 2004 12:23 am, Bud Curtis wrote:
> 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-04-06 02:28 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-04 05:23 Problem after RH9 Install of 7.4.2 Bud Curtis <bud.curtis@direcway.com>
2004-04-06 00:20 ` Jim Seymour <jseymour@LinxNet.com>
2004-04-06 02:28 ` Lamar Owen <lowen@pari.edu>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox