![]() ![]() It is important that the user running httpd (usually http) can access your cameras, for example: # rm -Rf /var/cache/zoneminder/events/* /var/cache/zoneminder/images/* /var/cache/zoneminder/temp/* Warning: This removes all images and events. ![]() # mysql -u root -p zm < /usr/share/zoneminder/db/zm_create.sql GRANT CREATE, INSERT, SELECT, DELETE, UPDATE ON zm.* TO the preconfigured tables into your newly created zm database: ![]() This is useful for developers or users that need to wipe all ZoneMinder and start fresh.ĭrop the ZoneMinder MySQL database and delete the MySQL user: See the upstream wiki page: Troubleshooting. You can also inspect the log within the web interface. Logs by default are kept in /var/log/zoneminder. ZoneMinder's web interface will be accessible at Troubleshooting Then, in addition to any services already started in the above steps, start rvice and rvice. Run the following command to create some volatile files and directories that are required by ZoneMinder during runtime: # mysql -u root -p -e "grant select,insert,update,delete,create,drop,alter,index,lock tables,alter routine,create routine,trigger,execute on zm.* to identified by 'zmpass' " # mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql Note: If you have not set a password for MariaDB's root user (which you really should), run the following commands without the -p option. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |