Nagios xi GUI crashes with segfault

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
mido2010
Posts: 16
Joined: Wed Jun 25, 2014 9:10 am

Nagios xi GUI crashes with segfault

Post 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
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi GUI crashes with segfault

Post 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?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
mido2010
Posts: 16
Joined: Wed Jun 25, 2014 9:10 am

Re: Nagios xi GUI crashes with segfault

Post by mido2010 »

Just sent a PM containing the profile.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi GUI crashes with segfault

Post 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?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
mido2010
Posts: 16
Joined: Wed Jun 25, 2014 9:10 am

Re: Nagios xi GUI crashes with segfault

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios xi GUI crashes with segfault

Post 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.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
mido2010
Posts: 16
Joined: Wed Jun 25, 2014 9:10 am

Re: Nagios xi GUI crashes with segfault

Post by mido2010 »

Umpf... good point! I'll reinstall using 64bit Debian and will come back with the result.

Thanks so far! :-)
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios xi GUI crashes with segfault

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mido2010
Posts: 16
Joined: Wed Jun 25, 2014 9:10 am

Re: Nagios xi GUI crashes with segfault

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios xi GUI crashes with segfault

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart