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 1sZT8h-001EAU-WD for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 10:34:32 +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 1sZT8g-007KRQ-8m for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 10:34:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZT8f-007KRI-LT for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2024 10:34:29 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sZT8c-002Ww4-4y for pgsql-general@postgresql.org; Thu, 01 Aug 2024 10:34:28 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5b01af9b0c9so5851716a12.3 for ; Thu, 01 Aug 2024 03:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722508464; x=1723113264; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wmhqi1R2Y0+f8OX7KdgCQxn5uHftYX7Vfw9b+VwX5aw=; b=CadviZKhEurTEVXSZDd6E+Qzv5f6dp7vizYjhJJ8CPG2mFFbQ0ABby79AyHdhvpMmi cHiMADTF5AoJlu6JokbASZMesDzdJ5F6NIPhFyxtNbmfeopmkVv8lkNBa1VMRz6vYpWy rQ/J1NTUScMlaW7MzC3DbaBTbVi53sqL9OBeLF3lTCkg+u41eCT/2N+2VGHIXVma7eqf LXGpuzHyvrhWjEUt9BHbKi+7nd4Si7ZJzRCKfKz0cj+lInn/RfNs5rHT8A4Xrvt75CyF puY1wxTZ42a+1hBiRcXNnWakkRZ7jWshajYptdof+95N6UctSfChz/ywC6VV89+PIJAB ApDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722508464; x=1723113264; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wmhqi1R2Y0+f8OX7KdgCQxn5uHftYX7Vfw9b+VwX5aw=; b=GZV+QtttRz3HZaSBjvg1RmcnJZ08+WK+YlJtYWC/Um80ALHLGPmGWFQNR6YUzbvKeJ Th5KB8COC4tLOfgkMfVddSevGIeaAtcf4YydMZBIdJYRyVVbE9ZfkhFSoi4WjJH+L1xY jHaK5dSGTjq6QCFpe/m/Ac+LU9deeMMAub5uIkXi07noBSbbi03nnw/THH9aYsNDMP2h JfpQx8olyT/cdf9sj+VHXZLRXLBLLrWxRBT4ZqECXeUjD8wmQiIq4lng7oabjNVrs+Oa jw2ckI27rWmOKabXcuQLjaOtdJa1aFsZsnQFycO95xx0+o00Qb37CqQJ5mSJCFYUfX6+ ThFQ== X-Forwarded-Encrypted: i=1; AJvYcCU+pleTd2LuJwd+7dzlfKkDIU6r1AHZ3Pysek1FP56xyxOnHpwfrZ2rPpceWSjJ3UoEft3ArxWuS8mVBQHWTYBCn9HuTHuCvD/xpUWW X-Gm-Message-State: AOJu0Yzpwpi7sxf+aSSQNwTc0SllfX4/sj1VfB4cNBLFYCYLK+gdUtz3 WoEmMIsSn7rexnhawsWaKw8ZF7WKQKJatcBwdmURM933O0eh2QQvS3ygxgPI6biGkeY//Un5doy 9ZWmBbizVGBaNLR94Xj1oB6RWuxjZefXF X-Google-Smtp-Source: AGHT+IHChxoYA/16J4LVVKiDWwC0LOk8jFseN+4AbO7Eaw2Ll9gBGzvCQLTquqmbhm+PivvheCJJhHclqtsSfsRpQD0= X-Received: by 2002:a17:907:7e8e:b0:a7a:b9dd:7757 with SMTP id a640c23a62f3a-a7daf2d6a1dmr182406666b.12.1722508463732; Thu, 01 Aug 2024 03:34:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mateusz Henicz Date: Thu, 1 Aug 2024 12:34:12 +0200 Message-ID: Subject: Re: PgBackRest PTR recovery: After table drop to get dropped state To: KK CHN Cc: Kashif Zeeshan , pgsql-general Content-Type: multipart/alternative; boundary="0000000000001a82d7061e9cc17d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001a82d7061e9cc17d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable When you are performing PITR you need to configure a timestamp before your last committed transaction. In your case you provided timestamp after your last commit. When postgtes is restoring until a specified point, it restores a transaction from WAL, and checking if next transaction is before or after said timestamp. If it is before it will replay it and check next transaction. Until next transaction is after configured timestamp. If there is no transaction after your current timestamp in current WAL, postgres will try to restore next WAL from archive. And since there is no next WAL, and your timestamp is past latest committed transaction, it is unable to continue, because it does not know if there should be any other transaction replayed or not. Just perform some other actions after you note down the timestamp after drop table. Create another one, insert some data, do whatever to have another transaction in WALs. Cheers, Mateusz czw., 1 sie 2024 o 12:23 KK CHN napisa=C5=82(a): > The logs are here. > > https://pastecode.io/s/s5dp8ur1 > > > > On Thu, Aug 1, 2024 at 3:30=E2=80=AFPM Kashif Zeeshan > wrote: > >> Hi >> >> On Thu, Aug 1, 2024 at 2:54=E2=80=AFPM KK CHN wrote= : >> >>> List, >>> >>> *Not working (start EPAS server always fails):* >>> >>> 1. Testing PTR using PgBackRest(2.52.1) on RHEL9 EPAS-16, and RHEL9 = ( >>> Repo Server) >>> >>> When I do a PTR >>> >>> 1. After doing a table drop and then >>> 2. Noting down the time stamp and then >>> 3. Taking an incremental backup in hope that If I do a restore from thi= s >>> incr Backup, that won't contain the dropped table. >>> 4. Correct me if I am conceptually wrong here. >>> 5. I am *never *successful in restoring the EPAS server in this >>> scenario. >>> >>> >>> *I know the following will work for me, w*hy not the above one if I >>> really want that state of cluster also ? >>> >>> *This is Working. * >>> 1. Create table >>> 2. Noting down the timestamp >>> 3. Taking incremental backup on RepoServer. >>> 4. drop the created table . >>> 5. Then stop the EPAS server and do a PTR, by the --set=3Dstep 3 incr >>> backup and target=3D step 2 time stamp .. It finished the pgaback rest= ore >>> and promote command >>> 6. I am able to start back the EPAS server and see the dropped table >>> recovered there. >>> >>> But If I want a PTR as in the first section it fails.. Why ? >>> >>> Thank you, >>> Krishane >>> >>> >>> >>> >>> >>> *What I have done and results obtained: * >>> >>> Created a table important_table4 in my EPAS and note down the time afte= r >>> creation of this table it is ( t1 : "01-AUG-24 14:08:32.447796+05:30"= ) >>> >>> Then I performed an Incremental backup (incr backup: >>> 20240729-160137F_20240801-141148I ) >>> timestamp start/stop: 2024-08-01 14:11:48+05:30 / 2024-08-01 >>> 14:11:52+05:30 >>> >>> >>> Now I dropped the table table4 from the EPAS and noted down the time >>> >>> >>> I want to restore the table4,, so I stopped EPAS and executed >>> >>> $ sudo -u enterprisedb pgbackrest --stanza=3DDemo_Repo --delta >>> --set=3D20240729-160137F_20240801-141148I --target-timeline=3Dcurrent >>> --type=3Dtime --target=3D"01-AUG-24 14:08:32.447796+05:30" >>> --target-action=3Dpromote restore >>> >>> IT WORKS AS EXPECTED .. after restarting the EPAS I am able to get the >>> important_table4 back. >>> >>> root@service01 ~]# sudo -u enterprisedb psql edb >>> psql (16.3.0) >>> Type "help" for help. >>> >>> edb=3D# \dt >>> List of relations >>> Schema | Name | Type | Owner >>> --------+------------------+-------+-------------- >>> public | important_table | table | enterprisedb >>> public | important_table2 | table | enterprisedb >>> public | important_table3 | table | enterprisedb >>> public | important_table4 | table | enterprisedb >>> (4 rows) >>> >>> SO all works fine !!!! . >>> >>> >>> *But Now the PROBLEM Statement. * >>> >>> *1. I am dropping the table table 4 again * >>> edb=3D# \q >>> [root@service01 ~]# sudo -u enterprisedb psql -c "begin; drop table >>> important_table4; commit;" edb >>> BEGIN >>> DROP TABLE >>> COMMIT >>> *2 . [root@service01 ~]#* sudo -u enterprisedb psql -Atc "select >>> current_timestamp" edb 01-AUG-24 14:23:22.085076 +05:30 >>> Noting the time as : (01-AUG-24 14:23:22.085076 +05:30 ) >>> >>> 3. Now I am performing an incremental backup after step 2 on REPO >>> SErver ( Hoping that this latest INCR Backup is without dropped >>> important_table4, so that a recovery of the cluster shouldn't show the >>> table4 again. ) >>> >>> incr backup details. : 20240729-160137F_20240801-142433I >>> timestamp start/stop*: 2024-08-01 14:24:33+05:30 / >>> 2024-08-01 14:24:36+05:30* >>> >>> 4. Now I want to test the database recovery after dropping the table4 >>> in step1 to verify that my EPAS restores from the backup in step 3 and = time >>> stamp (01-AUG-24 14:23:22.085076 +05:30, so that the restored EPAS >>> cluster doesn't contain the important_table4. >>> >>> 5. $ sudo -u enterprisedb pgbackrest --stanza=3DDemo_Repo --delta >>> --set=3D20240729-160137F_20240801-142433I --target-timeline=3Dcurrent >>> --type=3Dtime --target=3D"01-AUG-24 14:23:22.085076+05:30" >>> --target-action=3Dpromote restore >>> ------------ >>> ------------- >>> INFO: restore command end: completed successfully (1035ms) >>> >>> *ISSUE: I am unable to get the EPAS Server* in running state after >>> step 5 >>> >>> *What am I doing wrong ? OR am I conceptually wrong ?* >>> >>> >>> >>> >>> OUTPUT on executing step 5. >>> >>> [root@service01 ~]# sudo -u enterprisedb pgbackrest --stanza=3DDemo_Rep= o >>> --delta --set=3D20240729-160137F_20240801-142433I --target-timeline=3D= current >>> --type=3Dtime --target=3D"01-AUG-24 14:23:22.085076+05:30" >>> --target-action=3Dpromote restore >>> >>> 2024-08-01 14:30:03.535 P00 INFO: restore command begin 2.52.1: >>> --delta --exec-id=3D82738-b5fe7415 --log-level-console=3Dinfo >>> --log-level-file=3Ddebug --pg1-path=3D/var/lib/edb/as16/data >>> --pg-version-force=3D16 --repo1-host=3D10.10.20.7 --repo1-host-user=3Dp= ostgres >>> --set=3D20240729-160137F_20240801-142433I --stanza=3DDemo_Repo >>> --target=3D"01-AUG-24 14:23:22.085076+05:30" --target-action=3Dpromote >>> --target-timeline=3Dcurrent --type=3Dtime >>> 2024-08-01 14:30:03.880 P00 INFO: repo1: restore backup set >>> 20240729-160137F_20240801-142433I, recovery will start at 2024-08-01 >>> 14:24:33 >>> 2024-08-01 14:30:03.881 P00 INFO: remove invalid files/links/paths >>> from '/var/lib/edb/as16/data' >>> 2024-08-01 14:30:04.567 P00 INFO: write updated >>> /var/lib/edb/as16/data/postgresql.auto.conf >>> 2024-08-01 14:30:04.569 P00 INFO: restore global/pg_control (performe= d >>> last to ensure aborted restores cannot be started) >>> 2024-08-01 14:30:04.569 P00 INFO: restore size =3D 75.9MB, file total= =3D >>> 2171 >>> 2024-08-01 14:30:04.569 P00 INFO: restore command end: completed >>> successfully (1035ms) >>> *[root@service01 ~]# systemctl start edb-as-16.service* >>> >>> *Now If I check the server status : Its dead * >>> >>> [root@service01 ~]# systemctl status edb-as-16.service >>> =C3=97 edb-as-16.service - EDB Postgres Advanced Server 16 >>> Loaded: loaded (/etc/systemd/system/edb-as-16.service; disabled; >>> preset: disabled) >>> *Active: failed* (Result: exit-code) since Thu 2024-08-01 14:30:58 >>> IST; 4s ago >>> Duration: 228ms >>> Process: 82752 ExecStartPre=3D/usr/edb/as16/bin/edb-as-16-check-db-= dir >>> ${PGDATA} (code=3Dexited, status=3D0/SUCCESS) >>> Process: 82757 ExecStart=3D/usr/edb/as16/bin/edb-postgres -D ${PGDA= TA} >>> (code=3Dexited, status=3D1/FAILURE) >>> Main PID: 82757 (code=3Dexited, status=3D1/FAILURE) >>> CPU: 325ms >>> >>> Aug 01 14:30:56 service01 systemd[1]: Starting EDB Postgres Advanced >>> Server 16... >>> Aug 01 14:30:56 service01 edb-postgres[82757]: 2024-08-01 14:30:56 IST >>> LOG: redirecting log output to logging collector process >>> Aug 01 14:30:56 rservice01 edb-postgres[82757]: 2024-08-01 14:30:56 IST >>> HINT: Future log output will appear in directory "log". >>> Aug 01 14:30:58 service01 systemd[1]: Started EDB Postgres Advanced >>> Server 16. >>> Aug 01 14:30:58 service01 systemd[1]: edb-as-16.service: Main process >>> exited, code=3Dexited, status=3D1/FAILURE >>> Aug 01 14:30:58 service01 systemd[1]: edb-as-16.service: Killing proces= s >>> 82758 (edb-postgres) with signal SIGKILL. >>> A*ug 01 14:30:58 service01 systemd[1]: edb-as-16.service: Failed with >>> result 'exit-code'.* >>> [root@service01 ~]# >>> >>> Any hints/guidance most welcome. >>> >>> Can you please share the DB Server log as it contains the exact error >> which is causing the server not to start. >> >> Thanks >> > --0000000000001a82d7061e9cc17d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When you are performing PITR you need to configure a times= tamp before your last committed=C2=A0transaction. In your case you provided= timestamp after your last commit.

