Hi
Thanks for the prompt response
How did sou install it?
A: We installed it from source code (tar.gz file)
You should be aware that that is not officially supported, and makes things more
difficult for people here to provide help, since your system will not be the
same as a package-installed version, as documented at
https://icinga.com/docs/icinga2/latest/doc/02-installation/
What command are you using to do this?
A: ./icinga2 status, ./icinga2 start
Well, that’s completely different from the way you would start a package-
installed version, and I’m immediately out of my depth here, because I’ve
never tried to start Icinga2 in such a way.
What happens if you kill that PID and then restart icinga2?
A: After killing PID, and starting again, message is shown as “Done”.
When we check the status (using ./icinga2 status) a message “Not
running” is displayed.
Okay, so that makes me start to wonder “what started that first Icinga process
to begin with?” and also “was it running effectively and could be used?”
You have an “icinga” folder at root level?
A: No icinga folder is not at root level. It is in custom path
“/xx/yy/zz/icinga” custom path “/xx/yy/zz” is the custom path under wich
“icinga” folder got created during installation
Okay, understood.
Is that an exact quote of the name - isn’t it “icinga2”? Also, where
doesthat directory name exist (it doesn’t start with a /, so I’m not sure
whereyou’re starting from to show that path)?
A: icinga/lib64/sbin – it is exactly /xx/yy/zz/icinga/lib64
I’m surprised - again, package installed versions have “icinga2” in the path
name.
How the icinga2 was isntalled?
A:
We compiled (with cmake) and build the source code
soucre code: icinga2-2.11.0.tar.gz
Compilation: using cmake
build :make
Install :make install
Out of interest, why did you choose to install from sorce instead of using the
RHEL 7 package?
Did the installation process appear to go cleanly, or did you run into any
problems and try again (maybe doing it slightly differently)?
A: Installation process was clean without any errors
Okay, that’s good, at least.
What happens if you reboot the machine? Does any instance of Icinga get
started? If so, what is its full path?
A: Since we have not enabled enable-bootstart, instance did not start
automatically after reboot
Hm, so I still wonder how that original instance of Icinga got started.
What happens if you kill the existing instance and then start Icinga using
whatever command you are using to try to start it?
A: After killing PID, and starting again, message is shown as “Done”.
When we check the status (using ./icinga2 status) a message “Not
running” is displayed.
I’m going to have to hand over to someone who has done anything like this
before, as I have no experience of running the icinga2 binary directly from
the command line like this.
Regards,
Antony.