ZoneMinder 1.29.0 and Centos 6
ZoneMinder 1.29.0 and Centos 6
On CentOS installed ZoneMinder v1.29.0. And connect two HP web camera/
When you run an error:
[root@webcam ~]# service zoneminder restart
Останавливается ZoneMinder: Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/ZoneMinder/Config.pm line 99.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 112.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 113.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 124.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 127.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 127.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 206.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 207.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 211.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 229.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 229.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 230.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 233.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 233.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 249.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 255.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 271.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 275.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 279.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 284.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 413.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 417.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 419.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 423.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 423.
Execution of /usr/bin/zmpkg.pl aborted due to compilation errors.
The / var / log / zoneminder nothing there
Log web interface zoneminder:
zmwatch 2990 ERR Memory map file '/dev/shm/zm.mmap.2' should have been 896 but was instead 0 zmwatch.pl
zmwatch 2990 ERR Memory map file '/dev/shm/zm.mmap.1' should have been 896 but was instead 0 zmwatch.pl
When you run an error:
[root@webcam ~]# service zoneminder restart
Останавливается ZoneMinder: Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/ZoneMinder/Config.pm line 99.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 112.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 113.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 124.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 127.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 127.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 206.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 207.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 211.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 229.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 229.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 230.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 233.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 233.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 249.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 255.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 271.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 275.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 279.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 284.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 413.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 417.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 419.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 423.
Global symbol "%Config" requires explicit package name at /usr/bin/zmpkg.pl line 423.
Execution of /usr/bin/zmpkg.pl aborted due to compilation errors.
The / var / log / zoneminder nothing there
Log web interface zoneminder:
zmwatch 2990 ERR Memory map file '/dev/shm/zm.mmap.2' should have been 896 but was instead 0 zmwatch.pl
zmwatch 2990 ERR Memory map file '/dev/shm/zm.mmap.1' should have been 896 but was instead 0 zmwatch.pl
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder 1.29.0 and Centos 6
Did you ever at any previous time install zoneminder from source on the target machine?
That is usually what causes this issue.
Short answer, your machine is not clean.
That is usually what causes this issue.
Short answer, your machine is not clean.
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: ZoneMinder 1.29.0 and Centos 6
Before this was set 1.26, deleted and restored 1.29
reinstall centos?
reinstall centos?
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder 1.29.0 and Centos 6
It depends on how good you are at finding the former ZoneMinder files.
You need to:
- delete the old zm.conf file
- Run "sudo make uninstall" to uninstall most (but not all) of the former files
- "make uninstall" will not uninstall the Perl modules (Perl Make::Maker claims this is a feature not a bug). You have to find the old Perl modules and delete all of them.
- delete everything related to ZoneMinder under /usr/local
Only then should you install ZoneMinder from zmrepo.
It is possible to backup your former events files and database, but it is easier to start over.
You need to:
- delete the old zm.conf file
- Run "sudo make uninstall" to uninstall most (but not all) of the former files
- "make uninstall" will not uninstall the Perl modules (Perl Make::Maker claims this is a feature not a bug). You have to find the old Perl modules and delete all of them.
- delete everything related to ZoneMinder under /usr/local
Only then should you install ZoneMinder from zmrepo.
It is possible to backup your former events files and database, but it is easier to start over.
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: ZoneMinder 1.29.0 and Centos 6
I have a test computer on a clean сentos, I try to install 1.29.0
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder 1.29.0 and Centos 6
I build and install centos packages every week.
Nearly all reported problems can be attributed to:
- target system is not clean and/or incompatible application (like Astrisk) already on the machine or a conflicting repo exists.
- failure to follow the README instructions exactly
- insufficient hardware resources
Ovoid those issues and zoneminder will install and run perfectly.
Nearly all reported problems can be attributed to:
- target system is not clean and/or incompatible application (like Astrisk) already on the machine or a conflicting repo exists.
- failure to follow the README instructions exactly
- insufficient hardware resources
Ovoid those issues and zoneminder will install and run perfectly.
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: ZoneMinder 1.29.0 and Centos 6
Install 1.29.0, but the video does not show(((
'zmc -d /dev/video1' exited abnormally, exit status 255 zmdc.pl
Failed to get picture attributes: Invalid argument zm_local_camera.cpp
'zmc -d /dev/video0' exited abnormally, exit status 255 zmdc.pl
Failed to get picture attributes: Invalid argument zm_local_camera.cpp
'zmc -d /dev/video1' exited abnormally, exit status 255 zmdc.pl
Failed to get picture attributes: Invalid argument zm_local_camera.cpp
'zmc -d /dev/video0' exited abnormally, exit status 255 zmdc.pl
Failed to get picture attributes: Invalid argument zm_local_camera.cpp
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder 1.29.0 and Centos 6
Not much can be said because you have not provided us with much to go on.
You are attempting to use a local device. Does the device require a module which must be configured?
You might need to play with the V4L multibuffer settings.
What is the complete monitor configuration?
What is the make/model of your local device?
We also need to see more log output, from the moment zoneminder is started until just after errors appear (do not attempt to view the monitor during this test).
You are attempting to use a local device. Does the device require a module which must be configured?
You might need to play with the V4L multibuffer settings.
What is the complete monitor configuration?
What is the make/model of your local device?
We also need to see more log output, from the moment zoneminder is started until just after errors appear (do not attempt to view the monitor during this test).
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: ZoneMinder 1.29.0 and Centos 6
[root@webcam ~]# zmu -q -d /dev/video0 -v
Video Device: /dev/video0
General Capabilities
Driver: uvcvideo
Card: HP Webcam [2 MP Fixed]
Bus: usb-0000:00:10.4-1
Version: 1.0.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Cropping is not supported
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
and
[root@webcam ~]# zmu -q -d /dev/video1 -v
Video Device: /dev/video1
General Capabilities
Driver: uvcvideo
Card: HP Webcam [2 MP Fixed]
Bus: usb-0000:00:10.4-4
Version: 1.0.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Cropping is not supported
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
[root@webcam ~]# ls -al /sys/class/video4linux
итого 0
drwxr-xr-x 2 root root 0 Апр 27 18:29 .
drwxr-xr-x 41 root root 0 Апр 27 18:29 ..
lrwxrwxrwx 1 root root 0 Апр 27 18:29 video0 -> ../../devices/pci0000:00/0000:00:10.4/usb2/2-1/2-1:1.0/video4linux/video0
lrwxrwxrwx 1 root root 0 Апр 27 18:29 video1 -> ../../devices/pci0000:00/0000:00:10.4/usb2/2-4/2-4:1.0/video4linux/video1
Video Device: /dev/video0
General Capabilities
Driver: uvcvideo
Card: HP Webcam [2 MP Fixed]
Bus: usb-0000:00:10.4-1
Version: 1.0.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Cropping is not supported
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
and
[root@webcam ~]# zmu -q -d /dev/video1 -v
Video Device: /dev/video1
General Capabilities
Driver: uvcvideo
Card: HP Webcam [2 MP Fixed]
Bus: usb-0000:00:10.4-4
Version: 1.0.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Cropping is not supported
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
[root@webcam ~]# ls -al /sys/class/video4linux
итого 0
drwxr-xr-x 2 root root 0 Апр 27 18:29 .
drwxr-xr-x 41 root root 0 Апр 27 18:29 ..
lrwxrwxrwx 1 root root 0 Апр 27 18:29 video0 -> ../../devices/pci0000:00/0000:00:10.4/usb2/2-1/2-1:1.0/video4linux/video0
lrwxrwxrwx 1 root root 0 Апр 27 18:29 video1 -> ../../devices/pci0000:00/0000:00:10.4/usb2/2-4/2-4:1.0/video4linux/video1
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder 1.29.0 and Centos 6
The resolution you enter needs to be exactly correct, down to the pixel. Do that by using a third party application, like vlc, to tell you what the resolution should be.
If you are certain the resolution is correct, then see the dropdown for Capture method? Try changing that to Video for Linux version 2, if it is available.
Also check the multibuffer settings. Try to find a combination that works.
Other settings one must get correct are Device Format and Capture palette.
This thread appears related:
viewtopic.php?t=18612
If you are certain the resolution is correct, then see the dropdown for Capture method? Try changing that to Video for Linux version 2, if it is available.
Also check the multibuffer settings. Try to find a combination that works.
Other settings one must get correct are Device Format and Capture palette.
This thread appears related:
viewtopic.php?t=18612
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: ZoneMinder 1.29.0 and Centos 6
One webcam launched
One web camera launched, selecting second:
Unable to probe local cameras, status is '255'
One web camera launched, selecting second:
Unable to probe local cameras, status is '255'
Re: ZoneMinder 1.29.0 and Centos 6
Connect a second camera on the psi usb controller and the camera starts,
Re: ZoneMinder 1.29.0 and Centos 6
Prompt please, saved folders setting in which folder to store the recording in any file.
error:
Cannot write to content dirs('events/webcam','images/foto'). Check that these exist and are owned by the web account user
error:
Cannot write to content dirs('events/webcam','images/foto'). Check that these exist and are owned by the web account user
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder 1.29.0 and Centos 6
That will happen if you alter either DIR_EVENTS or DIR_IMAGES under Options. Please read the help text for these parameters (click the "?") to learn how to properly change where events are recorded.kot488 wrote:Prompt please, saved folders setting in which folder to store the recording in any file.
error:
Cannot write to content dirs('events/webcam','images/foto'). Check that these exist and are owned by the web account user
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/