When postgtes is rest= oring until a specified point, it restores a transaction from WAL, and chec= king if next transaction is before or after said timestamp. If it is before= it will replay it and check next transaction. Until next transaction is af= ter configured timestamp.
If there is no transaction after your c= urrent timestamp in current WAL, postgres will try to restore next WAL from= archive. And since there is no next WAL, and your timestamp is past latest= committed=C2=A0transaction, it is unable to continue, because it does not = know if there should be any other transaction replayed or not.
Just=C2=A0perform some other actions after you note down the t= imestamp after drop table. Create=C2=A0another one, insert some data, do wh= atever to have another transaction in WALs.

Cheers= ,
Mateusz

czw., 1 sie 2024 o 12:23=C2=A0KK CHN <kkchn.in@gmail.com> napisa=C5=82(a):<= br>
The logs are here.=C2=A0=C2=A0


On Thu, Aug 1, 2024 at 3:30=E2=80=AFPM Kashif Zeeshan <kashi.zeeshan@gmail.com> wrote:
Hi

List,

Not working= (start EPAS server always fails):=C2=A0

1. Te= sting PTR using=C2=A0 PgBackRest(2.52.1)=C2=A0 on RHEL9=C2=A0 EPAS-16, and = RHEL9 ( Repo=C2=A0 =C2=A0 =C2=A0 =C2=A0Server)=C2=A0

