All,
I am trying to install Nagios Logserver ver. 2.1.8. I get to the screen shown in the attachment below. Shown below the attachment is a somewhat cryptic message denying me finalizing the install. I have tried for the last day and a half to resolve the problem. I should mention that the install of the product was done in a piecemeal fashion, as I do not have external internet access on any of my Linux servers and had to download the files to my desktop server and deploy them on the server. Please see the attached file and if possible, let me know what I need to do to make this install work. Thank you.
Problems finalizing Nagios Log Server (2.1.8) install
Problems finalizing Nagios Log Server (2.1.8) install
You do not have the required permissions to view the files attached to this post.
Re: Problems finalizing Nagios Log Server (2.1.8) install
Do you have selinux enabled?
If so, please disable it as it's not currently supported.
What is the output of this command?
Code: Select all
sestatus
What is the output of this command?
Code: Select all
ls -ld /var/www/html/nagioslogserver/application/cache
Re: Problems finalizing Nagios Log Server (2.1.8) install
The response to ls -ld /var/www/html/nagioslogserver/application/cache is -> drwxrwxr-x. 2 apache apache 19 Apr 16 11:44 /var/www/html/nagioslogserver/application/cache
However, I have tried it with userid and groupid of nagios:nagios and got the same errors.
It appears that the server is using selinux. I will see about getting it turned off. I'll let you know where this stands after getting it turned off (if I can get it turned off).
Thank you for your assistance,
However, I have tried it with userid and groupid of nagios:nagios and got the same errors.
It appears that the server is using selinux. I will see about getting it turned off. I'll let you know where this stands after getting it turned off (if I can get it turned off).
Thank you for your assistance,
Re: Problems finalizing Nagios Log Server (2.1.8) install
All,
I there a way to finishing installing the application, then turn selinux back on and having it work?
I there a way to finishing installing the application, then turn selinux back on and having it work?
Re: Problems finalizing Nagios Log Server (2.1.8) install
Hi,
Check the SELinux state:
There are two ways that you can disable SELinux - either by editing a config file, or by using the setenforce command
or
If using the setenforce simply run the command
Enable SELinux:
To check:
Best Regards,
Vinh
Check the SELinux state:
Code: Select all
getenforce
Code: Select all
If editing the config file, Open the /etc/selinux/config file (in some systems, the /etc/sysconfig/selinux file).
Change the line SELINUX=enforcing to SELINUX=permissive.
Save and close the file.
Reboot your system
If using the setenforce simply run the command
Code: Select all
sudo setenforce 0
Enable SELinux:
Code: Select all
sudo setenforce 1
Code: Select all
getenforce
Vinh
Re: Problems finalizing Nagios Log Server (2.1.8) install
Got it to work. It does work with selinux after it is installed.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problems finalizing Nagios Log Server (2.1.8) install
GreatHIINNS wrote:Got it to work. It does work with selinux after it is installed.
Locking thread