New Manual Install of Log Server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

New Manual Install of Log Server

Post by dworthcsl »

Hi,

I am trying to install the Log server on RHEL 7.1 and ran into 2 issues.

1. The initial install is requiring firewalld to run. Is there a way around this? I was able to get around this by starting this up and then proceeding with the install.

2. The next issue where we are stuck is the Web portion, Final Installation Steps. I selected New Install, entered our licenses, and put in passwd and email information. Once I clicked Finish Installation, the changes did not take and the page refreshed asking for the same information. I also tried with out putting in a license and selecting 60 day trial. I looked at the apache logs and I am not seeing anything. I have not tried to turn on debugging.

OS is RHEL 7.1 running on VMware 5.5.

Thanks,
David
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: New Manual Install of Log Server

Post by jolson »

David,
The initial install is requiring firewalld to run. Is there a way around this?
We designed the installer with firewalld in mind, as it is the default firewall that ships with RHEL7 and company. You are free to uninstall firewalld or turn it off after the initial installation is done.
The next issue where we are stuck is the Web portion, Final Installation Steps. I selected New Install, entered our licenses, and put in passwd and email information. Once I clicked Finish Installation, the changes did not take and the page refreshed asking for the same information. I also tried with out putting in a license and selecting 60 day trial. I looked at the apache logs and I am not seeing anything. I have not tried to turn on debugging.
Is selinux still running by chance? It will break the install unless set to 'disabled' before our install script is run. My guess is that you have not disabled selinux:

Code: Select all

sestatus
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: New Manual Install of Log Server

Post by dworthcsl »

Thanks for the info on the firewall.

selinux was off.

sestatus
SELinux status: disabled
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: New Manual Install of Log Server

Post by jolson »

Interesting - I take it this is the first node you're standing up in the cluster? Any chance you could share your history? Something may have gone wrong, and it's hard to say exactly what. I take it you took a minimal RHEL7 box and ran our fullinstall script?

Some things that we could look at:

Code: Select all

history

Code: Select all

cat /usr/local/nagioslogserver/var/cluster_uuid

Code: Select all

cat /usr/local/nagioslogserver/var/cluster_hosts
Do you still have your install.log file? If so, I would love to take a look at that as well.

Let me know - thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: New Manual Install of Log Server

Post by dworthcsl »

Here is the requested info.

History from start of install and dealing with firewald.

Code: Select all

173  15/05/07 09:52:18 wget http://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz
  174  15/05/07 10:20:15 tar -xvzf nagioslogserver-latest.tar.gz 
  175  15/05/07 10:20:22 cd nagioslogserver/
  176  15/05/07 10:20:27 ls
  177  15/05/07 10:21:02 pwd
  178  15/05/07 10:22:59 ./fullinstall 
  179  15/05/07 10:24:47 ls
  180  15/05/07 10:24:55 ls -ltr
  181  15/05/07 10:25:01 view install.log 
  182  15/05/07 10:25:31 systemctl status firewalld
  183  15/05/07 10:25:43 systemctl enable firewalld
  184  15/05/07 10:25:58 systemctl start firewalld
  185  15/05/07 10:26:02 systemctl status firewalld
  186  15/05/07 10:26:09 iptables -L
  187  15/05/07 10:26:45 cd /etc/sysconfig/
  188  15/05/07 10:26:46 ls
  189  15/05/07 10:27:02 ll
  190  15/05/07 10:27:03 ls -tlr
  191  15/05/07 10:27:10 ls -ltr firewalld 
  192  15/05/07 10:27:16 view firewalld 
  193  15/05/07 10:27:25 cd ..
  194  15/05/07 10:27:29 cd firewalld/
  195  15/05/07 10:27:29 ls
  196  15/05/07 10:27:35 view firewalld.conf 
  197  15/05/07 10:27:54 ls zones/
  198  15/05/07 10:28:31 view lockdown-whitelist.xml 
  199  15/05/07 10:28:45 view zones/public.xml 
  200  15/05/07 10:30:41 cd /tmp/nagioslogserver/
  201  15/05/07 10:30:52 ./fullinstall 
  202  15/05/07 10:31:25 systemctl stop firewalld
  203  15/05/07 10:31:34 systemctl disable  firewalld
  204  15/05/07 10:31:55 systemctl status  firewalld
cat cluster_hosts
localhost

cat cluster_uuid
6fa59094-b893-4b6b-ac05-f18650ed5d2c

I will upload the install.log
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: New Manual Install of Log Server

Post by jolson »

No errors as far as I can tell. Anything in the elasticsearch logs?

Code: Select all

cat /var/log/elasticsearch/*.log
If you tail jobs.log and poller.log, what happens in them after you press the 'Finish Installation' button?

Code: Select all

tail -f /usr/local/nagioslogserver/var/jobs.log
tail -f /usr/local/nagioslogserver/var/poller.log
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: New Manual Install of Log Server

Post by dworthcsl »

There was nothing in the elasticsearch log. Only info messages. There was also nothing in the other 2 files. both 0 length.
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: New Manual Install of Log Server

Post by dworthcsl »

I am seeing this in messages.

Code: Select all

May  7 15:16:01 nglgl-p002s0 systemd: Created slice user-8080.slice.
May  7 15:16:01 nglgl-p002s0 systemd: Starting Session 494 of user nagios.
May  7 15:16:01 nglgl-p002s0 systemd: Started Session 494 of user nagios.
May  7 15:16:01 nglgl-p002s0 systemd: Starting Session 495 of user nagios.
May  7 15:16:01 nglgl-p002s0 systemd: Started Session 495 of user nagios.
May  7 15:16:01 nglgl-p002s0 oddjobd: Error org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown: Could not determine security context for ':1.1460'.
May  7 15:16:01 nglgl-p002s0 oddjobd: Error org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown: Could not determine security context for ':1.1461'.

jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: New Manual Install of Log Server

Post by jolson »

Regarding these two files:

Code: Select all

tail -f /usr/local/nagioslogserver/var/jobs.log
tail -f /usr/local/nagioslogserver/var/poller.log
They are truncated very often, which is why you need to follow them. After following them both (in two different terminals) I would like you to press the 'Finish Installation' button. Does anything appear in the tail?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: New Manual Install of Log Server

Post by dworthcsl »

Nope, nothing in either file. I also tried another browser to rule out any local caching. Is there a recommended way to uninstall then re-install? I do have another node waiting for install, but I wanted to resolve this first.
Locked