Page 1 of 1
Nagios XI GUI crashes with segfault
Posted: Tue Nov 03, 2020 7:30 am
by mido2010
Hi Support,
we have set up a new Negios XI server running 5.7.4 on Debian 10 (buster) using mariadb. We installed from source on a fresh Linux installation.
The config files have been imported manually.
At first everything worked like a charm, but after some hours we are now encountering randomly but frequently segmentation faults on Apache.
In apache's error.log we see entries like this.
Code: Select all
AH00052: child pid 13551 exit signal Segmentation fault (11)
Any help is highly appreciated.
Best regards
Michael
Re: Nagios XI GUI crashes with segfault
Posted: Tue Nov 03, 2020 10:22 am
by dchurch
Sounds like Apache is crashing.
Is XI stable enough that you can download and send a system profile? Can you please get and upload a system profile zip by going to Admin => System Profile (in the left menu), then clicking the blue button, then uploading it here?
Re: Nagios XI GUI crashes with segfault
Posted: Wed Nov 04, 2020 1:14 am
by mido2010
Just sent a PM containing the profile.
Re: Nagios XI GUI crashes with segfault
Posted: Wed Nov 04, 2020 2:15 pm
by dchurch
Profile received.
Hmm... I went through the same steps you mentioned, installing Debian 10 fresh, then installing xi-latest, and Apache isn't giving me any segfaults. Something else might be going on.
- Did you install any custom packages?
- Did you add any PHP extensions?
- Did you modify the Apache configuration beyond what was done during the Nagios XI installation?
Is there a certain action done that always causes a crash (e.g. loading the dashboard always crashes), or is it otherwise predictable?
Re: Nagios XI GUI crashes with segfault
Posted: Thu Nov 05, 2020 1:57 am
by mido2010
No, I did not install any custom packages nor I did install any PHP extensions. Also I did not touch the Apache config.
Perhaps one thing to mention: the installation is running on VMWare. We are using VMWare since perhaps 15 years now, but we did not encounter any segfaults with Apache yet... very strange!
The behaviour is also not predictable: sometimes Apache is running for some hours, sometimes I have to restart Apache too times in a minute. Apache might crash on any action: during logon to the web GUI, during creating reports, during clicking on anything in the dashborad... it's just randomly.
Re: Nagios XI GUI crashes with segfault
Posted: Thu Nov 05, 2020 10:29 am
by dchurch
I noticed you're using the 32-bit install of Debian and Nagios XI. Is there something preventing you from using the amd64 version?
32-bit Debian 10 is not officially supported. See
this document for the list of officially supported hardware configurations and distros.
Re: Nagios XI GUI crashes with segfault
Posted: Fri Nov 06, 2020 2:53 am
by mido2010
Umpf... good point! I'll reinstall using 64bit Debian and will come back with the result.
Thanks so far!

Re: Nagios XI GUI crashes with segfault
Posted: Fri Nov 06, 2020 1:56 pm
by benjaminsmith
HI,
Umpf... good point! I'll reinstall using 64bit Debian and will come back with the result.
Thanks so far!
Sounds good. Let us know how it goes.
Re: Nagios XI GUI crashes with segfault
Posted: Mon Nov 09, 2020 1:22 am
by mido2010
Hi,
last Friday I installed Nagios XI on Debian 10 64bit and since then no segfault occured... case solved!
Many thanks for helping and best regards
Michael
Re: Nagios XI GUI crashes with segfault
Posted: Mon Nov 09, 2020 8:18 am
by scottwilkerson
mido2010 wrote:Hi,
last Friday I installed Nagios XI on Debian 10 64bit and since then no segfault occured... case solved!
Many thanks for helping and best regards
Michael
Great
Locking thread