Re: Don't know where to begin - Mailing list pgsql-novice

From
Subject Re: Don't know where to begin
Date
Msg-id 001301c01d5b$4ae64bd0$2d01a8c0@Peter
Whole thread Raw
In response to Re: Don't know where to begin  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-novice
> Mark Cannata wrote:
>   >I've been trying to use Postgresql on Redhat Linux  for a while now
with
>   >no success.
>   >I can't get the postmaster to start (I'm trying to start it as
postgres)
>   >
>   >I can't get initdb or createdb  to run
>   >the directory for pgsql is in /var/lib, is this the right directory?
>   >I've read the postmaster man page and the documentation at the Postgres
>   >site, but I can't seem to get anywhere.
>

Try this:
become root , then:
/etc/rc.d/init.d/postgresql start

The manual (http://www.postgresql.org/docs/admin/postmaster-start.htm) says
the above script would be "/etc/rc.d/init.d/postgres.init" but the above is
where it lives on my Redhat setup.

You wouldn't need to be root if you know what the postrgres user's password
is.

Peter




pgsql-novice by date:

Previous
From: "Kevin Berrien"
Date:
Subject: RE: data entry
Next
From: "Oliver Elphick"
Date:
Subject: Re: Don't know where to begin