На очередную свежую виртуалку Ubuntu Server ставлю Zabbix. Неожиданно — не хочет, спотыкается на самом интересном месте.
~$sudo apt install zabbix-server-mysql zabbix-frontend-php Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: zabbix-server-mysql : Depends: libevent-2.0-5 (>= 2.0.10-stable) but it is not installable E: Unable to correct problems, you have held broken packages.
исходные данные:
~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic ~$ uname -a Linux ZabbixItAll 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
~$ dpkg -l | grep zabbix ii zabbix-frontend-php 1:4.2.1-1+xenial all Zabbix network monitoring solution - PHP front-end ii zabbix-release 4.2-1+xenial all Zabbix official repository configuration ii zabbix-server-mysql 1:4.2.1-1+xenial amd64 Zabbix network monitoring solution - server (MySQL)
Потыркался немного, пообновлял пакеты, пофиксил зависимости — ноль эффекта.
Ну ок, идем на packages, качаем его, ставим, вуаля
~$ sudo dpkg -i libevent-2.0-5_2.0.21-stable-3_amd64.deb Selecting previously unselected package libevent-2.0-5:amd64. (Reading database … 98963 files and directories currently installed.) Preparing to unpack libevent-2.0-5_2.0.21-stable-3_amd64.deb … Unpacking libevent-2.0-5:amd64 (2.0.21-stable-3) … Setting up libevent-2.0-5:amd64 (2.0.21-stable-3) … Processing triggers for libc-bin (2.27-3ubuntu1) …
~$ sudo apt install zabbix-server-mysql zabbix-frontend-php Reading package lists… Done Building dependency tree Reading state information… Done The following additional packages will be installed: fontconfig-config fonts-dejavu-core fping libcurl3 libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libltdl7 libmysqlclient20 libodbc1 libopenipmi0 librtmp1 libtiff5 libwebp6 libxpm4 libxslt1.1 php-bcmath php-gd php-ldap php-mbstring php-xml php7.2-bcmath php7.2-gd php7.2-ldap php7.2-mbstring php7.2-xml ttf-dejavu-core Suggested packages: libgd-tools libmyodbc odbc-postgresql tdsodbc unixodbc-bin The following NEW packages will be installed: fontconfig-config fonts-dejavu-core fping libcurl3 libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libltdl7 libmysqlclient20 libodbc1 libopenipmi0 librtmp1 libtiff5 libwebp6 libxpm4 libxslt1.1 php-bcmath php-gd php-ldap php-mbstring php-xml php7.2-bcmath php7.2-gd php7.2-ldap php7.2-mbstring php7.2-xml ttf-dejavu-core zabbix-frontend-php zabbix-server-mysql 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 8,808 kB of archives. After this operation, 39.3 MB of additional disk space will be used. Do you want to continue? [Y/n]
Zabbix не захотел ставиться на Ubuntu 18.04.2 LTS
18.05.2019
Ubuntu
No Comments
Aleks
На очередную свежую виртуалку Ubuntu Server ставлю Zabbix. Неожиданно — не хочет, спотыкается на самом интересном месте.
исходные данные:
Потыркался немного, пообновлял пакеты, пофиксил зависимости — ноль эффекта.
Ну ок, идем на packages, качаем его, ставим, вуаля
Ну а дальше всё, как обычно:
ubuntuzabbixмониторинг