Zmfilter not working ??

Support and queries relating to all previous versions of ZoneMinder
Locked
c0mputerking
Posts: 190
Joined: Tue Sep 16, 2008 5:22 am

Zmfilter not working ??

Post by c0mputerking »

This is mostly just a bump from my last post

I have a filter setup to upload, email, and message me if frames are greater than or equal to 1. Also have camera set to motion detection and it works I move around and it goes into alarm state see output of /var/log/messages.

Code: Select all

ep 19 23:19:11 bao zmdc[19447]: INF ['zmc -d /dev/video1' starting at 08/09/19 23:19:11, pid = 20297] 
Sep 19 23:19:11 bao zmc_dvideo1[20297]: INF [Starting Capture]
Sep 19 23:19:12 bao zma_m3[19478]: INF [Quickcam: 114337 - Gone into alarm state]
Sep 19 23:19:13 bao zma_m3[19478]: INF [Quickcam: 114340 - Gone into alert state]
Sep 19 23:19:13 bao zma_m3[19478]: INF [Quickcam: 114350 - Left alarm state (591) - 23(3) images]
Sep 19 23:19:17 bao zma_m3[19478]: INF [Quickcam: 114389 - Gone into alarm state]
Sep 19 23:19:18 bao zma_m3[19478]: INF [Quickcam: 114392 - Gone into alert state]
Sep 19 23:19:19 bao zma_m3[19478]: INF [Quickcam: 114401 - Gone back into alarm state]
Sep 19 23:19:19 bao zma_m3[19478]: INF [Quickcam: 114404 - Gone into alert state]
Sep 19 23:19:20 bao zma_m3[19478]: INF [Quickcam: 114414 - Left alarm state (592) - 35(6) images]
However nothing is being uploaded and the zmfilter.log is just full of these no action at all

Code: Select all

9/19/08 23:18:46.503609 zmfilter[19480].DBG [Sleeping for 5 seconds]
19/09/08 23:18:49.015421 zmfilter[19477].DBG [Sleeping for 5 seconds]
09/19/08 23:18:51.504746 zmfilter[19480].DBG [Sleeping for 5 seconds]
19/09/08 23:18:54.024839 zmfilter[19477].DBG [Reloading filters]
19/09/08 23:18:54.035105 zmfilter[19477].DBG [Sleeping for 5 seconds]
09/19/08 23:18:56.505131 zmfilter[19480].DBG [Sleeping for 5 seconds]
19/09/08 23:18:59.035490 zmfilter[19477].DBG [Sleeping for 5 seconds]
however i noticed this in the zmdc.log whenever i restart zoneminder

Code: Select all

09/19/08 23:28:11.787147 zmdc[20356].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
09/19/08 23:28:11.787767 zmdc[20356].INF ['zmfilter.pl ' stopping at 08/09/19 23:28:11]
09/19/08 23:28:11.791987 zmdc[20356].INF ['zmfilter.pl ' crashed, signal 14]
09/19/08 23:28:11.792589 zmdc[20356].INF ['zma -m 3' stopping at 08/09/19 23:28:11]
09/19/08 23:28:11.797139 zmdc[20356].INF ['zma -m 3' exited normally]
zmfilter.pl(15527): Operation not permitted
zmfilter.pl(15527): Operation not permitted
09/19/08 23:28:22.198430 zmdc[20356].INF [Server shutdown at 08/09/19 23:28:22]
09/19/08 23:28:22.833747 zmdc[20449].INF [Server starting at 08/09/19 23:28:22]
zmfilter.pl(15527): Operation not permitted
zmfilter.pl(15527): Operation not permitd
09/19/08 23:28:26.141576 zmdc[20449].INF ['zmc -d /dev/video1' starting at 08/09/19 23:28:26, pid = 20471]
Heck as desprate attemt i even tried running the zmfix command nothing happened

What am i missing here? where should i look? why am i not getting email or having files uploaded or anything for that matter.
spooky
Posts: 4
Joined: Sun Sep 28, 2008 12:48 pm

Re: Zmfilter not working ??

Post by spooky »

c0mputerking wrote: zmfilter.pl(15527): Operation not permitted
I am also having problems in zmfilter.pl:
c0mputerking wrote: What am i missing here? where should i look? why am i not getting email or having files uploaded or anything for that matter.
I think zmfilter is bombing out before it can do anything. Try turning off email and ftp and see if the errors go away. If they don't then you should probably recheck all config items. If they do go away t
hen
  • (1) try turning on email by itself.
    (2) try turning on ftp by itself.
And see which (or both) create the error, this will help you track down the problem.

Also check the values you have entered for smtp and ftp (in options) are valid.

And, it could be a permissions problem. Check that the zmfilter process can read the event files (pictures) and can write to the temporary directory.

Hope this helps.
Locked