Cams not working on Opensuse 12.3 with zm 1.26.4

Forum for questions and support relating to the 1.26.x releases only.
Locked
tkmbe
Posts: 4
Joined: Wed Feb 26, 2014 9:46 pm

Cams not working on Opensuse 12.3 with zm 1.26.4

Post by tkmbe »

I try to use zm 1.26.4-9..86_64 from the following repository
http://www.zoneminder.com/wiki/index.ph ... s_for_SuSE

I tried the following cams:

1. aircam Firmware 1.2
Tried the ffmpeg mode as described in the wiki. This gives the following error:

Code: Select all

Mar  2 15:07:22 gw1 zmdc[12021]: INF ['zmc -m 1' starting at 14/03/02 15:07:22, pid = 26566]
Mar  2 15:07:22 gw1 zmdc[26566]: INF ['zmc -m 1' started at 14/03/02 15:07:22]
Mar  2 15:07:22 gw1 zmc_m1[26566]: FAT [You must have ffmpeg libraries installed to use ffmpeg cameras for monitor 1]
Mar  2 15:07:22 gw1 zmdc[12021]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar  2 15:07:22 gw1 zmdc[12021]: INF [Starting pending process, zmc -m 1]
Mar  2 15:07:22 gw1 zmdc[12021]: INF ['zmc -m 1' starting at 14/03/02 15:07:22, pid = 26579]
Mar  2 15:07:22 gw1 zmdc[26579]: INF ['zmc -m 1' started at 14/03/02 15:07:22]
Mar  2 15:07:22 gw1 zmdc[12021]: WAR [Can't find process with command of 'zma -m 1']
Mar  2 15:07:22 gw1 zmc_m1[26579]: FAT [You must have ffmpeg libraries installed to use ffmpeg cameras for monitor 1]
Mar  2 15:07:22 gw1 zmdc[12021]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar  2 15:07:27 gw1 zmwatch[12167]: ERR [Memory map file '/dev/shm/zm.mmap.1' should have been 896 but was instead 0]
Mar  2 15:07:27 gw1 zmdc[12021]: INF [Starting pending process, zmc -m 1]
Mar  2 15:07:27 gw1 zmdc[12021]: INF ['zmc -m 1' starting at 14/03/02 15:07:27, pid = 26680]
Mar  2 15:07:27 gw1 zmdc[26680]: INF ['zmc -m 1' started at 14/03/02 15:07:27]
Mar  2 15:07:27 gw1 zmc_m1[26680]: FAT [You must have ffmpeg libraries installed to use ffmpeg cameras for monitor 1]
I'm using ffmpeg version 2.0.1.3.7.x86_64 from pacman repository

Trying to use snapshot mode will give the following erros trying to show the monitor:

Code: Select all

Mar  2 18:17:21 gw1 web_php[13239]: ERR [socket_sendto( /var/run/zm/zms-943619s.sock ) failed: No such file or directory]
Mar  2 18:17:21 gw1 web_php[13239]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-943619s.sock ) failed: No such file or directory - checkStreamForErrors()]
2. apexis
Tried to use http simple mode as described gives the same error as for aircam and http mode :-(

Code: Select all

Mar  2 17:56:42 gw1 zmc_m1[12956]: INF [Starting Capture]
Mar  2 17:57:08 gw1 zmc_m3[12223]: INF [apexis: 1000 - Capturing at 10.42 fps]
Mar  2 17:57:28 gw1 web_php[7597]: ERR [socket_sendto( /var/run/zm/zms-387509s.sock ) failed: No such file or directory]
Mar  2 17:57:28 gw1 web_php[7597]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-387509s.sock ) failed: No such file or directory - checkStreamForErrors()]
Mar  2 17:57:34 gw1 web_php[7597]: ERR [socket_sendto( /var/run/zm/zms-387509s.sock ) failed: No such file or directory]
Mar  2 17:57:34 gw1 web_php[7597]: ERR [getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-387509s.sock ) failed: No such file or directory - checkStreamForErrors()]
Mar  2 17:57:40 gw1 web_php[7597]: ERR [socket_sendto( /var/run/zm/zms-387509s.sock ) failed: No such file or directory]
Any hints what could be the problem?
I have also given full right access to the /var/run/zm directory...

I tried also to compile the sources but fails too...
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Re: Cams not working on Opensuse 12.3 with zm 1.26.4

Post by monex »

Hi,

the socket is destroyed because there of the missing ffmpeg support. It looks like you have chosen the wrong version.

To enable ffmpeg support in ZoneMinder you have to install the MP package. Simply use this link: http://www.liquid-co.de/pub/suse/one-cl ... der-MP.ymp and follow the one click install instructions. During installation you must choose one packman repository in order to install the MP Package.

Hope this helps
Dirk
Image
Locked