I have a dedicated server for zone minder linking my main nas to it using smb ( //<IP address of NAS box 192.168.x.y>/<shared folder> /<mount point> cifs user=<user on NAS>,pass=<passwd on NAS> 0 0 ) witch shows up my cctv files perfect from old system but will not write to it
Code: Select all
2017-12-29 23:24:03.116252 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:24:01.986073 zms[27563].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:24:01.740612 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:24:01.319490 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:24:01.274762 zma_m2[27562].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:24:01.241294 zma_m2[27562].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:24:01.205832 zma_m2[27562].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:24:01.087650 zmdc[27562].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:24:01]
2017-12-29 23:24:01.082630 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:24:01, pid = 27562]
2017-12-29 23:24:01.011620 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:24:00.974833 zma_m1[27559].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:24:00.941552 zma_m1[27559].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:24:00.899235 zma_m1[27559].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:24:00.874620 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:24:00.846200 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:24:00.767430 zmdc[27559].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:24:00]
2017-12-29 23:24:00.767350 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:24:00, pid = 27559]
2017-12-29 23:24:00.550230 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:24:00.513550 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:24:00.240571 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:58.919346 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:57.605922 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:56.241722 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:54.891294 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:53.550392 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:52.427530 web_php[16838].ERR-/usr/share/zoneminder/www/includes/functions.php/1450 [disk_total_space returned false. Verify the web account user has access to /events]
2017-12-29 23:23:52.198066 web_php[16841].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:51.962259 zms[27548].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:23:51.881570 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:50.824016 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:50.668610 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:23:50.632236 zma_m2[27545].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:50.598885 zma_m2[27545].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:23:50.564515 zma_m2[27545].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:50.435950 zmdc[27545].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:23:50]
2017-12-29 23:23:50.435140 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:23:50, pid = 27545]
2017-12-29 23:23:50.385390 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:23:50.340648 zma_m1[27542].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:50.298981 zma_m1[27542].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:23:50.231738 zma_m1[27542].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:50.215680 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:23:50.178910 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:23:50.095830 zmdc[27542].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:23:50]
2017-12-29 23:23:50.094470 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:23:50, pid = 27542]
2017-12-29 23:23:49.874560 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:23:49.831150 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:23:49.281452 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:48.880338 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:48.504268 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:23:42.088810 zmc_m1[27017].INF-zm_monitor.cpp/3125 [Road in: 7000 - Capturing at 14.93 fps]
2017-12-29 23:23:42.021939 zmc_m2[27027].INF-zm_monitor.cpp/3125 [Car Paek: 7000 - Capturing at 14.93 fps]
2017-12-29 23:23:41.964263 zms[27539].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:23:39.986370 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:23:39.950044 zma_m2[27538].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:39.916688 zma_m2[27538].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:23:39.881707 zma_m2[27538].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:39.754200 zmdc[27538].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:23:39]
2017-12-29 23:23:39.752810 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:23:39, pid = 27538]
2017-12-29 23:23:39.703120 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:23:39.658480 zma_m1[27530].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:39.616884 zma_m1[27530].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:23:39.545013 zma_m1[27530].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:39.533180 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:23:39.489100 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:23:39.399320 zmdc[27530].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:23:39]
2017-12-29 23:23:39.398820 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:23:39, pid = 27530]
2017-12-29 23:23:39.183920 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:23:39.144830 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:23:31.961758 zms[27526].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:23:29.296730 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:23:29.260198 zma_m2[27525].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:29.226949 zma_m2[27525].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:23:29.193524 zma_m2[27525].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:29.107270 zmdc[27525].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:23:29]
2017-12-29 23:23:29.107250 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:23:29, pid = 27525]
2017-12-29 23:23:29.030180 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:23:28.993688 zma_m1[27522].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:28.960479 zma_m1[27522].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:23:28.919494 zma_m1[27522].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:28.893700 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:23:28.865110 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:23:28.783020 zmdc[27522].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:23:28]
2017-12-29 23:23:28.782760 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:23:28, pid = 27522]
2017-12-29 23:23:28.503010 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:23:28.468990 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:23:21.965613 zms[27519].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:23:18.609170 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:23:18.563443 zma_m2[27518].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:18.521881 zma_m2[27518].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:23:18.478213 zma_m2[27518].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:18.385300 zmdc[27518].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:23:18]
2017-12-29 23:23:18.385270 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:23:18, pid = 27518]
2017-12-29 23:23:18.316880 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:23:18.271842 zma_m1[27515].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:18.230396 zma_m1[27515].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:23:18.185643 zma_m1[27515].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:18.162470 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:23:18.133690 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:23:18.060260 zmdc[27515].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:23:18]
2017-12-29 23:23:18.059670 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:23:18, pid = 27515]
2017-12-29 23:23:17.846370 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:23:17.813020 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:23:11.960984 zms[27512].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:23:07.993080 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:23:07.947944 zma_m2[27506].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:07.906166 zma_m2[27506].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:23:07.865165 zma_m2[27506].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:07.728740 zmdc[27506].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:23:07]
2017-12-29 23:23:07.728700 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:23:07, pid = 27506]
2017-12-29 23:23:07.642980 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:23:07.598158 zma_m1[27503].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:23:07.515011 zma_m1[27503].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:23:07.473190 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:23:07.463044 zma_m1[27503].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:23:07.444340 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:23:07.376430 zmdc[27503].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:23:07]
2017-12-29 23:23:07.376410 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:23:07, pid = 27503]
2017-12-29 23:23:07.157320 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:23:07.121980 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:23:01.960022 zms[27499].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:22:57.261260 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:22:57.217165 zma_m2[27498].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:57.174757 zma_m2[27498].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:22:57.132220 zma_m2[27498].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:57.035230 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:22:57, pid = 27498]
2017-12-29 23:22:57.033590 zmdc[27498].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:22:57]
2017-12-29 23:22:56.969790 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:22:56.924900 zma_m1[27495].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:56.883277 zma_m1[27495].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:22:56.815081 zma_m1[27495].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:56.799750 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:22:56.763300 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:22:56.675250 zmdc[27495].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:22:56]
2017-12-29 23:22:56.675240 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:22:56, pid = 27495]
2017-12-29 23:22:56.459040 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:22:56.415640 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:22:51.979131 zms[27491].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:22:51.500932 web_php[16838].ERR-/usr/share/zoneminder/www/includes/functions.php/1450 [disk_total_space returned false. Verify the web account user has access to /events]
2017-12-29 23:22:50.957471 web_php[16838].ERR-/usr/share/zoneminder/www/index.php/159 [Cannot write to content dirs('/events','/images'). Check that these exist and are owned by the web account user]
2017-12-29 23:22:46.595310 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:22:46.550703 zma_m2[27481].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:46.509037 zma_m2[27481].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:22:46.466953 zma_m2[27481].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:46.320580 zmdc[27481].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:22:46]
2017-12-29 23:22:46.320570 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:22:46, pid = 27481]
2017-12-29 23:22:46.228820 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:22:46.184173 zma_m1[27478].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:46.142645 zma_m1[27478].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:22:46.073909 zma_m1[27478].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:46.059050 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:22:46.023040 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:22:45.944540 zmdc[27478].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:22:45]
2017-12-29 23:22:45.939370 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:22:45, pid = 27478]
2017-12-29 23:22:45.726420 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:22:45.685000 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:22:41.981121 zms[27475].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:22:35.863570 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:22:35.818892 zma_m2[27470].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:35.777301 zma_m2[27470].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:22:35.737226 zma_m2[27470].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:35.598780 zmdc[27470].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:22:35]
2017-12-29 23:22:35.597910 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:22:35, pid = 27470]
2017-12-29 23:22:35.505590 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:22:35.461068 zma_m1[27467].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:35.409983 zmc_m1[27017].INF-zm_monitor.cpp/3125 [Road in: 6000 - Capturing at 14.93 fps]
2017-12-29 23:22:35.377607 zma_m1[27467].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:22:35.340843 zmc_m2[27027].INF-zm_monitor.cpp/3125 [Car Paek: 6000 - Capturing at 14.93 fps]
2017-12-29 23:22:35.335910 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:22:35.301792 zma_m1[27467].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:35.291690 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:22:35.180770 zmdc[27467].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:22:35]
2017-12-29 23:22:35.180760 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:22:35, pid = 27467]
2017-12-29 23:22:34.953200 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:22:34.911470 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:22:31.955424 zms[27464].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:22:25.034010 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:22:24.997669 zma_m2[27463].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:24.964438 zma_m2[27463].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:22:24.922487 zma_m2[27463].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:24.827140 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:22:24, pid = 27463]
2017-12-29 23:22:24.825400 zmdc[27463].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:22:24]
2017-12-29 23:22:24.767390 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:22:24.722720 zma_m1[27460].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:24.681302 zma_m1[27460].ERR-zm_monitor.cpp/488 [Can't make /events/1: No such file or directory]
2017-12-29 23:22:24.603859 zma_m1[27460].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:24.596620 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Car Paek]
2017-12-29 23:22:24.556000 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Car Paek]
2017-12-29 23:22:24.463380 zmdc[27460].INF-zmdc.pl ['zma -m 1' started at 17/12/29 23:22:24]
2017-12-29 23:22:24.463320 zmdc[26986].INF-zmdc.pl ['zma -m 1' starting at 17/12/29 23:22:24, pid = 27460]
2017-12-29 23:22:24.239110 zmwatch[27046].INF-zmwatch.pl [Restarting analysis daemon for Road in]
2017-12-29 23:22:24.196950 zmwatch[27046].ERR-zmwatch.pl [Error getting last capture time for Road in]
2017-12-29 23:22:21.955839 zms[27457].INF-zm_user.cpp/140 [Authenticated user 'HomeA']
2017-12-29 23:22:14.360890 zmdc[26986].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
2017-12-29 23:22:14.324409 zma_m2[27456].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
2017-12-29 23:22:14.282823 zma_m2[27456].ERR-zm_monitor.cpp/488 [Can't make /events/2: No such file or directory]
2017-12-29 23:22:14.251885 zma_m2[27456].ERR-zm_monitor.cpp/476 [Can't make /events: Permission denied]
2017-12-29 23:22:14.128090 zmdc[27456].INF-zmdc.pl ['zma -m 2' started at 17/12/29 23:22:14]
2017-12-29 23:22:14.127690 zmdc[26986].INF-zmdc.pl ['zma -m 2' starting at 17/12/29 23:22:14, pid = 27456]
2017-12-29 23:22:14.077930 zmdc[26986].ERR-zmdc.pl ['zma -m 1' exited abnormally, exit status 255]
2017-12-29 23:22:14.032889 zma_m1[27453].FAT-zm_monitor.cpp/493 [Can't change directory to '/events': No such file or directory]
/usr/share/zoneminder/www
/var/cache/zoneminder
also sudo chown -R www-data:www-data to the same folders with no luck
what am i doing wrong thanks