=C2=A0 When I do a PTR

1.=C2=A0 After doing a t= able drop and then
2. Noting down the time stamp and then=C2=A0
3. Taking an incremental=C2=A0backup in hope that If I do a restor= e=C2=A0from this incr Backup, that won't=C2=A0 contain the=C2=A0 droppe= d table.=C2=A0
4.=C2=A0Correct me=C2=A0 if I=C2=A0am=C2=A0 concep= tually wrong here.=C2=A0=C2=A0
5.=C2=A0 I am never success= ful in restoring the EPAS server in this scenario.


I know the following=C2=A0will work for me, w= hy not the above one if I really want=C2=A0that state of cluster also=C2=A0= ?=C2=A0

This is Working.=C2=A0
=C2=A01. Create table=C2=A0
2. Noting down the timestamp
=
3.=C2=A0 Taking incremental backup on RepoServer.
4. drop th= e created table .
5. Then stop the EPAS server and do a=C2=A0 PTR= , by the=C2=A0 --set=3Dstep 3 incr backup=C2=A0 and target=3D step 2 time s= tamp .. It finished the pgaback=C2=A0restore and promote=C2=A0command
=
6. I am able to start back the=C2=A0 EPAS server and see the dropped t= able recovered there.

But If I want a PTR as in th= e first section it fails.. Why ?=C2=A0

