Page 2 of 2
Re: update nagios core 3.5 to 4.0.2
Posted: Tue Feb 25, 2014 6:06 pm
by abrist
Oh, one last command. You need to create the default basic auth user (nagiosadmin):
Code: Select all
htpasswd –c /usr/local/nagios/etc/htpasswd.users nagiosadmin
And restart httpd:
Re: update nagios core 3.5 to 4.0.2
Posted: Tue Feb 25, 2014 6:46 pm
by Khmerlinux
I tried to create users. Here what I got.
#htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
htpasswd: cannot create file /usr/local/nagios/etc/htpasswd.users
What did I do wrong?
Re: update nagios core 3.5 to 4.0.2
Posted: Wed Feb 26, 2014 10:39 am
by abrist
Was the command run as root?
Re: update nagios core 3.5 to 4.0.2
Posted: Wed Feb 26, 2014 11:02 am
by Khmerlinux
Yes. Everything was done with root login.
Re: update nagios core 3.5 to 4.0.2
Posted: Wed Feb 26, 2014 12:45 pm
by sreinhardt
Just to verify do you have /usr/local/nagios/etc/?
Re: update nagios core 3.5 to 4.0.2
Posted: Wed Feb 26, 2014 1:27 pm
by Khmerlinux
Hello,
When I run ls -lvd /usr/local/nagios/etc/
return with: drwxrwxr - x. 3 nagios nagios 4096 Feb 25 16:46 /usr/local/nagios/etc/
Re: update nagios core 3.5 to 4.0.2
Posted: Wed Feb 26, 2014 5:04 pm
by lmiltchev
Re: update nagios core 3.5 to 4.0.2
Posted: Wed Feb 26, 2014 5:20 pm
by Khmerlinux
it was disabled. I wiped and formatted. I will start all over again.
Thanks for your help.