Re: Installing Postgres w/RH9

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Lynn(dot)Tilby(at)asu(dot)edu
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installing Postgres w/RH9
Date: 2003-12-25 16:11:02
Message-ID: 200312251311.02248.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El Jue 25 Dic 2003 13:02, Tom Lane escribió:
> Lynn(dot)Tilby(at)asu(dot)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(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-12-25 16:11:11 Re: Parser does not like %ROWTYPE in the RETURNS clause of a function declaration (BUG?)
Previous Message Tom Lane 2003-12-25 16:02:40 Re: Installing Postgres w/RH9