When I try using PTZ, which worked at some point, then went into failure, I get an error message that zmcontrol.pl has failed.
When I run the command manually, I get this:
Code: Select all
$ sudo -u www-data zmcontrol.pl --id 5 --command=moveConRight
05/23/2019 09:51:49.434947 zmcontrol[21921].INF [main:109] [Starting control server 5/PelcoD]
05/23/2019 09:52:04.502854 zmcontrol[21921].FAT [main:125] [Can't connect: No such file or directory after 16 attempts to /var/run/zm/zmcontrol-5.sock]
DBI::db=HASH(0x56290ce676e8)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /usr/share/perl5/ZoneMinder/Database.pm line 128.
Code: Select all
$ sudo ls -lah /var/run/zm
total 8.0K
drwxr-xr-- 2 www-data www-data 160 May 23 09:57 .
drwxr-xr-x 31 root root 1000 May 23 09:49 ..
-rw-r--r-- 1 www-data www-data 5 May 23 09:49 zmaudit.pid
srwxr-xr-x 1 www-data www-data 0 May 23 09:49 zmdc.sock
-rw-r--r-- 1 www-data www-data 5 May 23 09:49 zm.pid
-rw------- 1 www-data www-data 0 May 23 09:51 zms-366269.lock
srwxr-xr-x 1 www-data www-data 0 May 23 09:51 zms-366269s.sock
-rw------- 1 www-data www-data 0 May 23 09:50 zms-780340.lock
Thanks for your help!
Nico