Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2cFR-00031n-Qy for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Nov 2023 19:05:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r2cFQ-000Ngi-0p for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Nov 2023 19:05:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2cFP-000NgW-K0 for pgsql-bugs@lists.postgresql.org; Mon, 13 Nov 2023 19:05:23 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r2cFN-006G8u-Ap for pgsql-bugs@lists.postgresql.org; Mon, 13 Nov 2023 19:05:23 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5435336ab0bso7458104a12.1 for ; Mon, 13 Nov 2023 11:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1699902320; x=1700507120; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=tPhoEw8xIfdi44Qyoq3VHF+2cNAjl06tTIIMZEW6gEE=; b=U2emqed69kCVxeeb49b2xBnfvLu7P+iy87XULEPi76FeBwMqlEviaI+Tk7H/gQmcAM Qvsez7oZj/eh+pauz9jblpIusAavVDrXqHW/93MHnT+L7Ri/TcQ6/PzwPNxqjWeoutoM uKjkDi2JnNqSQxfa5oDTCDp7NG++XYTN8VA6ViuQGhej0S72v9ztWfJB4T5sEjSUTPtc DHS4QgkUNhfVxcnIynAGkCMvEpoGqg5dCv8tgI76L3FeWDdDcrWExzU4sOZHoaV2b3wx RjHqmOMtXGk0ZQ2QD69zEDP2kj2s9lAp47j2hQFqvH4W0RTtPHT2uywxHCePApmZcBQI Qijw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699902320; x=1700507120; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tPhoEw8xIfdi44Qyoq3VHF+2cNAjl06tTIIMZEW6gEE=; b=ZRmNkQxyW1UhBQYx/Z2ADSxTQRWYuuIOkj9Zd0+rA5P4W9R0QTSa1CLMZrN5mxlyxm 7Dsxu3IpcAHwiWgXLkfuWWbo0Iwoca7BeXCglOMkZt+I283sw79KMWmBk4qI+hRppIzd 7Tnm2VzalL9QcBvngAhMgNsesT2uBIjVYvkbxF7TuKOYlPgeKxp06ZZMKwvUoP9HsmDD lSRle6DCBhexBBqsAhWciLq1B71aphq9IO2mCXAmN2EeiLRnlQaIs+Z26Oyf2PrgA8wc YbqEc+bQ2zKTczSNAu51p/4AGxq6hhdYhclQCHxOfrJ1F5XGPWCD7xvdFCu97PbJYjXh 8m7A== X-Gm-Message-State: AOJu0YzdrdbOs7qXOx5iH9GURFGhUjO2PPMcUGvB89GhCiCk+VOMd4K5 elWxNAEc1aRwXIb1w3SElL/3KA== X-Google-Smtp-Source: AGHT+IHfL0EAXTlJ7Q+YCy9RqT6XQAiWnlzrJbLkFcMOgMp+PVTfYiM8nCXWR4n9ZeTZ55EMK9YGdQ== X-Received: by 2002:a05:6402:4416:b0:547:6601:d46 with SMTP id y22-20020a056402441600b0054766010d46mr2243163eda.30.1699902320019; Mon, 13 Nov 2023 11:05:20 -0800 (PST) Received: from localhost.localdomain (p50992f7c.dip0.t-ipconnect.de. [80.153.47.124]) by smtp.gmail.com with ESMTPSA id n11-20020a50934b000000b00540e894609dsm4112064eda.17.2023.11.13.11.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 11:05:19 -0800 (PST) Message-ID: <6df759efadaf406cf72ee4440204b25aa4ca407f.camel@cybertec.at> Subject: Re: BUG #18179: Cluster History Error From: Laurenz Albe To: Abdullah Ergin , Michael Paquier Cc: pgsql-bugs@lists.postgresql.org Date: Mon, 13 Nov 2023 20:05:19 +0100 In-Reply-To: References: <18179-c25cb10fdc41bbf5@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2023-11-13 at 21:00 +0300, Abdullah Ergin wrote: > =C2=A0Nov 09 17:01:44 se-prd-db02 postgresql@13-mydb[767207]: sh: 1: pgba= ckrest: not found > =C2=A0Nov 09 17:01:44 se-prd-db02 postgresql@13-mydb[767207]: 2023-11-09 = 17:01:44.700 +03 [767228] FATAL: could not restore file "00000004.history" = from archive: command not found > =C2=A0Nov 09 17:01:44 se-prd-db02 postgresql@13-mydb[767207]: 2023-11-09 = 17:01:44.703 +03 [767227] LOG: startup process (PID 767228) exited with exi= t code 1 > =C2=A0Nov 09 17:01:44 se-prd-db02 postgresql@13-mydb[767207]: 2023-11-09 = 17:01:44.703 +03 [767227] LOG: aborting startup due to startup process fail= ure > =C2=A0Nov 09 17:01:44 se-prd-db02 postgresql@13-mydb[767207]: 2023-11-09 = 17:01:44.745 +03 [767227] LOG: database system is shut down >=20 > Based on this, I checked the `postgresql.auto.conf` on my master server, = and the restore information found there is as follows: >=20 > # Recovery settings generated by pgBackRest restore on 2021-09-29 01:04:4= 0 > restore_command =3D 'pgbackrest --stanza=3Dmydb_stanza archive-get %f "%p= ' Use the absolute path for "pgbackrest". Did you install pgBackRest on the standby? Yours, Laurenz Albe