Re: Postgres does not start, gives no error

From: Joshua Drake <jd(at)commandprompt(dot)com>
To: "Akhtar Yasmin-B05532" <B05532(at)freescale(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres does not start, gives no error
Date: 2008-09-03 22:44:37
Message-ID: 20080903154437.248e4765@jd-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 3 Sep 2008 15:34:26 -0700
"Akhtar Yasmin-B05532" <B05532(at)freescale(dot)com> wrote:

> Even the command pg_ctl -D /home/data/www/pg7/data start
> Does not start the server, I mean the message I get on running the
> command, is:
> postmaster successfully started

O.k. what does the log say?

Joshua D. Drake

>
> But the status still shows,
> pg_ctl: postmaster or postgres is not running
>
> Also when I try to access psql, it gives me the following error..
>
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>
>
>
> -----Original Message-----
> From: Joshua Drake [mailto:jd(at)commandprompt(dot)com]
> Sent: Wednesday, September 03, 2008 3:25 PM
> To: Akhtar Yasmin-B05532
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Postgres does not start, gives no error
>
> On Wed, 3 Sep 2008 15:19:25 -0700
> "Akhtar Yasmin-B05532" <B05532(at)freescale(dot)com> wrote:
>
> >
> > It says,
> > pg_ctl: 5432: not found
> > postmaster successfully started
>
> pg_ctl doesn't take a -p argument for the port. -p is reserved for the
> path to the postmaster. Try:
>
> pg_ctl -D /home/data/www/pg7/data start
>
> Joshua D. Drake
>
>
> --
> The PostgreSQL Company since 1997: http://www.commandprompt.com/
> PostgreSQL Community Conference: http://www.postgresqlconference.org/
> United States PostgreSQL Association: http://www.postgresql.us/ Donate
> to the PostgreSQL Project: http://www.postgresql.org/about/donate
>
>
>

--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Akhtar Yasmin-B05532 2008-09-03 22:47:04 Re: Postgres does not start, gives no error
Previous Message Akhtar Yasmin-B05532 2008-09-03 22:34:26 Re: Postgres does not start, gives no error