Re: Installing Postgres w/RH9

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

Thanks for all the help guys. This problem is solved...
Lynn

Quoting Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>:

> 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
> -----------------------------------------------------------------
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lynn.Tilby 2004-01-02 05:10:06 Cursor Not Found
Previous Message Baldur Norddahl 2004-01-02 04:49:21 Re: why the need for is null?