Re: Cannot Start Postgres After System Boot - Mailing list pgsql-general

From Andrej
Subject Re: Cannot Start Postgres After System Boot
Date
Msg-id AANLkTi=vFFTU_V_U+8OoetrBhUzg-U9fA90cXcSXkjwn@mail.gmail.com
Whole thread Raw
In response to Re: Cannot Start Postgres After System Boot  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 21 October 2010 16:50, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> could be reduced to just:
>
>                else
>                        su postgres -c 'postgres -D /var/lib/pgsql/data &'
>                        exit 0
>                fi


> I'm not sure about your comment that manual start attempts fail with
>        LOG:  could not bind IPv4 socket: Address already in use
> It's pretty hard to believe that that could occur on a freshly
> booted system unless the TCP port was in fact already in use ---
> ie, either there *is* a running postmaster, or something else is
> using port 5432.

I concur on both accounts; I would like to see the output of the
actual script, though, when it refuses to start; and also a
netstat -anp | grep 5432


Cheers,
Andrej

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Updates, deletes and inserts are very slow. What can I do make them bearable?
Next
From: Tim Uckun
Date:
Subject: Re: Updates, deletes and inserts are very slow. What can I do make them bearable?