Re: Installing Postgres w/RH9 - Mailing list pgsql-general

From Martin Marques
Subject Re: Installing Postgres w/RH9
Date
Msg-id 200312251311.02248.martin@bugs.unl.edu.ar
Whole thread Raw
In response to Re: Installing Postgres w/RH9  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Installing Postgres w/RH9
List pgsql-general
El Jue 25 Dic 2003 13:02, Tom Lane escribió:
> Lynn.Tilby@asu.edu writes:
> > -bash-2.05b$ postmaster&
> > [1] 3139
> > -bash-2.05b$ FATAL:  File /var/lib/pgsql/data/PG_VERSION is missing. This
is not
> > a valid data directory.
>
> You haven't run initdb, or at least haven't run it in that PGDATA
> directory.  If you think that the rpm package installation process
> should have run initdb (I honestly don't know whether it would or not),
> then check to see if your PGDATA setting agrees with the package docs.

The problem is that he's trying to start the postmaster form the comand line,
executing it directly.

Lynn, if you installed PostgreSQL from the rpms that come with RH9 (or Lamars
rpms) just try starting PostgreSQL from the init script:

# /etc/init.d/postgresql start

That script will run initdb if necesary, and set the PGDATA environment
variable if needed also.

Good luck!

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telemática
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Installing Postgres w/RH9
Next
From: Tom Lane
Date:
Subject: Re: Parser does not like %ROWTYPE in the RETURNS clause of a function declaration (BUG?)