Icinga 2 中的架构版本问题
Schema version issue in Icinga 2
我正在 Debian 上安装 icinga2 来自:
deb http://debmon.org/debmon debmon-jessie main
deb http://httpredir.debian.org/debian jessie-backports main
我运行:
apt-get install icinga2-ido-mysql
apt-get install icingaweb2
并进行自我配置。
现在,我正在访问 http://localhost/icingaweb2/setup
在数据库配置页面上,它给了我:
The database you've configured to use for Icinga Web 2 seems to be the one >of Icinga. Please be aware that this database configuration is supposed to >be used for Icinga Web 2's configuration and that it is highly recommended >to not mix different schemas in the same database. If this is intentional, >you can skip the validation and ignore this warning. If not, please provide >a different database.
我 运行 手动配置数据库:
mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/mysql.sql
按照手册要求,给出新的数据库名称,得到同样的错误...
在项目部分的 GitHub 中,第 133 行的 DbResourcePage.php 中出现错误。
有人可以建议我做什么吗?
尝试更新 icingaweb2 架构:
mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/icinga_web.sql
希望这对你有所帮助。
干杯
我正在 Debian 上安装 icinga2 来自:
deb http://debmon.org/debmon debmon-jessie main
deb http://httpredir.debian.org/debian jessie-backports main
我运行:
apt-get install icinga2-ido-mysql
apt-get install icingaweb2
并进行自我配置。
现在,我正在访问 http://localhost/icingaweb2/setup
在数据库配置页面上,它给了我:
The database you've configured to use for Icinga Web 2 seems to be the one >of Icinga. Please be aware that this database configuration is supposed to >be used for Icinga Web 2's configuration and that it is highly recommended >to not mix different schemas in the same database. If this is intentional, >you can skip the validation and ignore this warning. If not, please provide >a different database.
我 运行 手动配置数据库:
mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/mysql.sql
按照手册要求,给出新的数据库名称,得到同样的错误...
在项目部分的 GitHub 中,第 133 行的 DbResourcePage.php 中出现错误。
有人可以建议我做什么吗?
尝试更新 icingaweb2 架构:
mysql -u root -p icinga < /usr/share/icinga2-ido-mysql/schema/icinga_web.sql
希望这对你有所帮助。
干杯