Failed to start dashing-icinga

Okay, please make sure that Development Tools is listed in the output of

yum group list

If it isn’t, please try

yum --disablerepo=\* --enablerepo=base,updates group list

If it does show up now, install Development Tools via

yum --disablerepo=\* --enablerepo=base,updates groupinstall "Development Tools"

If it still doesn’t show up, your repository configuration seems off and you would have to fix this first.

[root@PLC7Cbis dashing-icinga2]# yum group list
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Warning: no environments/groups match:

[root@PLC7Cbis dashing-icinga2]# yum --disablerepo=* --enablerepo=base,updates group list
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
updates | 2.9 kB 00:00:00
Warning: no environments/groups match:

[root@PLC7Cbis dashing-icinga2]# yum group list
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Warning: no environments/groups match:

I just noticed the line

Repository updates is listed more than once in the configuration

This hints at misconfiguration in your repository configuration. Fixing this in this thread would be offtopic and too much noise, so I’d ask you to fix this with the help of your local admins and we can continue from there once your repositories are set up properly.

1 Like

[root@PLC7Cbis dashing-icinga2]# yum group list
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

  • epel: epel.mirror.far.fi
    Available Environment Groups:
    Bureau Cinnamon
    Bureau MATE
    Groupes disponibles :
    Applications Internet
    Base
    Bureau LXQt
    Bureau à usage général
    Cinnamon
    Client de sauvegarde
    Empaqueteur Fedora
    Environnement KDE
    Environnement de développement TurboGears
    Haskell
    Labo d’électronique
    Logiciel éducatif
    MATE
    Milkymist
    Moteur de servlet Web
    Méthodes de saisie
    Outils de création graphique
    Outils de diagnostic
    Outils de développements
    Outils d’accès à Internet par la console
    Outils d’administration système
    Outils graphiques d’administration
    Outils réseau
    Polices de caractères
    Prise en charge des cartes à puce
    Prise en charge des outils scientifiques
    Rédaction de documentation technique
    Serveur Web
    Serveur de courriel
    Serveur d’infrastructure réseau
    Suite bureautique et de productivité
    Utilitaires permettant de contrôler le matériel
    Xfce
    Effectué

[root@PLC7Cbis dashing-icinga2]# yum groupinstall “Development Tools”
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

  • epel: epel.mirror.far.fi
    icinga-stable-release | 2.9 kB 00:00:00
    Warning: Group development does not have any packages to install.
    Maybe run: yum groups mark install (see man yum)
    Aucun paquet disponible pour installation ou mise à jour dans les groupes demandés

I think :

Outils de développements

It’s

“Development Tools”

Outils de développements - should be this one.

Try installing it:
yum groupinstall "Outils de développements"

and then change into the dashing-icinga2 repository and try bundle again, please.

[root@PLC7Cbis dashing-icinga2]# yum groupinstall “Outils de développements”
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

  • epel: epel.mirror.far.fi
    Warning: Group development does not have any packages to install.
    Maybe run: yum groups mark install (see man yum)
    Aucun paquet disponible pour installation ou mise à jour dans les groupes demandés

I have to follow this now ?

Almost, yes. Apparently, it is

yum groups mark-install "Development Tools"
yum groups mark-convert "Development Tools"
yum groupinstall "Development Tools"

these days.

[root@PLC7Cbis dashing-icinga2]# yum groups mark-install “Development Tools”
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

[root@PLC7Cbis dashing-icinga2]# yum groups mark-convert “Development Tools”
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Aucun fichier de groupe n’est installé.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

[root@PLC7Cbis dashing-icinga2]# yum groupinstall “Development Tools”
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Loading mirror speeds from cached hostfile

  • epel: epel.mirror.far.fi
    Maybe run: yum groups mark install (see man yum)
    Aucun paquet disponible pour installation ou mise à jour dans les groupes demandés

Still not working, huh?

What is the output of
yum repolist?

I guess your repositories are still not fixed or don’t provide needed group definitions.


[root@PLC7Cbis dashing-icinga2]# yum repolist
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * epel: epel.mirror.far.fi
id du dépôt                                                                              nom du dépôt                                                                                                    statut
base                                                                                     CentOS-7 - Base                                                                                                 10 072
centos-sclo-rh                                                                           CentOS-7 - SCLo rh                                                                                              14 248
centos-sclo-sclo                                                                         CentOS-7 - SCLo sclo                                                                                             1 585
epel/x86_64                                                                              Extra Packages for Enterprise Linux 7 - x86_64                                                                  13 751
icinga-stable-release/7                                                                  ICINGA (stable release for epel)                                                                                 1 176
repolist: 40 832

Okay, this leads nowhere. Seemingly, the extras as well as the updates repositories are disabled, yet centos-sclo-rh/sclo and epel are enabled - for those to install, you’d need the extras repository though :thinking:

Can you try to install all the following packages? These are the ones that are part of the group Development Tools:

yum install autoconf automake bison byacc cscope ctags diffstat doxygen elfutils flex gcc gcc-c++ gcc-gfortran indent intltool libtool patch patchutils rcs redhat-rpm-config rpm-build rpm-sign subversion swig systemtap

And afterwards try to use bundler again?

All packages were already installed :

