Re: Starting postgresql server in RedHat 8.0 - Mailing list pgsql-novice

From Jason Earl
Subject Re: Starting postgresql server in RedHat 8.0
Date
Msg-id 87smvicv59.fsf@npa01zz001.simplot.com
Whole thread Raw
In response to Starting postgresql server in RedHat 8.0  (Rebecca.R.Hepper@seagate.com)
List pgsql-novice
Rebecca.R.Hepper@seagate.com writes:

> Hi All,
>
> I just installed RedHat 8.0 on a system.  I receive a failure status when I
> try to start the postrgresql server by doing the following command as root:
>
> /etc/init.d/postgresql start
>
> It is failing because there is no PG_VERSION file at /var/lib/pgsql/data.
> In the data directory, there is only one file:  pg_hba.conf.
>
> What can't I start the postgresql server?  I was able to start the server
> this way in RedHat 7.1.
>
> Thanks!
> Rebecca


You probably need to run initdb first (as user postgres).

Jason

pgsql-novice by date:

Previous
From: Jason Earl
Date:
Subject: Re: Learning Plpgsql ??
Next
From: "Josh Berkus"
Date:
Subject: Re: from mssql7.0 and ASP to postgres and PHP