Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Hong Yao <yahoon1982(at)gmail(dot)com>
Cc: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby
Date: 2020-09-29 03:28:29
Message-ID: CAOBaU_ZGojCrNv9=H1QY0Kq_Qi=FMO5Y6whGL=g52OQmU=yWVA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Le mar. 29 sept. 2020 à 11:05, Hong Yao <yahoon1982(at)gmail(dot)com> a écrit :

> Thank you, Ian.
>
> Is there a way to get rid of these msgs?
>

Please don't top post on this mailing list.

Those logs are harmless, but if you want to get rid of them you simply need
to write a small script that first check if the file exists, and exit with
a non zero return code if the wanted file doesn't exist.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2020-09-29 03:33:18 many "cp: cannot stat xxx No such file or directory" logs in warm standby
Previous Message Hong Yao 2020-09-29 03:05:22 Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby