dougmccrary wrote: ↑Fri Jan 13, 2023 10:15 pm
did you get this done?
systemctl enable zoneminder
service zoneminder start
adduser www-data video
a2enconf zoneminder
a2enmod rewrite
chown -R www-data:www-data /usr/share/zoneminder/
service apache2 reload
/var/log/apache2 should have access.log error.log other_vhosts_access.log
root@mycamera:~# systemctl enable zoneminder
root@mycamera:~# service zoneminder start
root@mycamera:~# adduser www-data video
Adding user `www-data' to group `video' ...
Adding user www-data to group video
Done.
root@mycamera:~# a2enconf zoneminder
Conf zoneminder already enabled
root@mycamera:~# a2enmod rewrite
Module rewrite already enabled
root@mycamera:~# chown -R www-data:www-data /usr/share/zoneminder/
root@mycamera:~# service apache2 reload
root@mycamera:~# cd /var/log
root@mycamera:/var/log# cd apache2
root@mycamera:/var/log/apache2# ls -l
total 20
-rw-r----- 1 root adm 0 Jan 12 06:25 access.log
-rw-r----- 1 root adm 89 Jan 11 15:47 access.log.1
-rw-r----- 1 root adm 604 Jan 14 13:00 error.log
-rw-r----- 1 root adm 361 Jan 14 06:25 error.log.1
-rw-r----- 1 root adm 307 Jan 13 06:25 error.log.2.gz
-rw-r----- 1 root adm 793 Jan 12 06:25 error.log.3.gz
-rw-r----- 1 root adm 0 Jan 10 13:27 other_vhosts_access.log
root@mycamera:/var/log/apache2# vi error.log
[Sat Jan 14 06:25:06.002137 2023] [mpm_prefork:notice] [pid 11249] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jan 14 06:25:06.002539 2023] [core:notice] [pid 11249] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jan 14 13:00:27.539404 2023] [mpm_prefork:notice] [pid 11249] AH00171: Graceful restart requested, doing restart
[Sat Jan 14 13:00:27.839548 2023] [mpm_prefork:notice] [pid 11249] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jan 14 13:00:27.839763 2023] [core:notice] [pid 11249] AH00094: Command line: '/usr/sbin/apache2'
vi other_vhosts_access.log is empty!