unable to reinstall cleanly - always prompts for login
Posted: Mon Jul 25, 2016 2:38 pm
While setting up a test instance, very shortly ran into an odd issue: none of the log entries had any content. (there were events, with timestamps, but none of the values had any content. completely blank). I figured since it was so early in the process, we can just perform a reinstall of nagios log server.
Unfortunately, no matter what I find & remove, web UI always prompts me for username & password, and never shows the initial setup screens. Trying to reset the password for nagiosadmin with the included script doesn't seem to work (which is another issue, perhaps I should open a new post. The script discards all output and always claims success), and I ged 'could not get user. Specified ID may be wrong.
Here are the things I've removed to be on the safe side and performed fullinstall with no success, and I'm wondering what I'm missing:
/usr/local/nagioslogserver/
/var/log/logstash/
/var/log/elasticsearch/
/etc/sysconfig/logstash (this probably should have different permissions by the way, no need to have exec bit set)
/etc/rsyslog.d/nagioslogserver.conf (this has DOS line endings. I don't think it causes major issues, but it probably should be cleaned up)
/etc/httpd/conf.d/nagioslogserver.conf
/var/www/html/nagioslogserver/
- nagios user & group entries
What gives? Where is the information stored that makes NLS think it was previously installed on the system?
Unfortunately, no matter what I find & remove, web UI always prompts me for username & password, and never shows the initial setup screens. Trying to reset the password for nagiosadmin with the included script doesn't seem to work (which is another issue, perhaps I should open a new post. The script discards all output and always claims success), and I ged 'could not get user. Specified ID may be wrong.
Here are the things I've removed to be on the safe side and performed fullinstall with no success, and I'm wondering what I'm missing:
/usr/local/nagioslogserver/
/var/log/logstash/
/var/log/elasticsearch/
/etc/sysconfig/logstash (this probably should have different permissions by the way, no need to have exec bit set)
/etc/rsyslog.d/nagioslogserver.conf (this has DOS line endings. I don't think it causes major issues, but it probably should be cleaned up)
/etc/httpd/conf.d/nagioslogserver.conf
/var/www/html/nagioslogserver/
- nagios user & group entries
What gives? Where is the information stored that makes NLS think it was previously installed on the system?