I have already disabled.
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Nagios 4.0.8 Web Interface Not Working
Re: Nagios 4.0.8 Web Interface Not Working
Did you reboot the machine after changing the SElinux file?
Rob Hassing
![Image](http://mona.deltics.info/wp-content/uploads/2016/06/footer.png)
![Image](http://mona.deltics.info/wp-content/uploads/2016/06/footer.png)
Re: Nagios 4.0.8 Web Interface Not Working
Yes, many times.
Re: Nagios 4.0.8 Web Interface Not Working
Please post the output of the following two commands on the nagios server:
(this will show your kernel version and processor architecture)
and
(this will show details about that check_nrpe binary you are trying to execute; correct the path to check_nrpe if necessary)
Running a 64bit binary on a 32bit kernel will result in 'cannot execute binary file'.
Code: Select all
uname -rp
and
Code: Select all
file /usr/local/nagios/libexec/check_nrpe
Running a 64bit binary on a 32bit kernel will result in 'cannot execute binary file'.
Re: Nagios 4.0.8 Web Interface Not Working
uname -rp
2.6.32-504.8.1.el6.i686 i686
file /usr/local/nagios/libexec/check_nrpe
/usr/local/nagios/libexec/check_nrpe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
2.6.32-504.8.1.el6.i686 i686
file /usr/local/nagios/libexec/check_nrpe
/usr/local/nagios/libexec/check_nrpe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
Re: Nagios 4.0.8 Web Interface Not Working
You have a 32 bit install of linux (see the i686 in the uname output? It would say 'x86_64' if it was a 64bit kernel); you are trying to run a 64bit binary version of check_nrpe (the 64-bit part of the output of the file command tells you this). This will not work. If you want to use a 32bit version of linux, you need to use a 32bit version of check_nrpe.
I am assuming you copied that check_nrpe from another system that was 64bit.
I am assuming you copied that check_nrpe from another system that was 64bit.
Re: Nagios 4.0.8 Web Interface Not Working
Millisa is correct. You will need to get nrpe/plugins from you package manager or build it from source to acquire a 32 bit version.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios 4.0.8 Web Interface Not Working
I have resolved the issue, please marked as close.