I am new to Zabbix but not so much to linux. I have tried the installation instructions for Alma Linux, and Debian on a vultr server. Both times I have needed to manually import the server.sql,(BTW the zcat location is not correct for either of the Debian or Alma instructions) and when I get to the Configure DB Connection I get a "Unable to select configuration" error. I am able to use the user/pass that I setup from the cli to connect. I have edited the zabbix_server.conf with the user/pass info. I have spent most of two days with this. What could I be doing wrong
Ad Widget
Collapse
Frustrated, cannot get Zabbix to install.
Collapse
X
-
When asking for help, especially for a fresh install, it's often useful to provide details about your environment.
You've mentioned a couple of distros, but not what distro version, or even what Zabbix version you're trying to install. You also don't say what database or version you're using for the DB backend.
Having to import a server.sql or something similar on a new setup is totally normal. You've created an empty database, and the schema import just defines all the tables, relations, etc. I don't know if current versions also have you do a separate import of initial/stock data, but that was the case when I installed Zabbix long ago.
The "Configure DB connection" sounds like the part where you tell the Zabbix front end how to communicate with the database. That's separate from how the Zabbix *server* talks to the database. The front end can be installed separately from the Zabbix server, so they each have their own separate configuration for talking to the database.
You don't say what version of PHP you're using, but are you sure the version of PHP you're using is supported by your version of Zabbix? Do you have all the necessary PHP modules/extensions installed and loaded? Do you have the necessary PHP database extension installed and loaded?
Is SELinux or AppArmor enabled on your server? -
Comment