Unable to generate random bytes
Posted: Thu Jun 09, 2016 7:25 am
Hi, I have some problem with nagios settings. I`ve installed nagios to computer with SPARC architecture using Buildroot. As it is written here (https://assets.nagios.com/downloads/nag ... buntu.html) I tried to create a nagiosadmin account for logging into the Nagios web interface by passing
in my terminal.
Then I get this error:
The htpasswd.users file is created but it is empty.
p.s.: configuration files have been installed by this /etc/nagios/ directory. I tried to create /usr/local/nagios/etc/ directory and copy this files here. And I tried to execute
In both cases the empty htpasswd.users file is created and appears the same error.
What I`m doing wrong?
Code: Select all
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadminThen I get this error:
Code: Select all
htpasswd: Unable to generate random bytes: No such file or directoryp.s.: configuration files have been installed by this /etc/nagios/ directory. I tried to create /usr/local/nagios/etc/ directory and copy this files here. And I tried to execute
Code: Select all
htpasswd -c /etc/nagios/htpasswd.users nagiosadminWhat I`m doing wrong?