Zabbix-server can store its data in one of SQL databases: MySQL, PostgreSQL, SQLite, Oracle. Then, it can query objects using ODBC interface, it's another compile-time configurable option. I use mysql as storage database and ODBC as query API. If I choose "ODBC" as DB option, build failed with configure: error: No database selected for Zabbix server/proxy. Use --with-ibm-db2 or --with-mysql or --with-oracle or --with-postgresql or --with-sqlite3. and if I choose "MYSQL" than ODBC support is not compiled in. Fix: -OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW LIBXML2 +OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW LIBXML2 ODBC OPTIONS_DEFAULT= MYSQL IPV6 FPING JABBER CURL @@ -86,3 +86,3 @@ OPTIONS_SINGLE= DB -OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE ODBC +OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE--7mlOVwrEXVmI6kMJNY4AZzGdXrqM5HdWF873v4iNSOkijNri Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- zabbix22-server/Makefile 2014-05-05 19:24:00.000000000 +0300 +++ zabbix22-server/Makefile 2014-05-23 12:24:02.000000000 +0300 @@ -71,3 +71,3 @@ How-To-Repeat: On zabbix22-server run "make config", choose "DB: ODBC" and run "make build".
Maintainer of net-mgmt/zabbix2-server, Please note that PR ports/190139 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/190139 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
It can be closed. zabbix22-server doesn't have such problem right now, it was fixed. zabbix2-server has problem, but I created a PR with patch https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191731
Please close this PR. This issue already fixed.
closed.