[root@PLC7Cbis dashing-icinga2]# yum install autoconf automake bison byacc cscope ctags diffstat doxygen elfutils flex gcc gcc-c++ gcc-gfortran indent intltool libtool patch patchutils rcs redhat-rpm-config rpm-build rpm-sign subversion swig systemtap
Modules complémentaires chargés : fastestmirror, langpacks
Repository updates is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * epel: epel.mirror.far.fi
Le paquet autoconf-2.69-11.el7.noarch est déjà installé dans sa dernière version
Le paquet automake-1.13.4-3.el7.noarch est déjà installé dans sa dernière version
Le paquet bison-3.0.4-2.el7.x86_64 est déjà installé dans sa dernière version
Le paquet byacc-1.9.20130304-3.el7.x86_64 est déjà installé dans sa dernière version
Le paquet cscope-15.8-10.el7.x86_64 est déjà installé dans sa dernière version
Le paquet ctags-5.8-13.el7.x86_64 est déjà installé dans sa dernière version
Le paquet diffstat-1.57-4.el7.x86_64 est déjà installé dans sa dernière version
Le paquet 1:doxygen-1.8.5-4.el7.x86_64 est déjà installé dans sa dernière version
Le paquet elfutils-0.176-5.el7.x86_64 est déjà installé dans sa dernière version
Le paquet flex-2.5.37-6.el7.x86_64 est déjà installé dans sa dernière version
Le paquet gcc-4.8.5-44.el7.x86_64 est déjà installé dans sa dernière version
Le paquet gcc-c++-4.8.5-44.el7.x86_64 est déjà installé dans sa dernière version
Le paquet gcc-gfortran-4.8.5-44.el7.x86_64 est déjà installé dans sa dernière version
Le paquet indent-2.2.11-13.el7.x86_64 est déjà installé dans sa dernière version
Le paquet intltool-0.50.2-7.el7.noarch est déjà installé dans sa dernière version
Le paquet libtool-2.4.2-22.el7_3.x86_64 est déjà installé dans sa dernière version
Le paquet patch-2.7.1-12.el7_7.x86_64 est déjà installé dans sa dernière version
Le paquet patchutils-0.3.3-4.el7.x86_64 est déjà installé dans sa dernière version
Le paquet rcs-5.9.0-7.el7.x86_64 est déjà installé dans sa dernière version
Le paquet redhat-rpm-config-9.1.0-88.el7.centos.noarch est déjà installé dans sa dernière version
Le paquet rpm-build-4.11.3-45.el7.x86_64 est déjà installé dans sa dernière version
Le paquet rpm-sign-4.11.3-45.el7.x86_64 est déjà installé dans sa dernière version
Le paquet subversion-1.7.14-16.el7.x86_64 est déjà installé dans sa dernière version
Le paquet swig-2.0.10-5.el7.x86_64 est déjà installé dans sa dernière version
Le paquet systemtap-4.0-13.el7.x86_64 est déjà installé dans sa dernière version
Rien à faire

[root@PLC7Cbis dashing-icinga2]# su server
[server@PLC7Cbis dashing-icinga2]$ bundle install --system
[DEPRECATED] The --system flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set --local system 'true', and stop using this flag
Using bundler 2.3.14
Using coffee-script-source 1.12.2
Following files may not be writable, so sudo is needed:
/usr/local/bin
/usr/local/lib/ruby/gems/2.5.0/build_info
/usr/local/lib/ruby/gems/2.5.0/plugins
Using execjs 2.8.1
Using coffee-script 2.4.1
Using concurrent-ruby 1.1.10
Using daemons 1.4.1
Using unf_ext 0.0.8.1
Using unf 0.1.4
Using domain_name 0.5.20190701
Using tzinfo 2.0.4
Using et-orbi 1.2.7
Using eventmachine 1.2.7
Using ffi 1.15.5
Using raabro 1.4.0
Using fugit 1.5.3
Using http-accept 1.7.0
Using http-cookie 1.0.5
Using json 2.6.2
Using mime-types-data 3.2022.0105
Using mime-types 3.4.1
Using multi_json 1.15.0
Using ruby2_keywords 0.0.5
Using mustermann 1.1.1
Using netrc 0.11.0
Using nio4r 2.5.8
Using puma 5.6.4
Using rack 2.2.3
Using rack-protection 2.2.0
Using rack-test 0.7.0
Using rest-client 2.1.0
Using rufus-scheduler 3.8.1
Using sassc 2.1.0 (x86_64-linux)
Using sd_notify 0.1.1
Using tilt 2.0.10
Using sinatra 2.2.0
Using sinatra-contrib 2.2.0
Using sprockets 4.0.3
Using thin 1.8.1
Using thor 1.2.1
Using smashing 1.3.5
Bundle complete! 8 Gemfile dependencies, 40 gems now installed.
Use bundle info [gemname] to see where a bundled gem is installed.

(without doing it on purpose, I also did it as root before the user “server” :smiling_face_with_tear:, I hope it’s not a problem)

I can try that ?

cp tools/systemd/dashing-icinga2.service /usr/lib/systemd/system/
systemctl daemon-reload
systemctl start dashing-icinga2.service
systemctl status dashing-icinga2.service

I doubt it would work, given that we didn’t actually change anything.

Good news is, I was able to reproduce the exact same error log you posted in the beginning.

I’d like you to wait for me to post a working installation instruction for Centos7, I suspect it’s got to do with the used Ruby version after all…

Sorry for all the hassle!

1 Like

Yes indeed it does not work.

When you published, can you let me know?
(in reply here or in private message)

Thank you