Running ZoneMinder in a Container
Posted: Mon May 20, 2019 7:40 pm
Hi all,
I am trying to run ZoneMinder in an LXC container on Proxmox, but am not able to add any cameras. The container image is from Ubuntu 19.04 and I followed the setup instructions from here:
https://zoneminder.readthedocs.io/en/st ... buntu.html
When I do an ONVIF probe, I get this result:
Unable to probe network cameras, status is '255'.
Output was:<br/><br/>
http://172.22.172.201/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.202/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.200/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.204/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/>
http://172.22.172.203/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/>
http://172.22.172.205/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/><br/> Please the following command from a command line for more information:<br/><br/>/usr/bin/zmonvif-probe.pl probe
When I run the command line command that is suggests, I get this result:
Name "ZoneMinder::ONVIF::verbose" used only once: possible typo at /usr/bin/zmonvif-probe.pl line 81.
http://172.22.172.202/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')
http://172.22.172.201/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')
http://172.22.172.203/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
http://172.22.172.205/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
http://172.22.172.204/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
Can't call method "get_XAddrs" on an undefined value at /usr/share/perl5/ZoneMinder/ONVIF.pm line 126.
root@Kortirion:~#
So I can see that it can indeed see all of my cameras, but none of them display on the regular probe to be added. Can anyone offer any assistance? Thank you.
I am trying to run ZoneMinder in an LXC container on Proxmox, but am not able to add any cameras. The container image is from Ubuntu 19.04 and I followed the setup instructions from here:
https://zoneminder.readthedocs.io/en/st ... buntu.html
When I do an ONVIF probe, I get this result:
Unable to probe network cameras, status is '255'.
Output was:<br/><br/>
http://172.22.172.201/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.202/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.200/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.204/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/>
http://172.22.172.203/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/>
http://172.22.172.205/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/><br/> Please the following command from a command line for more information:<br/><br/>/usr/bin/zmonvif-probe.pl probe
When I run the command line command that is suggests, I get this result:
Name "ZoneMinder::ONVIF::verbose" used only once: possible typo at /usr/bin/zmonvif-probe.pl line 81.
http://172.22.172.202/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')
http://172.22.172.201/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')
http://172.22.172.203/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
http://172.22.172.205/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
http://172.22.172.204/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
Can't call method "get_XAddrs" on an undefined value at /usr/share/perl5/ZoneMinder/ONVIF.pm line 126.
root@Kortirion:~#
So I can see that it can indeed see all of my cameras, but none of them display on the regular probe to be added. Can anyone offer any assistance? Thank you.