Re: BUG #14622: could not remove file "pg_xlog/RECOVERYXLOG": Permission denied

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: yasir(dot)siddiqi(at)verscomtech(dot)com
Cc: PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14622: could not remove file "pg_xlog/RECOVERYXLOG": Permission denied
Date: 2017-04-13 23:29:22
Message-ID: CAB7nPqSLD9mqHJ0KzNGf3TDOFHJk_j6CnKy2NRQdRR8W+Oqoww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Apr 13, 2017 at 6:51 PM, <yasir(dot)siddiqi(at)verscomtech(dot)com> wrote:
> I am getting bellow error on standby server while performing streaming based
> replication.
>
> could not remove file "pg_xlog/RECOVERYXLOG": Permission denied
>
> Steps to reproduce:
> Follow steps as mentioned in bellow guide.
> https://wiki.postgresql.org/wiki/Streaming_Replication
>
> Error will come on step 11. while starting postgres in the standby server.
>
> Postgres version primary server is 9.6.1
> Postgres version standby server is 9.6.2

You may have a virus scanner running on this server, causing
interference with the operations of Postgres. Note as well that
operations happening within Postgres are concurrent-compliant, so this
is not caused by something another backend is doing. I short you need
to look at if there is an external process having a look at this data
folder, and disable it or remove PGDATA from its cleaning routine.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-04-14 04:54:10 Re: Re: BUG #14623: pg_trgm doesn't correctly process some regexp with negative lookahead
Previous Message Corey Csuhta 2017-04-13 20:04:08 Re: BUG #14623: pg_trgm doesn't correctly process some regexp with negative lookahead