Can anyone please help me how to install icinga2,icingaweb and icingadb with non-root uesrs on my rhel 7. Currenlty I dont have access to root user and I want to install icinga with functional user.
Os version → Rhel 7
Icinga version → Icinga 2 (version: 2.12.3)
I think the only way you’re going to be able to do this, then, is to compile
from source, because without root access, you won’t be able to install the
various components in the expected places.
I really think this is not the right way of going about running a service like
Icinga, though. If you don’t have root access on a machine, how do you
install any applications, and how do you keep it up to date?
If you are an unprivileged user and someone else has root access and is
responsible for installing and maintaining applications, then for production
use you should be able to justify getting them to install Icinga in the
standard way.
I tried to install icinga with root only now but I am getting below error.
yum install icinga2-2.10.5-1.el7.icinga.x86_64.rpm
Loaded plugins: amazon-id, search-disabled-repos
Examining icinga2-2.10.5-1.el7.icinga.x86_64.rpm: icinga2-2.10.5-1.el7.icinga.x86_64
Marking icinga2-2.10.5-1.el7.icinga.x86_64.rpm to be installed
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or “yum-complete-transaction --cleanup-only” and “yum history redo last”, first to finish them. If those don’t work you’ll have to try removing/installing packages by hand (maybe package-cleanup can help).
→ Running transaction check
—> Package icinga2.x86_64 0:2.10.5-1.el7.icinga will be installed
→ Processing Dependency: icinga2-bin = 2.10.5-1.el7.icinga for package: icinga2-2.10.5-1.el7.icinga.x86_64
→ Processing Dependency: icinga2-common = 2.10.5-1.el7.icinga for package: icinga2-2.10.5-1.el7.icinga.x86_64
→ Running transaction check
—> Package icinga2-bin.x86_64 0:2.10.5-1.el7.icinga will be obsoleting
→ Processing Dependency: libyajl.so.2()(64bit) for package: icinga2-bin-2.10.5-1.el7.icinga.x86_64
—> Package icinga2-common.x86_64 0:2.7.0-1.el7.icinga will be updated
—> Package icinga2-common.x86_64 0:2.10.5-1.el7.icinga will be an update
—> Package icinga2-libs.x86_64 0:2.7.0-1.el7.icinga will be obsoleted
→ Running transaction check
—> Package icinga2-bin.x86_64 0:2.12.4-1.el7.icinga will be obsoleting
→ Processing Dependency: libboost_filesystem.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
→ Processing Dependency: libboost_date_time.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
→ Processing Dependency: libboost_program_options.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
→ Processing Dependency: libboost_context.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
→ Processing Dependency: libboost_regex.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
→ Processing Dependency: libboost_coroutine.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
→ Processing Dependency: libboost_thread.so.1.69.0()(64bit) for package: icinga2-bin-2.12.4-1.el7.icinga.x86_64
—> Package yajl.x86_64 0:2.0.4-4.el7 will be installed
→ Finished Dependency Resolution
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_date_time.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_thread.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_regex.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_filesystem.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_coroutine.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_context.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.12.4-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_program_options.so.1.69.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest