Hello everyone,
for 2 days I tried everything to install a Zabbix Proxy 7.4 on a Raspberry Pi 3B+ with, as suggested, Raspbian 12 Bookworm (arm64).
The simplest and best way seem to be with SQLite3, but I get this error on the log when trying to start the service:
Searching it on the web there are some comments asking to try manually creating the db with commands like
but the file seem not existing on my system, neither with the official documentation there is anything similar on my system
Also tried with MySQL but there is an other bunch of problems and I don't think it's the best solution on a Pi.
Thank you so much
Jetro
for 2 days I tried everything to install a Zabbix Proxy 7.4 on a Raspberry Pi 3B+ with, as suggested, Raspbian 12 Bookworm (arm64).
The simplest and best way seem to be with SQLite3, but I get this error on the log when trying to start the service:
Code:
732:20251106:011321.040 using configuration file: /etc/zabbix/zabbix_proxy.conf 732:20251106:011321.042 cannot open database file "zabbix_proxy": [2] No such file or directory 732:20251106:011321.042 creating database ... 732:20251106:011321.043 [Z3001] connection to database 'zabbix_proxy' failed: [0] unable to open database file 732:20251106:011321.043 cannot initialize database: cannot open database 736:20251106:011333.283 Starting Zabbix Proxy (active) [Test_Raspi]. Zabbix 7.4.5 (revision c525822dce0). 736:20251106:011333.283 **** Enabled features **** 736:20251106:011333.283 SNMP monitoring: YES 736:20251106:011333.283 IPMI monitoring: YES 736:20251106:011333.284 Web monitoring: YES 736:20251106:011333.284 VMware monitoring: YES 736:20251106:011333.284 ODBC: YES 736:20251106:011333.284 SSH support: YES 736:20251106:011333.284 IPv6 support: YES 736:20251106:011333.284 TLS support: YES 736:20251106:011333.284 ************************** 736:20251106:011333.284 using configuration file: /etc/zabbix/zabbix_proxy.conf 736:20251106:011333.286 cannot open database file "zabbix_proxy": [2] No such file or directory 736:20251106:011333.286 creating database ... 736:20251106:011333.288[Z3001] connection to database 'zabbix_proxy' failed: [0] unable to open database file 736:20251106:011333.288 cannot initialize database: cannot open database
Code:
sqlite3 /var/lib/zabbix/proxy.db < /usr/share/zabbix-sql-scripts/sqlite3/proxy.sql
Code:
cat /usr/share/zabbix-sql-scripts/sqlite3/proxy.sql | sqlite3 zabbix.dbcat /usr/share/zabbix-sql-scripts/sqlite3/proxy.sql | sqlite3 zabbix.db
Thank you so much

Jetro
Comment