You are not logged in.

#1 2017-02-05 19:32:14

ArchUser1234
Member
Registered: 2017-02-05
Posts: 4

Can't Retrieve package "icinga2-ido-mysql" for Icinga 2 Installation

I've been trying to setup Icinga 2 with Icinga Web 2 as way of familiarizing myself with Arch Linux. Everything has gone smoothly up until the guide I was using asked me to "...install the icinga2-ido-mysql package using your distribution's package manager." I tried a "sudo pacman -Syu icinga2-ido-mysql" but the package doesn't seem to exist in the repositories I have installed. Does an Arch Linux equivalent of the "icinga2-ido-mysql" package exist or is there something different that needs to be done when installing Icinga 2 for Arch Linux? The two Icinga packages I currently have installed are: https://aur.archlinux.org/packages/icinga2/ https://aur.archlinux.org/packages/icingaweb2/

Offline

#2 2017-02-05 19:43:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't Retrieve package "icinga2-ido-mysql" for Icinga 2 Installation

Don't use random third party tutorials, use the community documentation: https://wiki.archlinux.org/index.php/Icinga


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-02-05 20:03:12

ArchUser1234
Member
Registered: 2017-02-05
Posts: 4

Re: Can't Retrieve package "icinga2-ido-mysql" for Icinga 2 Installation

The wiki article linked only goes into detail about Icinga and Icinga-web not Icinga 2 and Icinga-Web 2. The tutorial I was attempting to follow was the official one and can be found here: https://docs.icinga.com/icinga2/latest/ … ng-started

Offline

#4 2017-02-05 20:33:01

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: Can't Retrieve package "icinga2-ido-mysql" for Icinga 2 Installation

Are you sure you need to follow that step? Arch packages generally contain everything (as opposed to debian where separate components are packaged separately). What does the AUR icinga2 package provide?

Mod note: Moving to AUR Issues.

Last edited by WorMzy (2017-02-05 20:58:56)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2017-02-05 20:44:30

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: Can't Retrieve package "icinga2-ido-mysql" for Icinga 2 Installation

Seems the schemas are in icingaweb2 upstream
https://github.com/Icinga/icingaweb2/tr … etc/schema
From the  icingaweb2 PKGBUILD

  cp -r --parents etc/schema "$pkgdir/usr/share/webapps/icingaweb2"

So the schemas should be in /usr/share/webapps/icingaweb2/etc/schema/
Which is slightly different to the path from https://wiki.archlinux.org/index.php/Icinga#MySQL of /usr/share/icinga-web/etc/schema/mysql.sql
edit:
grammar
edit2:
missed webapps from path
edit3:

$ pacman -Qlp icingaweb2-2.4.1-1-any.pkg.tar.xz | grep schema.sql
icingaweb2 /usr/share/webapps/icingaweb2/etc/schema/mysql.schema.sql
icingaweb2 /usr/share/webapps/icingaweb2/etc/schema/pgsql.schema.sql

Last edited by loqs (2017-02-05 20:55:25)

Offline

#6 2017-02-06 22:09:21

ArchUser1234
Member
Registered: 2017-02-05
Posts: 4

Re: Can't Retrieve package "icinga2-ido-mysql" for Icinga 2 Installation

loqs wrote:

Seems the schemas are in icingaweb2 upstream
https://github.com/Icinga/icingaweb2/tr … etc/schema
From the  icingaweb2 PKGBUILD

  cp -r --parents etc/schema "$pkgdir/usr/share/webapps/icingaweb2"

So the schemas should be in /usr/share/webapps/icingaweb2/etc/schema/
Which is slightly different to the path from https://wiki.archlinux.org/index.php/Icinga#MySQL of /usr/share/icinga-web/etc/schema/mysql.sql
edit:
grammar
edit2:
missed webapps from path
edit3:

$ pacman -Qlp icingaweb2-2.4.1-1-any.pkg.tar.xz | grep schema.sql
icingaweb2 /usr/share/webapps/icingaweb2/etc/schema/mysql.schema.sql
icingaweb2 /usr/share/webapps/icingaweb2/etc/schema/pgsql.schema.sql

This is the answer I was looking for, thanks!

Offline

Board footer

Powered by FluxBB