Hello,
I have downloaded and configured Nagios Core 4.1.1. I run CentOS 6.8 on the machine and because of that I have followed both the official quickstart guide and also this one : http://www.techoism.com/steps-to-config ... at-fedora/ . I have followed all the written steps (under root) but somehow when I finish the guide it wont log me in because of a wrong password. I have not configured Apache anyhow but the guide didn't say so.
Could you please help me out somehow ?
Thank you very much
Wrong initial password
Re: Wrong initial password
Are you referring to this page?
http://your.i.p.here/nagios/ ?
If so, take a look at this part from the guide you mentioned, this is where the password for nagiosadmin is set -
http://your.i.p.here/nagios/ ?
If so, take a look at this part from the guide you mentioned, this is where the password for nagiosadmin is set -
Code: Select all
htpasswd -s -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
Former Nagios Employee
Re: Wrong initial password
Yes, although I have used a hostname because of our DNS server.
And also I have used that command, even have tried it with and without -c flag (have removed it before).
And also I have used that command, even have tried it with and without -c flag (have removed it before).
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Wrong initial password
Have you tried a basic password?
Tail the httpd logs in an ssh session:
Now try and access the webpage, what is logged in the ssh session?
Have you tried this guide?:
https://support.nagios.com/kb/article.p ... ategory=58
Also it could be that SELinux is enabled. To disable it:
Does any of this help?
Tail the httpd logs in an ssh session:
Code: Select all
tail -f /var/log/httpd/*.logHave you tried this guide?:
https://support.nagios.com/kb/article.p ... ategory=58
Also it could be that SELinux is enabled. To disable it:
Code: Select all
sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
setenforce 0As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Wrong initial password
solved, thanks to the logs you have pointed me onto - I did the whole procedure under root and it didn't give the nagios users the permissions to the httpasswd file.
thanks
thanks
Re: Wrong initial password
Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/