[SOLVED] Problems with IP cameras and ZM 1.24.0
Posted: Wed Apr 14, 2010 10:11 am
Hi all,
I am using Debian Lenny and ZM 1.24.0 compiled from sources. 1.24.2 did not play nice with FFMPEG so we had to downgrade to 1.24.0.
The same setup used to work perfectly with ZM 1.23.
Normal video cams work great with 1.24.0 now.
Our IP cams won't work, though. I verified that they work by wgetting images from the cams to our ZM host. Thus, subnetting, firewalls, access restrictions etc pp are not an issue.
When I try to access any IP cam with the settings known to work with 1.23, I only get a black rectangle. No text or any overlays, just a black box.
My /var/log/messages shows this:
Apr 14 11:35:02 video1 zmc_m3[6115]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:02 video1 zmc_m3[6115]: INF [Starting Capture]
Apr 14 11:35:37 video1 zms[6128]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:37 video1 zms[6128]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce
invalid results]
Apr 14 11:35:37 video1 zms[6128]: WAR [Unable to store frame as shared memory invalid]
Apr 14 11:35:42 video1 zmdc[6024]: INF [Starting pending process, zmc -m 3]
Apr 14 11:35:42 video1 zmdc[6130]: INF ['zmc -m 3' started at 10/04/14 11:35:42]
Apr 14 11:35:42 video1 zmdc[6024]: INF ['zmc -m 3' starting at 10/04/14 11:35:42, pid = 6130]
Apr 14 11:35:42 video1 zmc_m3[6130]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:42 video1 zmc_m3[6130]: INF [Starting Capture]
Apr 14 11:35:50 video1 zms[6133]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:50 video1 zms[6133]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce
invalid results]
Apr 14 11:35:50 video1 zms[6133]: WAR [Unable to store frame as shared memory invalid]
Apr 14 11:37:02 video1 zmdc[6024]: INF [Starting pending process, zmc -m 3]
Apr 14 11:37:02 video1 zmdc[6136]: INF ['zmc -m 3' started at 10/04/14 11:37:02]
Apr 14 11:37:02 video1 zmdc[6024]: INF ['zmc -m 3' starting at 10/04/14 11:37:02, pid = 6136]
Apr 14 11:37:02 video1 zmc_m3[6136]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:37:02 video1 zmc_m3[6136]: INF [Starting Capture]
Apr 14 11:37:40 video1 zms[6138]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:37:40 video1 zms[6138]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce
invalid results]
Apr 14 11:37:40 video1 zms[6138]: WAR [Unable to store frame as shared memory invalid]
My buffers are configured this way:
video1:~# for i in /proc/sys/kernel/shm*; do echo -n "$i : "; cat $i; done
/proc/sys/kernel/shmall : 563000
/proc/sys/kernel/shmmax : 2253000000
/proc/sys/kernel/shmmni : 4096
video1:~#
/var/log/apache2/error.log while displaying the blak box:
[Wed Apr 14 11:27:42 2010] [error] [client <anon>] socket_sendto( /tmp/zms-377939s.sock ) failed: No such file or directory, referer: http://<anon>/zm/index.php?view=montage&group=0
[Wed Apr 14 11:27:42 2010] [error] [client <anon>] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-377939s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://<anon>/zm/index.php?view=montage&group=0
And finally /tmp/zmwatch.log with shedloads of :
04/14/2010 12:07:58.463175 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:08.464541 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:08.464697 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:18.466078 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:18.466232 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
Any and all feedback appreciated; we need this machine to work!
Thanks,
Richard
I am using Debian Lenny and ZM 1.24.0 compiled from sources. 1.24.2 did not play nice with FFMPEG so we had to downgrade to 1.24.0.
The same setup used to work perfectly with ZM 1.23.
Normal video cams work great with 1.24.0 now.
Our IP cams won't work, though. I verified that they work by wgetting images from the cams to our ZM host. Thus, subnetting, firewalls, access restrictions etc pp are not an issue.
When I try to access any IP cam with the settings known to work with 1.23, I only get a black rectangle. No text or any overlays, just a black box.
My /var/log/messages shows this:
Apr 14 11:35:02 video1 zmc_m3[6115]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:02 video1 zmc_m3[6115]: INF [Starting Capture]
Apr 14 11:35:37 video1 zms[6128]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:37 video1 zms[6128]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce
invalid results]
Apr 14 11:35:37 video1 zms[6128]: WAR [Unable to store frame as shared memory invalid]
Apr 14 11:35:42 video1 zmdc[6024]: INF [Starting pending process, zmc -m 3]
Apr 14 11:35:42 video1 zmdc[6130]: INF ['zmc -m 3' started at 10/04/14 11:35:42]
Apr 14 11:35:42 video1 zmdc[6024]: INF ['zmc -m 3' starting at 10/04/14 11:35:42, pid = 6130]
Apr 14 11:35:42 video1 zmc_m3[6130]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:42 video1 zmc_m3[6130]: INF [Starting Capture]
Apr 14 11:35:50 video1 zms[6133]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:35:50 video1 zms[6133]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce
invalid results]
Apr 14 11:35:50 video1 zms[6133]: WAR [Unable to store frame as shared memory invalid]
Apr 14 11:37:02 video1 zmdc[6024]: INF [Starting pending process, zmc -m 3]
Apr 14 11:37:02 video1 zmdc[6136]: INF ['zmc -m 3' started at 10/04/14 11:37:02]
Apr 14 11:37:02 video1 zmdc[6024]: INF ['zmc -m 3' starting at 10/04/14 11:37:02, pid = 6136]
Apr 14 11:37:02 video1 zmc_m3[6136]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:37:02 video1 zmc_m3[6136]: INF [Starting Capture]
Apr 14 11:37:40 video1 zms[6138]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 11:37:40 video1 zms[6138]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce
invalid results]
Apr 14 11:37:40 video1 zms[6138]: WAR [Unable to store frame as shared memory invalid]
My buffers are configured this way:
video1:~# for i in /proc/sys/kernel/shm*; do echo -n "$i : "; cat $i; done
/proc/sys/kernel/shmall : 563000
/proc/sys/kernel/shmmax : 2253000000
/proc/sys/kernel/shmmni : 4096
video1:~#
/var/log/apache2/error.log while displaying the blak box:
[Wed Apr 14 11:27:42 2010] [error] [client <anon>] socket_sendto( /tmp/zms-377939s.sock ) failed: No such file or directory, referer: http://<anon>/zm/index.php?view=montage&group=0
[Wed Apr 14 11:27:42 2010] [error] [client <anon>] array (\n 0 => \n array (\n 'file' => '/var/www/zm/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-377939s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://<anon>/zm/index.php?view=montage&group=0
And finally /tmp/zmwatch.log with shedloads of :
04/14/2010 12:07:58.463175 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:08.464541 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:08.464697 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:18.466078 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
04/14/2010 12:08:18.466232 zmwatch[6087].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
Any and all feedback appreciated; we need this machine to work!
Thanks,
Richard