ZoneMinder 1.25.0 - preview
Re: ZoneMinder 1.25.0 - preview
I have only one thing to say:
"Its working like a charm".
Best regards to all team!!!
gamba47
"Its working like a charm".
Best regards to all team!!!
gamba47
-
- Posts: 25
- Joined: Tue Sep 16, 2008 3:47 am
Re: ZoneMinder 1.25.0 - preview
Is there a way to clear the new logs. I tried clicking the clear button and the screen clears but the logs remain.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: ZoneMinder 1.25.0 - preview
You cannot delete the log entries other than setting the amount of logs retained to be very small or manually deleting them from the DB. I did consider adding this functionality but I wasn't sure there would be much demand. If more people ask for it I can look at adding it in.
Phil
Re: ZoneMinder 1.25.0 - preview
@ZoneMinder
In this post JuVeNaL had an error similar to the one I received today after downloading what appeared to be the latest release:
After searching this thread I first tried your initial recommendation of adding 'underneath the other #include lines'. However that didn't work. Leaving stdlib.h in and adding limits.h as mentioned in this post allowed me to compile successfully.
You may want to consider adding that into your next build as it seems to have helped more than JuVeNaL's initial problem suggests.
I'm running CentOS 6 on an 32-bit system. Ping me if you need more info to reproduce & I'll try to help.
-phynixx
In this post JuVeNaL had an error similar to the one I received today after downloading what appeared to be the latest release:
Code: Select all
Making all in src
make[2]: Entering directory `/tmp/ZoneMinder-1.25.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:775: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:780: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:783: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:800: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:802: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:812: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:937: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:962: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:1087: error: ‘queryDevice’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/tmp/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/ZoneMinder-1.25.0'
make: *** [all] Error 2
Code: Select all
#include <stdlib.h>
Code: Select all
# grep -b5 limits src/zm_local_camera.cpp
1001-#include <fcntl.h>
1020-#include <unistd.h>
1040-#include <sys/mman.h>
1062-#include <errno.h>
1081-#include <stdlib.h>
1101:#include <limits.h>
I'm running CentOS 6 on an 32-bit system. Ping me if you need more info to reproduce & I'll try to help.
-phynixx
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Re: ZoneMinder 1.25.0 - preview
The configure and install went smooth for me and it is working well with a few small issues. Main problem is:
Looks to me like 1.3.2 is installed, no 1.2.5 to be found anywhere. Any ideas on a fix?
I am also seeing these warnings with the increased logging I have right now, not sure if its a problem though:
Code: Select all
MooTools version 1.2.5 found.Version 1.3.2 required, please check that it was installed correctly in ZoneMinder web root.
I am also seeing these warnings with the increased logging I have right now, not sure if its a problem though:
Code: Select all
Sep 7 19:50:53 ZoneMinder zmc_m17[2702]: WAR [Corrupt JPEG data: 2 extraneous bytes before marker 0xd9]
Sep 7 19:50:53 ZoneMinder zmc_m17[2702]: WAR [Corrupt JPEG data: 2 extraneous bytes before marker 0xd9]
Sep 7 19:50:53 ZoneMinder zmc_m17[2702]: WAR [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: ZoneMinder 1.25.0 - preview
I think some distros (Ubuntu?) sometimes has it's own version of mootools installed somewhere. I think someone has posted how to get around it somewhere in the forums.
Phil
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Re: ZoneMinder 1.25.0 - preview
I was due to upgrade the OS on my zoneminder system so I did not get to the bottom of the Mootools issue.
I installed a nightly of Oneric and installed 1.25, no problems getting everything going. The only issue I am having now is very interlaced looking video with fast motion (car driving by) that I did not have with 1.24. I am wondering if its related to video for linux version 2. Still messing with it...
EDIT: Changing V4L2_CAPTURE_FIELDS from 0 (default) to 1 or 2 seems to rid me of the interlaced image.
I installed a nightly of Oneric and installed 1.25, no problems getting everything going. The only issue I am having now is very interlaced looking video with fast motion (car driving by) that I did not have with 1.24. I am wondering if its related to video for linux version 2. Still messing with it...
EDIT: Changing V4L2_CAPTURE_FIELDS from 0 (default) to 1 or 2 seems to rid me of the interlaced image.
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Re: ZoneMinder 1.25.0 - preview
I am seeing a much lower system load on my zm box with this release...much lower. Is that related to VFL2? I was using v1 on prior releases.
Re: ZoneMinder 1.25.0 - preview
Hi Phillip
In which svn revision you was released 1.25? because I following your svn.
Thank you very much!
In which svn revision you was released 1.25? because I following your svn.
Thank you very much!
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: ZoneMinder 1.25.0 - preview
I'm not entirely sure, but I think the first preview was 3459 or so, with other changes added since then.
Phil
Re: ZoneMinder 1.25.0 - preview
Thanks Philip.
Re: ZoneMinder 1.25.0 - preview
I also now have a VM testing the new release, only I'm late to the party and have the stable version running. I'm waiting to see how the build I created from source works out for a few days. My "production" ZM server is just using the Debian package 1.24.2. I like the new integrated logging so far.
Re: ZoneMinder 1.25.0 - preview
Hi, just getting around to zoneminder (v1.25.0) after all these years of procrastination....anyways...i built ZM tarball and ran on an old Dell 1.6GHz with 2 cores running Knoppix 6.4.4 off a usb install with a few symlinks to the hard drive for storage. My first ZM cam is an Axis 207W. I will be adding an old forgotten Axis 212 soon. Also have 2 foscams (the new models) on the way (one for a rental).
My main objective is to solve a billing problem. I need to put one on a meter at a rental to see if the water company is over billing. This is all practice for that, even maybe overkill - home security/monitoring is something I have always wanted also. We will see how well it works across the net for access.
I have the 207W running in 640X480 and load at 0.20 up to 0.60 during analyze phases. I once saw a feller post about using the axis to MoDet instead of the server cpu. Will look into that soon as these axis cams are pricey but the lil' ARM linux built into them seems to mo-det already, might as well let them do the work.
I ran into the limits.h problem fixed a few things in scripts/zm so it starts fine. I also start it plus a few other net based apps (apache2, sshd, ntp) upon successful wireless connection to my router. BTW anyone with NetworkManager as your wireless - dump it for wicd (apt-get install wicd). Mucho better in every respect, imo - faster more configurable etc.
Was getting an error due to my local clock in userspace was on EST and ZM was on GMT (event start times and logs in GMT while filesystem was in EST, eg dir events/1/11/10/03/20/30/02 was the event area for event starting at 2011-10-04T00:30:02 GMT)....The error was due to the mismatch of my clocks in userland vs daemonland I suppose (still does not explain the fact the clocks will sync systemwide on ALL procs!).
Changing my grub/syslinux to use kernel param tz=EST5EDT from tz=localtime (which is incorrect and caused my /etc/localtime to contain one line with one word: localtime). This I found this solution after digging thru the /etc/init.d/knoppix-autoconfigure script a bit.
The following two lines showed in the log each time i tried to view one of the events.
2011-10-03 22:19:19.148407 zms 5729 ERR Can't open /var/www/zm/events/1/11/10/04/00/30/02/001-capture.jpg: No such file or directory zm_event.cpp 1225
2011-10-03 22:19:29.602396 web_php 3251 ERR socket_sendto( /tmp/zm/zms-821125s.sock ) failed: No such file or directory /media/sda2/Data/www/zm/includes/functions.php 2322
Since fixing my clock and various other small items, things are running ok at this higher resolution - i suspect i will need to drop that as cam/monitor count increases.
Thanks to the contributors of ZM, up and running great with only a few hours of work this weekend.
Thanks to all the others for puttin up with my ramblings and such.
Will be looking forward to contributing some down the road. I do have lots of XP in Unix, perl/C++ with a little ajax/php.
My main objective is to solve a billing problem. I need to put one on a meter at a rental to see if the water company is over billing. This is all practice for that, even maybe overkill - home security/monitoring is something I have always wanted also. We will see how well it works across the net for access.
I have the 207W running in 640X480 and load at 0.20 up to 0.60 during analyze phases. I once saw a feller post about using the axis to MoDet instead of the server cpu. Will look into that soon as these axis cams are pricey but the lil' ARM linux built into them seems to mo-det already, might as well let them do the work.
I ran into the limits.h problem fixed a few things in scripts/zm so it starts fine. I also start it plus a few other net based apps (apache2, sshd, ntp) upon successful wireless connection to my router. BTW anyone with NetworkManager as your wireless - dump it for wicd (apt-get install wicd). Mucho better in every respect, imo - faster more configurable etc.
Was getting an error due to my local clock in userspace was on EST and ZM was on GMT (event start times and logs in GMT while filesystem was in EST, eg dir events/1/11/10/03/20/30/02 was the event area for event starting at 2011-10-04T00:30:02 GMT)....The error was due to the mismatch of my clocks in userland vs daemonland I suppose (still does not explain the fact the clocks will sync systemwide on ALL procs!).
Changing my grub/syslinux to use kernel param tz=EST5EDT from tz=localtime (which is incorrect and caused my /etc/localtime to contain one line with one word: localtime). This I found this solution after digging thru the /etc/init.d/knoppix-autoconfigure script a bit.
The following two lines showed in the log each time i tried to view one of the events.
2011-10-03 22:19:19.148407 zms 5729 ERR Can't open /var/www/zm/events/1/11/10/04/00/30/02/001-capture.jpg: No such file or directory zm_event.cpp 1225
2011-10-03 22:19:29.602396 web_php 3251 ERR socket_sendto( /tmp/zm/zms-821125s.sock ) failed: No such file or directory /media/sda2/Data/www/zm/includes/functions.php 2322
Since fixing my clock and various other small items, things are running ok at this higher resolution - i suspect i will need to drop that as cam/monitor count increases.
Thanks to the contributors of ZM, up and running great with only a few hours of work this weekend.
Thanks to all the others for puttin up with my ramblings and such.
Will be looking forward to contributing some down the road. I do have lots of XP in Unix, perl/C++ with a little ajax/php.
Re: ZoneMinder 1.25.0 - preview
Thank you! I was having the same compile error for ZoneMinder 1.25 on Ubuntu 11.04 64-bit and adding stdlib.h and limits.h to zm_local_camera.cpp allowed the make process to complete successfully.phynixx wrote:Leaving stdlib.h in and adding limits.h as mentioned in this post allowed me to compile successfully.
You may want to consider adding that into your next build as it seems to have helped more than JuVeNaL's initial problem suggests.Code: Select all
# grep -b5 limits src/zm_local_camera.cpp 1001-#include <fcntl.h> 1020-#include <unistd.h> 1040-#include <sys/mman.h> 1062-#include <errno.h> 1081-#include <stdlib.h> 1101:#include <limits.h>