Problems finalizing Nagios Log Server (2.1.8) install

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Problems finalizing Nagios Log Server (2.1.8) install

Post by HIINNS »

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.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Problems finalizing Nagios Log Server (2.1.8) install

Post by ssax »

Do you have selinux enabled?

Code: Select all

sestatus
If so, please disable it as it's not currently supported.

What is the output of this command?

Code: Select all

ls -ld /var/www/html/nagioslogserver/application/cache
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Problems finalizing Nagios Log Server (2.1.8) install

Post by HIINNS »

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,
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Problems finalizing Nagios Log Server (2.1.8) install

Post by HIINNS »

All,

I there a way to finishing installing the application, then turn selinux back on and having it work?
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Problems finalizing Nagios Log Server (2.1.8) install

Post by vtrac »

Hi,
Check the SELinux state:

Code: Select all

getenforce
There are two ways that you can disable SELinux - either by editing a config file, or by using the setenforce command

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
or
If using the setenforce simply run the command

Code: Select all

sudo setenforce 0

Enable SELinux:

Code: Select all

sudo setenforce 1
To check:

Code: Select all

getenforce
Best Regards,
Vinh
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Problems finalizing Nagios Log Server (2.1.8) install

Post by HIINNS »

Got it to work. It does work with selinux after it is installed.
scottwilkerson
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

Post by scottwilkerson »

HIINNS wrote:Got it to work. It does work with selinux after it is installed.
Great

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked