Hi everyone. Please I need your help - I think I've thoroughly messed things up.
Zabbix raised an issue with the MariaDB database not being up to the minimum (10.3; it required a 10.6 minimum). I did a backup with Mariabackup following these instructions and did the upgrade following the instructions here.. It worked, but Zabbix complained about it being unsupported (I upgraded to 10.11). So I edited the sources.list files to reflect the 10.6 repo, and reinstalled MariaDB 10.6. It worked (from the terminal end), but that was where everything went awfully wrong. Zabbix stopped working. I tried everything I could, but to no avail. The server simply won't start. It shows the error:
Last resort - I reinstalled Zabbix, and it wiped off all my configurations and presented a new Zabbix set-up. I tried restoring the backup, but it failed. Horribly.
The above error still persists.
Worse of all, I still get email alerts from the (previous) Zabbix installation about the database not being available. My previous usernames (and passwords) won't work on this, as it tells me "account has been temporarily blocked".
At the bottom of the Zabbix web frontend, it flashes the message Zabbix server is not running; the information displayed may not be correct.
I JUST WANT TO ROLL BACK TO THE PREVIOUS ZABBIX (AND MARIADB) INSTALLATION.
Please help me out.
Zabbix raised an issue with the MariaDB database not being up to the minimum (10.3; it required a 10.6 minimum). I did a backup with Mariabackup following these instructions and did the upgrade following the instructions here.. It worked, but Zabbix complained about it being unsupported (I upgraded to 10.11). So I edited the sources.list files to reflect the 10.6 repo, and reinstalled MariaDB 10.6. It worked (from the terminal end), but that was where everything went awfully wrong. Zabbix stopped working. I tried everything I could, but to no avail. The server simply won't start. It shows the error:
Code:
systemctl status zabbix-server ● zabbix-server.service - Zabbix Server Loaded: loaded (/etc/systemd/system/zabbix-server.service; enabled; vendor preset: enabled) Active: active (exited) since Thu 2023-04-13 17:24:08 UTC; 43min ago Main PID: 7276 (code=exited, status=0/SUCCESS) Tasks: 1 (limit: 4618) Memory: 2.8M CGroup: /system.slice/zabbix-server.service └─7286 /usr/local/sbin/zabbix_server Apr 13 17:24:08 ip-10-60-102-213 systemd[1]: Starting Zabbix Server... Apr 13 17:24:08 ip-10-60-102-213 systemd[1]: Finished Zabbix Server. Apr 13 17:24:20 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly. Apr 13 17:24:20 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly. Apr 13 17:24:20 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly. Apr 13 17:24:21 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly. Apr 13 17:24:21 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly. Apr 13 17:24:21 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly. Apr 13 17:24:21 ip-10-60-102-213 systemd[1]: /etc/systemd/system/zabbix-server.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/zabbix/zabbix_server.pid → /run/zabbix/zabbix_server.pid; please update the unit file accordingly.
The above error still persists.
Worse of all, I still get email alerts from the (previous) Zabbix installation about the database not being available. My previous usernames (and passwords) won't work on this, as it tells me "account has been temporarily blocked".
At the bottom of the Zabbix web frontend, it flashes the message Zabbix server is not running; the information displayed may not be correct.
I JUST WANT TO ROLL BACK TO THE PREVIOUS ZABBIX (AND MARIADB) INSTALLATION.
Please help me out.

Comment