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 1qnK4Z-00Abdu-0d for pgsql-general@arkaria.postgresql.org; Mon, 02 Oct 2023 14:38:59 +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 1qnK4W-00FfHq-OV for pgsql-general@arkaria.postgresql.org; Mon, 02 Oct 2023 14:38:56 +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 1qnK4V-00FfHB-UJ for pgsql-general@lists.postgresql.org; Mon, 02 Oct 2023 14:38:56 +0000 Received: from sonic306-20.consmr.mail.gq1.yahoo.com ([98.137.68.83]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qnK4S-007nfW-LU for pgsql-general@postgresql.org; Mon, 02 Oct 2023 14:38:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696257530; bh=rT3c1wW1+kkS5raTSXfeLL43wfwdjxSdXXjGDAl7avY=; h=Date:From:Reply-To:To:Cc:Subject:References:From:Subject:Reply-To; b=C/oE4C1/U1dDpwtbRY3iPa/s/aMwf35x4Ew+fnWVFXBa7P7uoo+CM9D52Qc5u6m6K096EjC2H+4usvWK+5jmNUdd2hR4897T/SfbT/KaJ8PIP+GNJuwmBAe3lYLfVPDMA3eE186G4VecJjC9PTuESEnhbKphOmKr+4NIH8lJWvod/vDDeu44ahiXCznAfvc9PuYv39q3PrUdkgZNaWPHeTE9YBWgqDdpFp01xY2ibhLnHo9yFX+lO6Rre7Z9KgY7FJ57VgCKo71wm8aasUDoubelh81dNSGHrmu32noGnV0z3NzcOfPFXL6eA26NUgnma+eK74hnYd2ByTCXBifImw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696257530; bh=89TbDc2yy6Jvu/w3gh+lgQTDPoWr7VSOw5NRbapD95R=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Y5VY6wLeGTCyezQ+JxODUa4BWLtNbh1jTJn/XnTqrKFRT+xaj6hTFsCt8WpBY1iT0KnXnShGNnAdqAX8xnUGlJQGhLEQ4/FSXXBelQ/yCaxlRC4FKQD8Lxfg6NB+DPCWN4bgxhSjO7FR52fNigLOEurDBm1C2vfjzlu8VxuYpms2YJK9EqxxnjWU41AhW7Q+hRbLdxPWl/GqsvPhDoaHXzzVkukfIWIBWOEw3UXYS6CFvnfKdUiHUA1MCQOcUEu/37137YQ5vZsM2OqzmfUue1hR2CibBFY0wTrTACO+T3M/ApWrYVlbyDu1tFhY2KcuEGn9jmpt3B5nkq+jEhGAsg== X-YMail-OSG: EL4a2V8VM1kskDLX0RABDnkcy3dLraYMWY19FBPdZ_JQjXAuLesLfmC8yCEJAbc Q8xQXtogYYRSCf4p2o.wF39.Ivc2XLzGnvhUORwu9Lvs5xcy9sWGJiorp_F65RzwMUK2u.H_wUPG 5a2LU6RZgynLDraZuaRl.Mskx9TuJGu5LSeuxoqdstsTLTd1ENC8JsV_1FMDHpvWNTfgWIsa7RAC Zk_OX6ttCak1ewyJySNdvK2eRShjYSVD9OpQS1qL0n33zfEV45_VPFq.wGvPnetbRDdXoD1PSDHL 4IPE2ycI2HSCJR6I8tPUKXgFPIX3XmwiLPeQO81cfbTRpRrVWwczQOSwJ2fnb31s.ctGXXKNyTaW ywvstBS0cm.nvFsCkmdZOwQut_ZawTnh5zyxXueYXhlKFOS7trGy5f528pZwBwqNWCc62vxoCANd ZxFaDJw5Lh1L1DcDGsKwqjpWGEKpR3BREDJa_FHAsW73cRY344hgOapwLDvNEXqsLrRyIrbytm7p n6xDppojO1W97XCkCU3xHxOzhmzENPfjjxubMqXz7jT11Sow6kdbhBF7FDCS1ID7ZI0ti2yu.qRJ KvxSRvTrNldskT9nZBWgCiWcS706RBqvNn7Pq27FWgSF8wENkuSjy.ESUDu6VXTHlMfjqbtF.WrY Wd.WO4F1On_Qttn6gb2UUggx9RPTs1PD5.Yg21Mhj3um8fDuxWxvmlwAweCdwP.PbyxuS.tDKiTH dp6DGFyWBF7tf0bp6C2nVT0ZmVVhkbwF3kBWz6NqyIXLbD99bCUJA_IJATBIxC1xpaIdNQG9HgKx sDvw8AAIRUBf1xI9u_jD5BLNE0JVGtGCRKMM6bB1xCn7xSzTm3eBtGSjtlHJ_cXwJu29J0795uqu Yw1tPkOodA6blN9BiXfpx.gMHuqfQP7ZXNF9h0jASPmo2qC2IaJx0iqGEK8oBpJenmwlhegz84V3 g2Pin.mSl31xbKqBHBmasbHYY7rMd.XAWXevSXDILxMoylmTwt1ACjvj3ykc4vcoxmdzJQcoQxZo pUwvBTxL5STVf4mYzqH0KTLGiVxXd.tbDLZE9aFMStk1qYyPVOEcP_W7urhC0dBdZkcKZJCASj2v j39UvAvioc1GFulFcLZldzZ1a_OMbjQKl5aw3lNV4qCQIqCj3Iw6DbuPX8gi1TNYi2hHo0A7iDtI 6g5FNcjD1J4mMV1_54UmHqW68vctcvBJKp6OyYV39upWQNkZZFgkczHpcb2nXFJq8NBattbsvW2A KSB1s.HI57UDdJUcVEK8.KTZ7uMrgsOoZ.D7_i8Cq44W8j47yTOTDpCVa.FAWgJO1zDFS.c7fkNH FBMk3X2p2c22_fFvqy6s5oq204u0L2Q4iLWmaGaN8Nwn.lU7dAx5bVOMK8S1MTdEj_C3trJMQXJ4 q26jpaBF9uZYcw1dn_Idy0r2NMQuSY4oDsfcWV2CinRLObggf6DOPiwPeFTH_duzBIJvX8zMuKqF MshxFnciCGIzvQ0dNg1hKfMTdaE7N6u0SpBXjjRMb_RCp9oFPsSnPmiX8NX4xbibVgS.rjL673aK 8YhnBpA25Be8jhlUoXW4PXWg8_LuD8OEkAkHGby7mNTK7Fk0cpqYZyGfYGLTmPOCip89eDqLzHyH M506DP60QrWlTf_MQhqdqXyEnrTancDk9aZCIZZmDDV.QVum2bWW5FI2cEaQ6FFiBaGhHSNxcPtm GTPMcrgLJg90Lw3usiOFtyhFa4MVPmNlZUKepR2aEDvNlH4xPeZGrv79BJYEcCz_3_UnDtz1d2h9 xgTgLGCN4WELsW.IBbCBRzY8nlTqshD4N.0IuZkpdttGY_q0E9jswITPyIQHiR2oe.UFIShtpi6j hcKDKekPOxn2f6A_EUvx1O5gkA1344pgZAkpw4P0X16aLTbbmHNZGvfZiQSKjaEL50VC51qx_hQR vFYYEm9lT_jhWUFXMpk0ntTfNrJ6bJo_QbEBtr_HLqNzbDiQogrCQacVC507VxzbaTsnnxw1QIQT 8tiEIrl71miNz29W8o5jRSVGPOlXR6tmwdJBkIacoMR8uaMgflYNLD.kR7_B1cSXrwPhyPXT_ALp c4DBhhK87ADvZYuLRYdP1Rw9a1J0X4EBUNDi_OPxZnGV89eR5Fpt7FZvc7ra2aoTxU.lfB7ix_fc wjUcXd7nU86IWcBvq4miJKsjAwHR3mAoha3ZnI1Za2YWSnOP9WOGigZsfCJoVcIZ4nBYAPef185m KdKTFKWJUGw1uTXVxZK_qH7H3tdCdMUaOh8nP4Wy8.B5RhBs9cKD9y.ODcm8h7bQ7JRa8n_m68eH f9QMhlOcSg62WyGeMNuKWyq.9zOz.ug-- X-Sonic-MF: X-Sonic-ID: 02d061f5-f96f-454f-b68a-b0b74392a410 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Mon, 2 Oct 2023 14:38:50 +0000 Date: Mon, 2 Oct 2023 14:38:46 +0000 (UTC) From: Douglas Reed Reply-To: Douglas Reed To: "pgsql-general@postgresql.org" Cc: Douglas Reed , Chris Dalton Message-ID: <1263466497.931257.1696257526649@mail.yahoo.com> Subject: Problems starting slave MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_931256_368450384.1696257526647" References: <1263466497.931257.1696257526649.ref@mail.yahoo.com> X-Mailer: WebService/1.1.21797 YMailNorrin Content-Length: 15455 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ------=_Part_931256_368450384.1696257526647 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi guys The servers are virtual running on Nutanix We are running Pg version 12 (12.10) On Linux km-data1.rs.fsbtech.com 5.4.191-1.el7.elrepo.x86_64 #1 SMP Tue Apr= 26 12:14:16 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux 48G/16 x CPU (Master and slave) Timeline System had a number of issues due to kafka and slots, would not always shut= down correctly. Several incidents where it had to be forced. Found corruption on a number of indexes and tables. Decided to recover from= a backup (barman). Due to missing wal file restored data up=20 to about three hours prior to expectation but it's working. Attempts to build a slave; On the slave at first we got error messages from pg_basebackup stating that= the target directory was not empty; =C2=A0=C2=A0=C2=A0 pg_basebackup: error: directory "/var/lib/pgsql/12/data"= exists but is not empty Although the directory /var/lib/pgsql/12/data was empty (using rm -r ....).= Finally deleted the data directory and re-created ensuring that=20 perms were same. Restore started successfully and completed with error=3D0. When starting the instance we got the message; # systemctl start postgresql-12.service =C2=A0=C2=A0=C2=A0 Job for postgresql-12.service failed because the control= process exited with error code. See "systemctl status postgresql-12.servic= e" and "journalctl -xe" for details. Ran systemctl status postgresql-12.service and it returned; =C2=A0=C2=A0=C2=A0=C2=A0 postgresql-12.service - PostgreSQL 12 database ser= ver =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Loaded: loaded (/usr/lib/systemd/syste= m/postgresql-12.service; enabled; vendor preset: disabled) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Active: failed (Result: exit-code) sin= ce Mon 2023-10-02 15:26:43 BST; 54s ago =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Docs: https://www.postgres= ql.org/docs/12/static/ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Process: 9532 ExecStart=3D/usr/pgsql-12/bin/= postmaster -D ${PGDATA} (code=3Dexited, status=3D1/FAILURE) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Process: 9526 ExecStartPre=3D/usr/pgsql-12/b= in/postgresql-12-check-db-dir ${PGDATA} (code=3Dexited, status=3D0/SUCCESS) =C2=A0=C2=A0=C2=A0=C2=A0 Main PID: 9532 (code=3Dexited, status=3D1/FAILURE) =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postgres[9534]: = [9-1] user=3D,db=3D,app=3Dclient=3D LOG:=C2=A0 entering standby mode =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]= : cp: cannot stat =E2=80=98barman_wal/00000002.history=E2=80=99: No such fi= le or directory =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]= : cp: cannot stat =E2=80=98barman_wal/0000000200000C740000006D=E2=80=99: No= such file or directory =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postgres[9532]: = [7-1] user=3D,db=3D,app=3Dclient=3D LOG:=C2=A0 startup process (PID 9534) w= as terminated by signal 6: Aborted =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postgres[9532]: = [8-1] user=3D,db=3D,app=3Dclient=3D LOG:=C2=A0 aborting startup due to star= tup process failure =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postgres[9532]: = [9-1] user=3D,db=3D,app=3Dclient=3D LOG:=C2=A0 database system is shut down =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com systemd[1]: post= gresql-12.service: main process exited, code=3Dexited, status=3D1/FAILURE =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com systemd[1]: Fail= ed to start PostgreSQL 12 database server. =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com systemd[1]: Unit= postgresql-12.service entered failed state. =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com systemd[1]: post= gresql-12.service failed. Also ran journalctl -xe and it returned; =C2=A0=C2=A0=C2=A0 -- The start-up result is done. =C2=A0=C2=A0=C2=A0 Oct 02 15:28:43 km-data2.rs.fsbtech.com sudo[10001]: pam= _unix(sudo:session): session opened for user root by (uid=3D0) =C2=A0=C2=A0=C2=A0 Oct 02 15:28:43 km-data2.rs.fsbtech.com sudo[10001]: pam= _unix(sudo:session): session closed for user root =C2=A0=C2=A0=C2=A0 Oct 02 15:28:43 km-data2.rs.fsbtech.com systemd[1]: Remo= ved slice User Slice of root. =C2=A0=C2=A0=C2=A0 -- Subject: Unit user-0.slice has finished shutting down =C2=A0=C2=A0=C2=A0 -- Defined-By: systemd =C2=A0=C2=A0=C2=A0 -- Support: http://lists.freedesktop.org/mailman/listinf= o/systemd-devel =C2=A0=C2=A0=C2=A0 --=20 =C2=A0=C2=A0=C2=A0 -- Unit user-0.slice has finished shutting down. =C2=A0=C2=A0=C2=A0 Oct 02 15:28:43 km-data2.rs.fsbtech.com filebeat[71555]:= {"log.level":"info","@timestamp":"2023-10-02T15:28:43.427+0100","log.logge= r":"monitoring","log.origin":{"file.name":"log/log.go","file.line":186},"me= ssage =C2=A0=C2=A0=C2=A0 Oct 02 15:28:44 km-data2.rs.fsbtech.com sudo[10016]:=C2= =A0=C2=A0 zabbix : TTY=3Dunknown ; PWD=3D/ ; USER=3Droot ; COMMAND=3D/etc/z= abbix/scripts/postgres.sh connections sport =C2=A0=C2=A0=C2=A0 Oct 02 15:28:44 km-data2.rs.fsbtech.com systemd[1]: Crea= ted slice User Slice of root. =C2=A0=C2=A0=C2=A0 -- Subject: Unit user-0.slice has finished start-up =C2=A0=C2=A0=C2=A0 -- Defined-By: systemd =C2=A0=C2=A0=C2=A0 -- Support: http://lists.freedesktop.org/mailman/listinf= o/systemd-devel =C2=A0=C2=A0=C2=A0 --=20 =C2=A0=C2=A0=C2=A0 -- Unit user-0.slice has finished starting up. =C2=A0=C2=A0=C2=A0 --=20 =C2=A0=C2=A0=C2=A0 -- The start-up result is done. =C2=A0=C2=A0=C2=A0 Oct 02 15:28:44 km-data2.rs.fsbtech.com systemd[1]: Star= ted Session c1058389 of user root. =C2=A0=C2=A0=C2=A0 -- Subject: Unit session-c1058389.scope has finished sta= rt-up =C2=A0=C2=A0=C2=A0 -- Defined-By: systemd =C2=A0=C2=A0=C2=A0 -- Support: http://lists.freedesktop.org/mailman/listinf= o/systemd-devel =C2=A0=C2=A0=C2=A0 --=20 =C2=A0=C2=A0=C2=A0 -- Unit session-c1058389.scope has finished starting up. =C2=A0=C2=A0=C2=A0 --=20 =C2=A0=C2=A0=C2=A0 -- The start-up result is done. =C2=A0=C2=A0=C2=A0 Oct 02 15:28:44 km-data2.rs.fsbtech.com sudo[10016]: pam= _unix(sudo:session): session opened for user root by (uid=3D0) =C2=A0=C2=A0=C2=A0 Oct 02 15:28:44 km-data2.rs.fsbtech.com sudo[10016]: pam= _unix(sudo:session): session closed for user root =C2=A0=C2=A0=C2=A0 Oct 02 15:28:44 km-data2.rs.fsbtech.com systemd[1]: Remo= ved slice User Slice of root. =C2=A0=C2=A0=C2=A0 -- Subject: Unit user-0.slice has finished shutting down =C2=A0=C2=A0=C2=A0 -- Defined-By: systemd =C2=A0=C2=A0=C2=A0 -- Support: http://lists.freedesktop.org/mailman/listinf= o/systemd-devel =C2=A0=C2=A0=C2=A0 --=20 =C2=A0=C2=A0=C2=A0 -- Unit user-0.slice has finished shutting down. The main error seems to be; =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]= : cp: cannot stat =E2=80=98barman_wal/00000002.history=E2=80=99: No such fi= le or directory =C2=A0=C2=A0=C2=A0 Oct 02 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]= : cp: cannot stat =E2=80=98barman_wal/0000000200000C740000006D=E2=80=99: No= such file or directory Any ideas guys Doug Reed=C2=A0dougreed765@yahoo.com=C2=A007973-132664https://uk.linkedin.c= om/pub/douglas-reed/33/326/2b ------=_Part_931256_368450384.1696257526647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi guys

The serv= ers are virtual running on Nutanix

We are running Pg version 12 (12.= 10)

On Linux km-data1.rs.fsbtech.com 5.4.191-1.el7.elrepo.x86_64 #1 = SMP Tue Apr 26 12:14:16 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

48G/= 16 x CPU (Master and slave)

Timeline

System had a number of i= ssues due to kafka and slots, would not always shut down correctly. Several= incidents where it had to be forced.
Found corruption on a number of in= dexes and tables. Decided to recover from a backup (barman). Due to missing= wal file restored data up
to about three hours prior to expectation bu= t it's working.

Attempts to build a slave;

On the slave at fi= rst we got error messages from pg_basebackup stating that the target direct= ory was not empty;

    pg_basebackup: error: director= y "/var/lib/pgsql/12/data" exists but is not empty

Although the dire= ctory /var/lib/pgsql/12/data was empty (using rm -r ....). Finally deleted = the data directory and re-created ensuring that
perms were same. Restor= e started successfully and completed with error=3D0.

When starting t= he instance we got the message;

# systemctl start postgresql-12.service

    Job for postgresql-12.service fai= led because the control process exited with error code. See "systemctl stat= us postgresql-12.service" and "journalctl -xe" for details.

Ran s= ystemctl status postgresql-12.service and it returned;

 &nb= sp;   postgresql-12.service - PostgreSQL 12 database server
&n= bsp;      Loaded: loaded (/usr/lib/systemd/system/= postgresql-12.service; enabled; vendor preset: disabled)
  &nb= sp;    Active: failed (Result: exit-code) since Mon 2023-10-= 02 15:26:43 BST; 54s ago
        = ; Docs: https://www.postgresql.org/docs/12/static/
   &nb= sp;  Process: 9532 ExecStart=3D/usr/pgsql-12/bin/postmaster -D ${PGDAT= A} (code=3Dexited, status=3D1/FAILURE)
      Pr= ocess: 9526 ExecStartPre=3D/usr/pgsql-12/bin/postgresql-12-check-db-dir ${P= GDATA} (code=3Dexited, status=3D0/SUCCESS)
     Main= PID: 9532 (code=3Dexited, status=3D1/FAILURE)

    Oc= t 02 15:26:43 km-data2.rs.fsbtech.com postgres[9534]: [9-1] user=3D,db=3D,a= pp=3Dclient=3D LOG:  entering standby mode
    Oct 0= 2 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]: cp: cannot stat =E2=80= =98barman_wal/00000002.history=E2=80=99: No such file or directory
 = ;   Oct 02 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]: cp:= cannot stat =E2=80=98barman_wal/0000000200000C740000006D=E2=80=99: No such= file or directory
    Oct 02 15:26:43 km-data2.rs.fsbtec= h.com postgres[9532]: [7-1] user=3D,db=3D,app=3Dclient=3D LOG:  startu= p process (PID 9534) was terminated by signal 6: Aborted
  &nb= sp; Oct 02 15:26:43 km-data2.rs.fsbtech.com postgres[9532]: [8-1] user=3D,d= b=3D,app=3Dclient=3D LOG:  aborting startup due to startup process fai= lure
    Oct 02 15:26:43 km-data2.rs.fsbtech.com postgres= [9532]: [9-1] user=3D,db=3D,app=3Dclient=3D LOG:  database system is s= hut down
    Oct 02 15:26:43 km-data2.rs.fsbtech.com syst= emd[1]: postgresql-12.service: main process exited, code=3Dexited, status= =3D1/FAILURE
    Oct 02 15:26:43 km-data2.rs.fsbtech.com = systemd[1]: Failed to start PostgreSQL 12 database server.
  &= nbsp; Oct 02 15:26:43 km-data2.rs.fsbtech.com systemd[1]: Unit postgresql-1= 2.service entered failed state.
    Oct 02 15:26:43 km-da= ta2.rs.fsbtech.com systemd[1]: postgresql-12.service failed.

