Problem creating Nagios Admin user and password
Posted: Thu Mar 21, 2013 7:17 pm
Hi
I am new to nagios. Here is a weird problem that I am facing with nagios when creating nagios username and password using htpasswd -c command.As per my knowledge ./htaccess files are looking fine and have no problems. I am trying the command ./htpasswd -c /usr/local/nagios/etc/htpassword.users nagiosadmin which is throwing back error saying -bash: ./htpasswd: cannot execute binary file. Also, when i try to use the command as htpasswd -c /usr/local/nagios/etc/htpassword.users nagiosadmin throws me back error saying -bash: htpasswd: command not found. FYI I am running this command from /usr/local/apache2/bin. It would be great if someone can get me out of this problem that I am facing. BTW I am using linux server as my system.
I am new to nagios. Here is a weird problem that I am facing with nagios when creating nagios username and password using htpasswd -c command.As per my knowledge ./htaccess files are looking fine and have no problems. I am trying the command ./htpasswd -c /usr/local/nagios/etc/htpassword.users nagiosadmin which is throwing back error saying -bash: ./htpasswd: cannot execute binary file. Also, when i try to use the command as htpasswd -c /usr/local/nagios/etc/htpassword.users nagiosadmin throws me back error saying -bash: htpasswd: command not found. FYI I am running this command from /usr/local/apache2/bin. It would be great if someone can get me out of this problem that I am facing. BTW I am using linux server as my system.