Dear support,
I can login to my syslog server in SSH.
However, when I tried to login through web using the same set of user and password, it promted me 'Invalid username or password.' after 3-min loading.
Login to web failed using the same set of user and password
-
cdcsysadmin
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
Re: Login to web failed using the same set of user and passw
The credentials used to login via ssh are different from the ones used to log into the web interface. For the web interface, try using the username 'nagiosadmin'.
You can reset the nagiosadmin password from the command line with the below if needed:
You can reset the nagiosadmin password from the command line with the below if needed:
Code: Select all
/usr/local/nagioslogserver/scripts/reset_nagiosadmin_password.shAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
cdcsysadmin
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
Re: Login to web failed using the same set of user and passw
Dear cdienger,
I ran the script, entered the password.
However, it did not seem to succeed as the prompt does not appear again unit I pressed 'ctrl+z'.
When I login as nagiosadmin with the newly set password, it still shows 'Invalid username or password'.
I ran the script, entered the password.
However, it did not seem to succeed as the prompt does not appear again unit I pressed 'ctrl+z'.
When I login as nagiosadmin with the newly set password, it still shows 'Invalid username or password'.
You do not have the required permissions to view the files attached to this post.
Re: Login to web failed using the same set of user and passw
Is there anything logged in the elasticsearch logs when you try to logging? Run:
and then attempt to login and provide the output.
Code: Select all
tail -f /var/log/elasticsearch/*As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
cdcsysadmin
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
Re: Login to web failed using the same set of user and passw
When I ran the script, the screen started jumping as shown in the gif.
It could be stopped by pressing 'ctrl+z', it looks so weird.
Do you think a remote session is needed for the investigation of the problem?
It could be stopped by pressing 'ctrl+z', it looks so weird.
Do you think a remote session is needed for the investigation of the problem?
You do not have the required permissions to view the files attached to this post.
Re: Login to web failed using the same set of user and passw
It looks like there are transaction logs that need to be cleared out. Run the following and then try logging in:
If there are still any problems, please PM me a profile and a copy of the nagioslogserver index.
The profile can be gathered under Admin > System > System Status > Download System Profile or from the command line with:
This will create /tmp/system-profile.tar.gz.
Note that this file can be very large and may not be able to be uploaded through the ticketing system. This is usually due to the logs in the Logstash and/or Elasticsearch directories found in it. If it is too large, please open the profile, extract these directories/files and send them separately.
The index can be gathered with:
The file it creates and that we'd like to see is /tmp/nagioslogserver.tar.gz.
Code: Select all
service elasticsearch stop
find /usr/local/nagioslogserver/elasticsearch/data/ -type f -name *.recovering -exec rm -f {} \;
service elasticsearch startThe profile can be gathered under Admin > System > System Status > Download System Profile or from the command line with:
Code: Select all
/usr/local/nagioslogserver/scripts/profile.shNote that this file can be very large and may not be able to be uploaded through the ticketing system. This is usually due to the logs in the Logstash and/or Elasticsearch directories found in it. If it is too large, please open the profile, extract these directories/files and send them separately.
The index can be gathered with:
Code: Select all
curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gzAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
cdcsysadmin
- Posts: 55
- Joined: Tue Dec 04, 2018 9:52 pm
Re: Login to web failed using the same set of user and passw
After clearing out transaction logs, I have been able to reset 'nagiosadmin' password and login through web.
Thanks!
Thanks!
Re: Login to web failed using the same set of user and passw
Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.