NLS 2.1.9 Fresh install can't login using nagiosadmin

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by benhank »

Im in a bind. I cant reinstall the OS.
is it possible to redo the part of the installation that prompts me to add the server to a cluster?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by ssax »

The only way I know would be to completely uninstall log server and remove the data on the new node:

Code: Select all

systemctl stop logstash elasticsearch
rm -rf /usr/local/nagioslogserver /var/www/html/nagioslogserver
Then install Log Server fresh and connect it:

https://assets.nagios.com/downloads/nag ... Server.pdf
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by benhank »

Code: Select all

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'webroot'
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by ssax »

Please attach the full install log.

You can try running it like this to get more errors:

Code: Select all

bash -x ./fullinstall
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by benhank »

here you go
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by ssax »

Do this again:

Code: Select all

systemctl stop logstash elasticsearch
rm -rf /usr/local/nagioslogserver /var/www/html/nagioslogserver
Then delete the current extracted directory and re-extract it (it almost looks like you just ran the old one again), then re-run the ./fullinstall like this:

Code: Select all

bash -x ./fullinstall
Then send us the entire output and the install.log file if it errors.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by benhank »

aaaaaand BOOM! all set Thanks guys!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: NLS 2.1.9 Fresh install can't login using nagiosadmin

Post by benhank »

this can be locked up
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked