Hi,
I am using Zabbix server 3.0.1 and it was working fine, today I am getting a message error on the login screen:

I am not sure but I think this message on postgres can be a clue to were is the problem.
The Zabbix Server is running on a Debian wheezy with PostgreSQL 9.1.
If I try to make a vacuum manually I get back the same message:
I saw what can be the SOLUTION https://access.redhat.com/solutions/269323 but maybe the commans work only for Red Hat.
To solve this problem looks like I need to run Postgres in standalone mode for a database vacuum.
I need to run this command:
But the postgres command is not available on Debian:
And even if I make this command work I don't know the database path of zabbix.
Can anyone help me?
I am using Zabbix server 3.0.1 and it was working fine, today I am getting a message error on the login screen:
I am not sure but I think this message on postgres can be a clue to were is the problem.
Code:
2021-01-08 08:45:22 BRT ERROR: database is not accepting commands to avoid wraparound data loss in database "zabbix" 2021-01-08 08:45:22 BRT HINT: Stop the postmaster and use a standalone backend to vacuum that database. You might also need to commit or roll back old prepared transactions.
If I try to make a vacuum manually I get back the same message:
Code:
# su postgres $ psql -d zabbix zabbix=# vacuum full; ERROR: database is not accepting commands to avoid wraparound data loss in database "zabbix" HINT: Stop the postmaster and use a standalone backend to vacuum that database. You might also need to commit or roll back old prepared transactions.
To solve this problem looks like I need to run Postgres in standalone mode for a database vacuum.
I need to run this command:
Code:
postgres --single -D /full/path/to/datadir zabbix
Code:
# postgres bash: postgres: command not found
Can anyone help me?
Comment