Thank you,<= /div>
Krishane



<= br>

What I have done and results obtained:=C2= =A0

Created a table important_table4 in my EPA= S and note down the time after creation of this table it is=C2=A0 ( t1 :=C2= =A0 "01-AUG-24 14:08:32.447796+05:30" )

= Then I performed an Incremental backup=C2=A0 =C2=A0(incr backup: 20240729-1= 60137F_20240801-141148I )
timestamp start/stop: 2024-08-01 14:11:= 48+05:30 / 2024-08-01 14:11:52+05:30


Now I dropped the table table4 from the EPAS and noted down the time= =C2=A0


I want to=C2=A0 restore the = table4,, so I stopped EPAS and executed=C2=A0

$ su= do -u enterprisedb pgbackrest --stanza=3DDemo_Repo --delta --set=3D20240729= -160137F_20240801-141148I =C2=A0--target-timeline=3Dcurrent --type=3Dtime = =C2=A0--target=3D"01-AUG-24 14:08:32.447796+05:30" --target-actio= n=3Dpromote restore

IT WORKS AS EXPECTED .. af= ter restarting the EPAS I am able to get the important_table4 back.=C2=A0

root@service01 ~]# sudo -u enterprisedb psql edbpsql (16.3.0)
Type "help" for help.

edb=3D# \dt
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 List of relations
= =C2=A0Schema | =C2=A0 =C2=A0 =C2=A0 Name =C2=A0 =C2=A0 =C2=A0 | Type =C2=A0= | =C2=A0 =C2=A0Owner
--------+------------------+-------+--------------<= br>=C2=A0public | important_table =C2=A0| table | enterprisedb
=C2=A0pub= lic | important_table2 | table | enterprisedb
=C2=A0public | important_t= able3 | table | enterprisedb
=C2=A0public | important_table4 | table | e= nterprisedb
(4 rows)

