A few days ago the VM that I run Zoneminder on crashed. I had to start over and reinstall Zoneminder. When I finished the reinstall I took the latest version of my config files as copied them directly to the /etc/zm folder. When I tried to open up the web interface, there is an error displayed on the web interface that says,”User Authentication is not turned on. You cannot log in.”
I’ve made sure that the time zones are set appropriately and also made sure permissions include www-data for /etc/zm and /var/log/zm
Any help or insight as to how to rectify this issue would be greatly appreciated!
Restoring VM after crash, User Authentication is not turned on
Re: Restoring VM after crash, User Authentication is not turned on
I went through the same ordeal last week and got the same message. This is what saved me:
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -e "ALTER USER 'zmuser'@localhost IDENTIFIED BY 'zmpass';"
mysql -e "GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;"
mysql -e "FLUSH PRIVILEGES ;"
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -e "ALTER USER 'zmuser'@localhost IDENTIFIED BY 'zmpass';"
mysql -e "GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;"
mysql -e "FLUSH PRIVILEGES ;"
Re: Restoring VM after crash, User Authentication is not turned on
@VicThor Thanks for that very much. That got me going too!