Description | This article describes how to resolve PostgreSQL 'ERROR: right sibling's left-link doesn't match:' |
Scope | FortiSIEM. |
Solution |
This error might occur in case of database corruption.
Example:
< 2025-02-01 01:00:03.667 GMT >ERROR: right sibling's left-link doesn't match: block 52 links to 232 instead of expected 236 in index "pg_depend_depender_index"
Rebuilding the index should fix the issue.
In this example, the index that needs to be rebuilt is 'pg_depend_depender_index'.
ssh to Super => Output:
Then restart PostgreSQL.
systemctl stop postgresql-13.service
Check the Postgresql logs to make sure the errors are no longer there:
vi /cmdb/data/pg_log/postgresql.log |