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 1rQ1U2-00Ftcj-2i for pgsql-general@arkaria.postgresql.org; Wed, 17 Jan 2024 08:41:14 +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 1rQ1U0-00BvRI-GM for pgsql-general@arkaria.postgresql.org; Wed, 17 Jan 2024 08:41:12 +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 1rQ1U0-00BvRA-1a for pgsql-general@lists.postgresql.org; Wed, 17 Jan 2024 08:41:12 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rQ1Tw-001xQ6-H1 for pgsql-general@postgresql.org; Wed, 17 Jan 2024 08:41:10 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3368b1e056eso8884395f8f.3 for ; Wed, 17 Jan 2024 00:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1705480867; x=1706085667; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id:from:to:cc :subject:date:message-id:reply-to; bh=13S5/0bzFiyQ08AksNafEtsV79511X/mlxRdrE7fO6g=; b=jSCKB9BjgIlxrRpE+AqOwOfGP/xDyiHbLmibzx1kwjPvd+ESJW4+yMrhdhvQEHKdix 0UUFKqmnaniDr8wQLZ4gCD+0ngtLPSva2mSm7NzDJDTwxvcJ0bkLYDTmxTW531N2XqoL j/wNXL1V9Jn1XxLiGsX9lyW/I4QbDt1ShnmlnpyE+SpSN8sRtVVIGQqLCru3vRxotYDM Bke23ezjitolqMWFqWPguqFu19dEAcGL+uJkU520VCEFbwhuvu4tQnrF8NAO9IWzcXs0 8NDTwtGrt0b/Z1RGNVhD05zwPTRwAoI9vPKkdZKOM1skj9DztaOHMen1988NHvJzvp8X UFww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705480867; x=1706085667; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=13S5/0bzFiyQ08AksNafEtsV79511X/mlxRdrE7fO6g=; b=pkH4sJc5yitzpm+TWmEkJ3vx9Pyc/A94rzlZzfL+KSu9awSXNcFuanb3wdwESV4pgv Bz5Qvbai0/0hWnKqpv6eCbTyVkEhZsL70uYE5YrKjvq4lqLcEzzNTMe148yXtKAH9xZ6 +m0B0I5UNY/lBA/MI71/dPk3jL6OFyG9Z4h/oz4zeOflcl7InZJy0fd/rSmXeJaaqdG8 Zc7bRYi4S/EyUjVMlA5yyd+8B4vkxCWCyyrySs2GPdlygQ1yx0tX/sPpTMl167Av1X/8 v7rGZBLk3ZnuB3f2c9atNf/qFraPI1UjDAL90v9qpArdrb2YJoNpf1uj/F+jGyDV3VUm BWtQ== X-Gm-Message-State: AOJu0Yz4LQzftWmMTx9FoIlBlSJnSRtVFj36WOfB6DVVUcTICnz+GadZ Qk0VqWIfJG32p+Cd55ny/J/ishg7nxeTosOSu8gwS6ySvs8= X-Google-Smtp-Source: AGHT+IFbu5h+aocm2cqujZHJUXefxZeVsCkjtxH3lSYoIwwodk8PPKMpEiDC3qtM3oYsCj8sN06cog== X-Received: by 2002:adf:fe89:0:b0:337:9343:2869 with SMTP id l9-20020adffe89000000b0033793432869mr3718917wrr.59.1705480866860; Wed, 17 Jan 2024 00:41:06 -0800 (PST) Received: from localhost.localdomain ([88.116.133.170]) by smtp.gmail.com with ESMTPSA id q5-20020a5d5745000000b00337bdf4cfc6sm1111726wrw.52.2024.01.17.00.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 00:41:06 -0800 (PST) Message-ID: <4d5229dc5f7ae8f49a165b35d5e97eea40e3031c.camel@cybertec.at> Subject: Re: Postgres Database Service Interruption From: Laurenz Albe To: Bablu Kumar Nayak , pgsql-general@postgresql.org Date: Wed, 17 Jan 2024 09:41:05 +0100 In-Reply-To: References: Autocrypt: addr=laurenz.albe@cybertec.at; prefer-encrypt=mutual; keydata=mQINBGGDwAQBEADgbWy5cKXQld3N2mF+DFyiNFbi2oBl2T+XgxpPF8wTRw2D/u4bBKXP0SYSE/lA86jIVNWWU0gf1KODIkVvgJm2w4vH2VBV1b7ddVViGl1Iu+9zaRnv9wulhnH42KefepXnoean6UT1EzLM0opF/Ik0j+40TxdRtobkBprkQUyHDXWlHc2ffPs3SipyFEP9AVLf7ejRC46CXWDnsqjOBSMEW8Z4HiK/8RrPZBsKLts8dJxKF4pygOdJb0CWk8k/X1jbcfdxo+zOLjOMvJcSJ2pFdJmQHU+JufB3rePziqQ2S9Ur6sccr9XnTC1GVBWN4Lf5VHq+vf+bFJjVwg+2hrySZnAVfcOrxoqFLErr7ug1zN2nM1kcpgA4VWn4gxlJtYNYYq+9WxX5dtvnNANlG3ZCrRKQzl8lxtzoF6Zo7LUhEqPaHDwn7Rvs+IdbOn41lF5UDTJGqmC4gS/bZydW2Fy3YWm4aSaN9fgFf8D+PVkrlKAZB7gBLz1TyHjbcRf85cYF+GKKrDld5SzMB/V60VX3oP/Eo8ikFpyWaqiz1f9X7MBot3/PjJkY+wDzp3nmb19QEcOBuQiSQ4xds2r0HewbuHTAR68u8jNNMGmpm2j4x+g09Jd/WQDjqlTBZ/jEltH41fYCCPWMfljXTOOXu2eLNGdfi7ETZogtwjM9oTtSPQARA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hDLqrTH8JkJjyKROOMakIF68Hjse5vUfUxreBEOtb5r1Coa2Fe7ncJayaSE7ryrDbFqpZ 36UMAx4ulWMyqJajLNGY0DdG8qIsR5nxRhrnK/mrCidZ8F9/D3bWAl4rjtHlsztN59 +AnW5l0HsQcY9ntFL/zEBOaonjdJf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2024-01-16 at 21:59 +0530, Bablu Kumar Nayak wrote: > I am writing to inform you that our PostgreSQL database service is curren= tly down. > We are experiencing an unexpected interruption, and we are seeking your e= xpertise > to help us resolve this issue promptly. > We would greatly appreciate your immediate attention to this matter. If t= here are > specific steps we should follow or additional information you require, pl= ease let > us know as soon as possible. > Your assistance in resolving this issue is crucial, and we are confident = in your > expertise to help us bring the PostgreSQL database back online. > =C2=A0 > Here are some details about the current situation: >=20 > 2) Starting the server > /apps/postgresdb/pgsql/bin/pg_ctl start -D /apps/postgresdb/pgsql/data > waiting for server to start....2024-01-15 11:15:08.010 GMT [] LOG: =C2=A0= listening on IPv4 address "0.0.0.0", port=C2=A0 > LOG: =C2=A0listening on IPv6 address "::", port=C2=A0 > LOG: =C2=A0listening on Unix socket "/tmp/.s.PGSQL." > LOG: =C2=A0database system was interrupted while in recovery at 2024-01-1= 5 10:51:44 GMT > HINT: =C2=A0This probably means that some data is corrupted and you will = have to use the last backup for recovery. > FATAL: =C2=A0the database system is starting up > LOG: =C2=A0database system was not properly shut down; automatic recovery= in progress > LOG: =C2=A0redo starts at 0/ > FATAL: =C2=A0could not access status of transaction > DETAIL: =C2=A0Could not read from file "pg_xact/0001" at offset 204800: S= uccess. > CONTEXT: =C2=A0WAL redo at 0/7A845458=C2=A0for Transaction/COMMIT: 2023-1= 2-30 23:26:16.017062+00 > LOG: =C2=A0startup process (PID=C2=A02731458) exited with exit code 1 > LOG: =C2=A0aborting startup due to startup process failure > LOG: =C2=A0database system is shut down > =C2=A0stopped waiting > pg_ctl:=C2=A0could not start server > Examine the log output. You are suffering from data corruption. What did you do to get into this s= tate? The canonical solution is to restore your backup. If you have no backup, and the data are important for you (which is a contr= adiction in terms), you should hire a consultant with extensive PostgreSQL knowledge= in the hope that he or she can salvage some of your data. Yours, Laurenz Albe