Also ra= n journalctl -xe and it returned;

    -- The s= tart-up result is done.
    Oct 02 15:28:43 km-data2.rs.f= sbtech.com sudo[10001]: pam_unix(sudo:session): session opened for user roo= t by (uid=3D0)
    Oct 02 15:28:43 km-data2.rs.fsbtech.co= m sudo[10001]: pam_unix(sudo:session): session closed for user root
&nbs= p;   Oct 02 15:28:43 km-data2.rs.fsbtech.com systemd[1]: Removed = slice User Slice of root.
    -- Subject: Unit user-0.sli= ce has finished shutting down
    -- Defined-By: systemd<= br>    -- Support: http://lists.freedesktop.org/mailman/list= info/systemd-devel
    --
    -- Unit = user-0.slice has finished shutting down.
    Oct 02 15:28= :43 km-data2.rs.fsbtech.com filebeat[71555]: {"log.level":"info","@timestam= p":"2023-10-02T15:28:43.427+0100","log.logger":"monitoring","log.origin":{"= file.name":"log/log.go","file.line":186},"message
    Oct= 02 15:28:44 km-data2.rs.fsbtech.com sudo[10016]:   zabbix : TTY= =3Dunknown ; PWD=3D/ ; USER=3Droot ; COMMAND=3D/etc/zabbix/scripts/postgres= .sh connections sport
    Oct 02 15:28:44 km-data2.rs.fsb= tech.com systemd[1]: Created slice User Slice of root.
   = ; -- Subject: Unit user-0.slice has finished start-up
   = -- Defined-By: systemd
    -- Support: http://lists.free= desktop.org/mailman/listinfo/systemd-devel
    --
&nb= sp;   -- Unit user-0.slice has finished starting up.
 &nb= sp;  --
    -- The start-up result is done.
&nbs= p;   Oct 02 15:28:44 km-data2.rs.fsbtech.com systemd[1]: Started = Session c1058389 of user root.
    -- Subject: Unit sessi= on-c1058389.scope has finished start-up
    -- Defined-By= : systemd
    -- Support: http://lists.freedesktop.org/ma= ilman/listinfo/systemd-devel
    --
   = ; -- Unit session-c1058389.scope has finished starting up.
  &= nbsp; --
    -- The start-up result is done.
 &n= bsp;  Oct 02 15:28:44 km-data2.rs.fsbtech.com sudo[10016]: pam_unix(su= do:session): session opened for user root by (uid=3D0)
   = ; Oct 02 15:28:44 km-data2.rs.fsbtech.com sudo[10016]: pam_unix(sudo:sessio= n): session closed for user root
    Oct 02 15:28:44 km-d= ata2.rs.fsbtech.com systemd[1]: Removed slice User Slice of root.
 =    -- Subject: Unit user-0.slice has finished shutting down
&n= bsp;   -- Defined-By: systemd
    -- Support: h= ttp://lists.freedesktop.org/mailman/listinfo/systemd-devel
  &= nbsp; --
    -- Unit user-0.slice has finished shutting = down.

The main error seems to be;

    Oct 02 1= 5:26:43 km-data2.rs.fsbtech.com postmaster[9532]: cp: cannot stat =E2=80=98= barman_wal/00000002.history=E2=80=99: No such file or directory
 &n= bsp;  Oct 02 15:26:43 km-data2.rs.fsbtech.com postmaster[9532]: cp: ca= nnot stat =E2=80=98barman_wal/0000000200000C740000006D=E2=80=99: No such fi= le or directory

Any ideas guys



Doug Reed 
dougreed765@yahoo.= com 
07973-132664
https://uk.linkedin.com/pub/douglas-reed/33/3= 26/2b
------=_Part_931256_368450384.1696257526647--