Why is continuous record functioning?
I have only one camera an old DCS-900w which I have hard wired. I have Zoneminder configured and working. The one monitor I have has the set function of "record". I don't think it's recording continuously however, because the hard drive space has been showing 80% all day and I'm not sure of the full path to the events folder under the paths tab..... So how do I get continuous record mode to work and create files set to approximately 15 minutes and what is the full path to events?
Continuous record not working....
Re: Continuous record not working....
Is your purge when full filter set to 80%?
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Continuous record not working....
Do your log files have any errors in them?
Continuous record is working fine on the system I am testing.
The events folder is usually under your webroot. However, that really depends on what linux distro you are using, and how you installed zoneminder (from source or a package?).
To find the events folder try this:
You can run it w/o root permission, but you will get a lot of denied errors.
Once you find it, verify that the httpd user was read/write permission on it.
Also, please tell us whether or not you have tried to alter the events folder location under options.
Continuous record is working fine on the system I am testing.
The events folder is usually under your webroot. However, that really depends on what linux distro you are using, and how you installed zoneminder (from source or a package?).
To find the events folder try this:
Code: Select all
sudo find / -name events -type d
Once you find it, verify that the httpd user was read/write permission on it.
Also, please tell us whether or not you have tried to alter the events folder location under options.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 3
- Joined: Thu Aug 29, 2013 9:02 pm
Re: Continuous record not working....
@ bb99 I don't think so. I didn't configure any additional options or filters for that matter upon installation.
@ knniggett...the Ubuntu 12.10 box I'm testing it with has a standard apache 2 install, so I assumed the www directory would be /var/www; however, upon greping as sudo I found events in:
/sys/kernel/debug/tracing/events
/var/cache/zoneminder/events
/usr/src/linux-headers-3.5.0-31/include/trace/events
/usr/src/linux-headers-3.5.0-31/kernel/events
/usr/src/linux-headers-3.5.0-32-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-28/include/trace/events
/usr/src/linux-headers-3.5.0-28/kernel/events
/usr/src/linux-headers-3.5.0-36/include/trace/events
/usr/src/linux-headers-3.5.0-36/kernel/events
/usr/src/linux-headers-3.5.0-37/include/trace/events
/usr/src/linux-headers-3.5.0-37/kernel/events
/usr/src/linux-headers-3.5.0-26/include/trace/events
/usr/src/linux-headers-3.5.0-26/kernel/events
/usr/src/linux-headers-3.5.0-17/include/trace/events
/usr/src/linux-headers-3.5.0-17/kernel/events
/usr/src/linux-headers-3.5.0-31-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-28-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-26-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-30-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-27/include/trace/events
/usr/src/linux-headers-3.5.0-27/kernel/events
/usr/src/linux-headers-3.5.0-37-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-39/include/trace/events
/usr/src/linux-headers-3.5.0-39/kernel/events
/usr/src/linux-headers-3.5.0-17-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-30/include/trace/events
/usr/src/linux-headers-3.5.0-30/kernel/events
/usr/src/linux-headers-3.5.0-36-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-34/include/trace/events
/usr/src/linux-headers-3.5.0-34/kernel/events
/usr/src/linux-headers-3.5.0-27-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-32/include/trace/events
/usr/src/linux-headers-3.5.0-32/kernel/events
/usr/src/linux-headers-3.5.0-34-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-39-generic/include/config/have/perf/events
/etc/acpi/events
The only one that seemed applicable was /var/cache/zoneminder/events, but when I change to sudo and go view that path there is still no images under any of the paths:
root@juice-Satellite-A105:~# cd /var/cache/zoneminder/events
root@juice-Satellite-A105:/var/cache/zoneminder/events# ls -l
total 8
drwxr-xr-x 2 www-data www-data 4096 Aug 29 16:39 2
drwxr-xr-x 2 www-data www-data 4096 Aug 29 19:07 3
lrwxrwxrwx 1 www-data www-data 1 Aug 29 16:39 TestCamRecord -> 2
lrwxrwxrwx 1 www-data www-data 1 Aug 29 19:07 TestCamToWatch -> 3
root@juice-Satellite-A105:/var/cache/zoneminder/events# cd 2
root@juice-Satellite-A105:/var/cache/zoneminder/events/2# ls -l
total 0
root@juice-Satellite-A105:/var/cache/zoneminder/events/2# cd ..
root@juice-Satellite-A105:/var/cache/zoneminder/events# cd 3
root@juice-Satellite-A105:/var/cache/zoneminder/events/3# ls -l
total 0
root@juice-Satellite-A105:/var/cache/zoneminder/events/3#
And Zm is running see attached file for screen shot of ZM running.
To install I simply did sudo apt-get install openssh-server zoneminder
Entered my password and installed -- so I installed from a package.
I cat'd my /etc/passwd file and I don't have an httpd user, it looks like mine is www-data? I don't remember how long ago I installed Apache.
@ knniggett...the Ubuntu 12.10 box I'm testing it with has a standard apache 2 install, so I assumed the www directory would be /var/www; however, upon greping as sudo I found events in:
/sys/kernel/debug/tracing/events
/var/cache/zoneminder/events
/usr/src/linux-headers-3.5.0-31/include/trace/events
/usr/src/linux-headers-3.5.0-31/kernel/events
/usr/src/linux-headers-3.5.0-32-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-28/include/trace/events
/usr/src/linux-headers-3.5.0-28/kernel/events
/usr/src/linux-headers-3.5.0-36/include/trace/events
/usr/src/linux-headers-3.5.0-36/kernel/events
/usr/src/linux-headers-3.5.0-37/include/trace/events
/usr/src/linux-headers-3.5.0-37/kernel/events
/usr/src/linux-headers-3.5.0-26/include/trace/events
/usr/src/linux-headers-3.5.0-26/kernel/events
/usr/src/linux-headers-3.5.0-17/include/trace/events
/usr/src/linux-headers-3.5.0-17/kernel/events
/usr/src/linux-headers-3.5.0-31-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-28-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-26-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-30-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-27/include/trace/events
/usr/src/linux-headers-3.5.0-27/kernel/events
/usr/src/linux-headers-3.5.0-37-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-39/include/trace/events
/usr/src/linux-headers-3.5.0-39/kernel/events
/usr/src/linux-headers-3.5.0-17-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-30/include/trace/events
/usr/src/linux-headers-3.5.0-30/kernel/events
/usr/src/linux-headers-3.5.0-36-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-34/include/trace/events
/usr/src/linux-headers-3.5.0-34/kernel/events
/usr/src/linux-headers-3.5.0-27-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-32/include/trace/events
/usr/src/linux-headers-3.5.0-32/kernel/events
/usr/src/linux-headers-3.5.0-34-generic/include/config/have/perf/events
/usr/src/linux-headers-3.5.0-39-generic/include/config/have/perf/events
/etc/acpi/events
The only one that seemed applicable was /var/cache/zoneminder/events, but when I change to sudo and go view that path there is still no images under any of the paths:
root@juice-Satellite-A105:~# cd /var/cache/zoneminder/events
root@juice-Satellite-A105:/var/cache/zoneminder/events# ls -l
total 8
drwxr-xr-x 2 www-data www-data 4096 Aug 29 16:39 2
drwxr-xr-x 2 www-data www-data 4096 Aug 29 19:07 3
lrwxrwxrwx 1 www-data www-data 1 Aug 29 16:39 TestCamRecord -> 2
lrwxrwxrwx 1 www-data www-data 1 Aug 29 19:07 TestCamToWatch -> 3
root@juice-Satellite-A105:/var/cache/zoneminder/events# cd 2
root@juice-Satellite-A105:/var/cache/zoneminder/events/2# ls -l
total 0
root@juice-Satellite-A105:/var/cache/zoneminder/events/2# cd ..
root@juice-Satellite-A105:/var/cache/zoneminder/events# cd 3
root@juice-Satellite-A105:/var/cache/zoneminder/events/3# ls -l
total 0
root@juice-Satellite-A105:/var/cache/zoneminder/events/3#
And Zm is running see attached file for screen shot of ZM running.
To install I simply did sudo apt-get install openssh-server zoneminder
Entered my password and installed -- so I installed from a package.
I cat'd my /etc/passwd file and I don't have an httpd user, it looks like mine is www-data? I don't remember how long ago I installed Apache.
- Attachments
-
- ZM status.png (20.72 KiB) Viewed 8693 times
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Continuous record not working....
Your events folder looks correct for an Ubuntu machine. www-data is the correct user account that httpd runs under.
See how your source, 192.168.2.222, is orange instead of green? That's mean there is a problem with the monitor. Also notice the word "Log" is red. That's means you've got errors in your logs. Please post your log files.
See how your source, 192.168.2.222, is orange instead of green? That's mean there is a problem with the monitor. Also notice the word "Log" is red. That's means you've got errors in your logs. Please post your log files.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Continuous record not working....
If your system is installed in an LVM, and home is where all the storage is, you might want to create a folder inside home and softlink to it.
df -h will tell you.
df -h will tell you.
Re: Continuous record not working....
The events folder is usually under your webroot. However, that really depends on what linux distro you are using, and how you installed zoneminder (from source or a package?).....
watson