Search found 4 matches

by MortenSickel
Tue Jan 21, 2025 3:38 pm
Forum: Open Source Nagios Projects
Topic: Problem compiling nagios core on rocky linux 9 (i.e. gcc 11)
Replies: 3
Views: 6129

Re: Problem compiling nagios core on rocky linux 9 (i.e. gcc 11)

Well spotted and the problem was entirely my fault.

I had some problems compiling it earlier on and set CFLAGS to try to fix it. Then I forgot the CFLAG setting.

unset CFLAG solved my problem

Thanks!
by MortenSickel
Tue Jan 21, 2025 3:28 pm
Forum: Open Source Nagios Projects
Topic: Unable to Access Nagios Web Interface After Updating Nagios Core to 4.5.9
Replies: 11
Views: 31094

Re: Unable to Access Nagios Web Interface After Updating Nagios Core to 4.5.9

For my case, it is centOS7, we are in the process of replacing it, but those things take time.
by MortenSickel
Tue Jan 21, 2025 7:36 am
Forum: Open Source Nagios Projects
Topic: Problem compiling nagios core on rocky linux 9 (i.e. gcc 11)
Replies: 3
Views: 6129

Problem compiling nagios core on rocky linux 9 (i.e. gcc 11)

I am trying to compile nagios 4.5.9 on a rocky linux9 box. I have cloned the nagioscore git repository and checked out the nagios-4.5.9 release Then I do ./configure that runs without any problems, but make all stops on make[2]: Entering directory '/staff/morten/nagios/nagioscore/lib' gcc -Wall -I.....
by MortenSickel
Tue Jan 21, 2025 7:18 am
Forum: Open Source Nagios Projects
Topic: Unable to Access Nagios Web Interface After Updating Nagios Core to 4.5.9
Replies: 11
Views: 31094

Re: Unable to Access Nagios Web Interface After Updating Nagios Core to 4.5.9

I had the same problem the other day. The php code demands a newer version of php than what your server is running. It is using the Null coalescing ?? operator $theme = $cfg['theme'] ?? 'dark'; if ($theme != 'dark' && $theme != 'light') { $theme = 'dark'; } I.e. if $cfg['theme'] is set. $the...