PIII 1 GHz, 1.5G Ram, 250G IDE, 4 Port Pico2000
Bluecherry LiveCD installed (Ubuntu 6.06.1 Desktop with XFCE)
To: (New Setup)
P4 2.8 GHz, 2G RAM, 250G IDE, 8 Port Kodicom 8800
Ubuntu 7.04 Server fresh install following the instructions from the Wiki Article
I had the original setup working perfectly with FTP Upload, Email with MPEG attachement.
Couldn't get the new setup to upload FTP or send email even though I copied the filters, etc exactly from the original setup.
Had a look at /tmp/zmfilter.log and saw a lot of these:
Code: Select all
root@cctv2:/tmp# tail zmdc.log
01/17/08 19:33:11.609446 zmdc[4482].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
01/17/08 19:34:31.097168 zmdc[4482].INF [Starting pending process, zmfilter.pl]
01/17/08 19:34:31.127307 zmdc[4482].INF ['zmfilter.pl' starting at 08/01/17 19:34:31, pid = 4635]
01/17/08 19:34:31.645759 zmdc[4482].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
01/17/08 19:37:11.039937 zmdc[4482].INF [Starting pending process, zmfilter.pl]
01/17/08 19:37:11.047799 zmdc[4482].INF ['zmfilter.pl' starting at 08/01/17 19:37:11, pid = 4636]
01/17/08 19:37:11.592443 zmdc[4482].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
01/17/08 19:42:31.073323 zmdc[4482].INF [Starting pending process, zmfilter.pl]
01/17/08 19:42:31.079024 zmdc[4482].INF ['zmfilter.pl' starting at 08/01/17 19:42:31, pid = 4676]
01/17/08 19:42:31.623104 zmdc[4482].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
I took a shot in the dark and had a look at the startup order in /etc/rc2.d
I noticed ZM was quite early in the sequence (S20zoneminder). I changed this to (S99zoneminder) and it seems to have cured the issue.
The FTP upload and Email are both triggered by one rule which triggers when an event has more than 25 alarm frames. The FTP upload (zip file with event images) now works fine, but for some reason the email with .mpg doesn't send. I know that the email part works, because I have another filter which triggers for events with > 50 alarm frames that use the message option and attaches the highst scoring .jpg
I suspect it has something to do with the actual .mpg not being created, even though I see the following:
Code: Select all
root@cctv2:/tmp# tail zmvideo.log
01/17/08 20:50:35.023660 zmvideo[5335].INF [Creating video file Event-194-r1-s1.mpg for event 194]
01/17/08 20:50:35.026620 zmvideo[5335].INF [Finished Event-194-r1-s1.mpg]
01/17/08 20:51:56.222858 zmvideo[5468].INF [Creating video file Event-195-r1-s1.mpg for event 195]
01/17/08 20:51:56.247808 zmvideo[5468].INF [Finished Event-195-r1-s1.mpg]
01/17/08 20:51:56.528298 zmvideo[5473].INF [Creating video file Event-195-r1-s1.mpg for event 195]
01/17/08 20:51:56.531067 zmvideo[5473].INF [Finished Event-195-r1-s1.mpg]
01/17/08 21:07:24.879838 zmvideo[5680].INF [Creating video file Event-197-r1-s1.mpg for event 197]
01/17/08 21:07:24.882755 zmvideo[5680].INF [Finished Event-197-r1-s1.mpg]
01/17/08 21:07:25.188828 zmvideo[5683].INF [Creating video file Event-197-r1-s1.mpg for event 197]
01/17/08 21:07:25.191708 zmvideo[5683].INF [Finished Event-197-r1-s1.mpg]
Code: Select all
find / -name *.mpg
Done a
Code: Select all
find / -name ffmpeg
All working OK now.
Thanks for all the help in this forum. I got all my answers by looking at previous posts in the forum and the wiki.
ZoneMinder rocks!!! I'm just sorry I did not find it before I paid GBP50 for the crappy Pico2000 software that doesn't even come close and which I couldn't reinstall when my old hard drive died, they wanted me to pay again!!!