From fd8b4e378b99b93338b8c0e0b202c2ab9714378b Mon Sep 17 00:00:00 2001 From: Suseela S Date: Fri, 2 Aug 2024 16:08:45 +0000 Subject: [PATCH] GITBOOK-940: Pramod's Aug 2 changes --- SUMMARY.md | 1 + deployment/troubleshooting-section.md | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 deployment/troubleshooting-section.md diff --git a/SUMMARY.md b/SUMMARY.md index 55b8eb21..4b20ad59 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -432,6 +432,7 @@ * [Debezium](deployment/common-components/debezium.md) * [Keymanager](deployment/common-components/keymanager.md) * [eSignet](deployment/common-components/esignet.md) + * [Troubleshooting Section](deployment/troubleshooting-section.md) * [Use Cases](use-cases/README.md) * [Technology for Inclusion](use-cases/technology-for-inclusion/README.md) * [Registration in Low Connectivity Areas](use-cases/technology-for-inclusion/registration-in-low-connectivity-areas.md) diff --git a/deployment/troubleshooting-section.md b/deployment/troubleshooting-section.md new file mode 100644 index 00000000..fdfb7080 --- /dev/null +++ b/deployment/troubleshooting-section.md @@ -0,0 +1,7 @@ +--- +description: This guide gives you solutions for the issues faced in the environment. +--- + +# Troubleshooting Section + +
Issue IDIssue Description Root CauseSolution
001Sometimes PostgreSQL databases might fail due to this error.
could not write lock file "postmaster.pid": No space left on the device
This is due to Disk space full on NFS node or PVC is full.Login to the NFS node and clear the logs using below commands to clear the storage.
*sudo rm -f /var/log/.gz /var/log/.1 /var/log/.old
*sudo rm -f /var/log//gz /var/log//.1 /var/log//*.old
*sudo truncate -s 0 /var/log/syslog
002

PostgreSQL database not starting due to replication checkpoint error.

PANIC: replication checkpoint has wrong magic 1865248117 instead of 307747550

Some times database files might corrupt and shows the error and it will fail to connect with the services.
Rename or take backup of this file pg_logical/replorigin_checkpoint from postgres PVC, and restarting postgres server will work.