SO all works fine !!!! .=C2=A0


But Now the PROBLEM Statement.= =C2=A0

1. I am dropping the table table= 4=C2=A0again=C2=A0
edb=3D# \q
[root@service01 ~]# sudo -u= enterprisedb psql -c "begin; drop table important_table4; commit;&quo= t; edb
BEGIN
DROP TABLE
COMMIT
2 .=C2=A0 [root@service01 ~]#= sudo -u enterprisedb psql -Atc "select current_timestamp" ed= b=C2=A0 01-AUG-24 14:23:22.085076 +05:30
Noting the time as := =C2=A0 =C2=A0(01-AUG-24 14:23:22.085076 +05:30 )

3. Now=C2=A0 I am performing an incremental backup after step 2=C2=A0 on= REPO SErver ( Hoping that this latest INCR Backup is without dropped impor= tant_table4, so that a recovery of the cluster=C2=A0 shouldn't show the= table4 again. )=C2=A0

=C2=A0 =C2=A0 =C2=A0 =C2=A0= incr backup details. : 20240729-160137F_20240801-142433I
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 timestamp start/stop: 2024-08-01 14:24:33+05= :30 / 2024-08-01 14:24:36+05:30

4. Now I w= ant to test the database recovery=C2=A0 after dropping the table4 in step1 = to verify that my EPAS restores from the backup in step 3 and time stamp (0= 1-AUG-24 14:23:22.085076 +05:30,=C2=A0 =C2=A0so that=C2=A0 the restored EPA= S cluster doesn't contain the important_table4.

5.=C2=A0 $ sudo -u enterprisedb pgbackrest --stanza=3DDemo_Repo --delta= =C2=A0 =C2=A0--set=3D20240729-160137F_20240801-142433I =C2=A0--target-timel= ine=3Dcurrent --type=3Dtime =C2=A0--target=3D"01-AUG-24 14:23:22.08507= 6+05:30" --target-action=3Dpromote restore
=C2=A0-----------= -
-------------
INFO: restore command end: completed su= ccessfully (1035ms)

ISSUE:=C2=A0 =C2=A0 I a= m unable to get the EPAS Server in running state after step 5=C2=A0

=C2=A0What am I doing=C2=A0wrong ?=C2=A0 OR am I c= onceptually wrong ?



<= div>
OUTPUT on executing step 5.=C2=A0

[root@service01 ~]# sudo -u enterprisedb pgbackrest --stanza=3DDemo_Repo= --delta --set=3D20240729-160137F_20240801-142433I =C2=A0--target-timeline= =3Dcurrent --type=3Dtime =C2=A0--target=3D"01-AUG-24 14:23:22.085076+0= 5:30" --target-action=3Dpromote restore

2024-08-01 14:30= :03.535 P00 =C2=A0 INFO: restore command begin 2.52.1: --delta --exec-id=3D= 82738-b5fe7415 --log-level-console=3Dinfo --log-level-file=3Ddebug --pg1-pa= th=3D/var/lib/edb/as16/data --pg-version-force=3D16 --repo1-host=3D10.10.20= .7 --repo1-host-user=3Dpostgres --set=3D20240729-160137F_20240801-142433I -= -stanza=3DDemo_Repo --target=3D"01-AUG-24 14:23:22.085076+05:30" = --target-action=3Dpromote --target-timeline=3Dcurrent --type=3Dtime
2024= -08-01 14:30:03.880 P00 =C2=A0 INFO: repo1: restore backup set 20240729-160= 137F_20240801-142433I, recovery will start at 2024-08-01 14:24:33
2024-0= 8-01 14:30:03.881 P00 =C2=A0 INFO: remove invalid files/links/paths from &#= 39;/var/lib/edb/as16/data'
2024-08-01 14:30:04.567 P00 =C2=A0 INFO: = write updated /var/lib/edb/as16/data/postgresql.auto.conf
2024-08-01 14:= 30:04.569 P00 =C2=A0 INFO: restore global/pg_control (performed last to ens= ure aborted restores cannot be started)
2024-08-01 14:30:04.569 P00 =C2= =A0 INFO: restore size =3D 75.9MB, file total =3D 2171
2024-08-01 14:30:= 04.569 P00 =C2=A0 INFO: restore command end: completed successfully (1035ms= )
[root@service01 ~]# systemctl =C2=A0start edb-as-16.service
=

Now=C2=A0 If I check the server=C2=A0 status= =C2=A0 :=C2=A0 =C2=A0Its dead=C2=A0

[root@= service01 ~]# systemctl =C2=A0status edb-as-16.service
=C3=97 edb-as-16.= service - EDB Postgres Advanced Server 16
=C2=A0 =C2=A0 =C2=A0Loaded: lo= aded (/etc/systemd/system/edb-as-16.service; disabled; preset: disabled)=C2=A0 =C2=A0 =C2=A0Active: failed (Result: exit-code) since Thu 20= 24-08-01 14:30:58 IST; 4s ago
=C2=A0 =C2=A0Duration: 228ms
=C2=A0 =C2= =A0 Process: 82752 ExecStartPre=3D/usr/edb/as16/bin/edb-as-16-check-db-dir = ${PGDATA} (code=3Dexited, status=3D0/SUCCESS)
=C2=A0 =C2=A0 Process: 827= 57 ExecStart=3D/usr/edb/as16/bin/edb-postgres -D ${PGDATA} (code=3Dexited, = status=3D1/FAILURE)
=C2=A0 =C2=A0Main PID: 82757 (code=3Dexited, status= =3D1/FAILURE)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 CPU: 325ms

Aug 01 14:30= :56 service01 systemd[1]: Starting EDB Postgres Advanced Server 16...
Au= g 01 14:30:56 service01 edb-postgres[82757]: 2024-08-01 14:30:56 IST LOG: = =C2=A0redirecting log output to logging collector process
Aug 01 14:30:5= 6 rservice01 edb-postgres[82757]: 2024-08-01 14:30:56 IST HINT: =C2=A0Futur= e log output will appear in directory "log".
Aug 01 14:30:58 s= ervice01 systemd[1]: Started EDB Postgres Advanced Server 16.
Aug 01 14:= 30:58 service01 systemd[1]: edb-as-16.service: Main process exited, code=3D= exited, status=3D1/FAILURE
Aug 01 14:30:58 service01 systemd[1]: edb-as-= 16.service: Killing process 82758 (edb-postgres) with signal SIGKILL.
A<= b>ug 01 14:30:58 service01 systemd[1]: edb-as-16.service: Failed with resul= t 'exit-code'.
[root@service01 ~]#

<= div>Any hints/guidance most welcome.=C2=A0

Can you please share the DB Server log as it contains the exact= error which is causing the server not to start.

T= hanks=C2=A0
--0000000000001a82d7061e9cc17d--