Re: My Postgresql is inaccessible in Windows 8.1 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: My Postgresql is inaccessible in Windows 8.1
Date
Msg-id 8c4bc1df-b13e-5e4b-1e6d-4358035a8f5f@aklaver.com
Whole thread Raw
In response to Re: My Postgresql is inaccessible in Windows 8.1  (Melvin Davidson <melvin6925@gmail.com>)
List pgsql-general
On 08/03/2016 08:47 AM, Melvin Davidson wrote:
>
>

>
>
>     Well this looks like the Postgres log and it is showing that you are
>     trying to start Postgres when there is already another instance of
>     Postgres running.
>
>     What does the Task Manager show is running?
>
>     When I was talking about system logs I meant the OS logs, I was not
>     clear on that point.
>
>
>     --
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>
>
>
>     --
>     Sent via pgsql-general mailing list (pgsql-general@postgresql.org
>     <mailto:pgsql-general@postgresql.org>)
>     To make changes to your subscription:
>     http://www.postgresql.org/mailpref/pgsql-general
>
>
> *> 2016-08-02 17:05:59 BRT LOG:  database system was not properly shut
>> down; automatic recovery in progress
>
> <2016-08-03 08:42:39 BRT FATAL:  lock file "postmaster.pid" already exists
>>2016-08-03 08:42:39 BRT TIP: Another postmaster (PID 2968) is running
> under the data directory "C: / Program >Files / PostgreSQL / 9.5 / data"?
>
> These errors point to the source of your problem. When the database is
> shutdown imporperly
> (as in pulling the plug or manual power down), you often get left with
> the postmaster.pid file not beeing deleted.

Or Postgres is actually running and doing the below would not be good.

>
> So just go ahead and delete /PostgreSQL/9.5/data/postmaster.pid and you
> can then restart the PostgreSQL service.

It is a good idea to verify before deleting.

> *
> --
> *Melvin Davidson*
> I reserve the right to fantasize.  Whether or not you
> wish to share my fantasy is entirely up to you.


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: WAL directory size calculation
Next
From: JotaComm
Date:
Subject: Problem with partitioning