Problem viewing camera on ZONEMINDER installed on Fedora 12

Forum for questions and support relating to the 1.24.x releases only.
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Problem viewing camera on ZONEMINDER installed on Fedora 12

Post by rootstat »

Hi,

I'm have installed zoneminder v1.24.2 on fedora 12 i386.
Tested my camera on cheese webcam booth and its on device /dev/video0
i have configured the cam Monitor-8 Monitor /dev/video0 (0) 0 0 0 0 0 0 1 UpDown .
when i click on the monitor-8 to view on cam i see blank screen with date on top.
i have already enabled debug mode and thus getting following error on apache error logs.

#####################################################
[Sun Dec 27 17:09:48 2009] [error] [client 192.168.2.2] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/index.php
[Sun Dec 27 17:09:48 2009] [error] [client 192.168.2.2] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/index.php
[Sun Dec 27 17:09:48 2009] [error] [client 192.168.2.2] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 818, referer: http://192.168.2.2:8080/zm/index.php
[Sun Dec 27 17:09:48 2009] [error] [client 192.168.2.2] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 823, referer: http://192.168.2.2:8080/zm/index.php
[Sun Dec 27 17:09:48 2009] [error] [client 192.168.2.2] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 828, referer: http://192.168.2.2:8080/zm/index.php

[Sun Dec 27 17:14:38 2009] [error] [client 192.168.2.2] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /usr/share/zoneminder/www/includes/functions.php on line 1412, referer: http://192.168.2.2:8080/zm/index.php
[Sun Dec 27 17:14:38 2009] [error] [client 192.168.2.2] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /usr/share/zoneminder/www/includes/functions.php on line 1412, referer: http://192.168.2.2:8080/zm/index.php
######################################################

clicking on the camera shows blank screen with time on top.
please help to resolve the issue on same.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Enable Debug to about 5 and check the debug logs.
You can limit the output to zmc.
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

ok let me paste the debug logs.
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

Code: Select all

12/29/09 09:26:34.800033 zms[25685].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.25685]
12/29/09 09:26:34.800084 zms[25685].DB1-zms.cpp/98 [Query: mode=single&monitor=8&scale=100&connkey=369863&rand=1262058994]
12/29/09 09:26:34.800372 zms[25685].DB1-zm_monitor.cpp/2262 [Got 1 monitors]
12/29/09 09:26:34.800693 zms[25685].DB1-zm_monitor.cpp/338 [monitor purpose=0]
12/29/09 09:26:34.800702 zms[25685].DB1-zm_monitor.cpp/345 [mem.size=9217192]
12/29/09 09:26:34.800762 zms[25685].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
12/29/09 09:26:34.801770 zms[25685].DB1-zm_monitor.cpp/458 [Monitor Monitor-8 has function 2]
12/29/09 09:26:34.801779 zms[25685].DB1-zm_monitor.cpp/459 [Monitor Monitor-8 LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
12/29/09 09:26:34.801787 zms[25685].DB1-zm_monitor.cpp/460 [Monitor Monitor-8 IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
12/29/09 09:26:34.801794 zms[25685].DB1-zm_monitor.cpp/2459 [Loaded monitor 8(Monitor-8), 0 zones]
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

clicking on the monitor tab on zm opens new window with a blank black screen, i could see a white noise on very top of screen.
also pasting apache error logs.

Code: Select all

[Tue Dec 29 09:32:05 2009] [error] [client 117.192.1.68] socket_sendto( /tmp/zms-125318s.sock ) failed: No such file or directory, referer: http://192.168.2.2:8080/zm/index.php?view=watch&mid=8
[Tue Dec 29 09:32:05 2009] [error] [client 117.192.1.68] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-125318s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/usr/share/zoneminder/www/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/usr/share/zoneminder/www/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.2.2:8080/zm/index.php?view=watch&mid=8
[Tue Dec 29 09:32:13 2009] [error] [client 117.192.1.68] socket_sendto( /tmp/zms-125318s.sock ) failed: No such file or directory, referer: http://192.168.2.2:8080/zm/index.php?view=watch&mid=8
[Tue Dec 29 09:32:13 2009] [error] [client 117.192.1.68] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-125318s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/usr/share/zoneminder/www/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/usr/share/zoneminder/www/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.2.2:8080/zm/index.php?view=watch&mid=8
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

freshly installed zoneminder-1.24.2-3.fc12.i686 on fedora 12.
followed the instruction as given.

i still see following error while opening Monitor-1 cam.

Code: Select all

[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Tue Dec 29 23:28:40 2009] [error] [client 117.192.6.17] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/

[Tue Dec 29 23:25:23 2009] [error] [client 117.192.6.17] socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory, referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:25:23 2009] [error] [client 117.192.6.17] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/usr/share/zoneminder/www/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/usr/share/zoneminder/www/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:25:36 2009] [error] [client 117.192.6.17] socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory, referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:25:36 2009] [error] [client 117.192.6.17] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/usr/share/zoneminder/www/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/usr/share/zoneminder/www/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:25:50 2009] [error] [client 117.192.6.17] socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory, referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:25:50 2009] [error] [client 117.192.6.17] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/usr/share/zoneminder/www/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/usr/share/zoneminder/www/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:26:03 2009] [error] [client 117.192.6.17] socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory, referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
[Tue Dec 29 23:26:03 2009] [error] [client 117.192.6.17] array (\n  0 => \n  array (\n    'file' => '/usr/share/zoneminder/www/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-501356s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/usr/share/zoneminder/www/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/usr/share/zoneminder/www/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://192.168.2.2:8080/zm/?view=watch&mid=1
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

anyone plz ?
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

anyone got zoneminder running succesfully on fedora 12?
JohnnyLaww
Posts: 20
Joined: Sun Sep 23, 2007 1:46 am

Same error on CentOS 5.4

Post by JohnnyLaww »

I am not using Fedora but I saw this same error occurring on CentOS 5.4

in my apache error log I saw this:

Code: Select all

[Sun Jan 03 22:32:48 2010] [error] [client xx.xx.xx.xx] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/cgi-bin/nph-zms, referer: http://xx.xx.xx.xx/zm/index.php?view=watch&mid=2
[Sun Jan 03 22:33:02 2010] [error] [client xx.xx.xx.xx] socket_sendto( /tmp/zms-815547s.sock ) failed: No such file or directory, referer: http://xx.xx.xx.xx/zm/index.php?view=watch&mid=2
[Sun Jan 03 22:33:02 2010] [error] [client xx.xx.xx.xx] array (\n  0 => \n  array (\n    'file' => '/var/www/html/zm/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-815547s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/www/html/zm/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/var/www/html/zm/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://xx.xx.xx.xx/zm/index.php?view=watch&mid=2
After beating my head against the wall for two days, I finally saw the "Light"!

The light being the first line above:

Code: Select all

[Sun Jan 03 22:32:48 2010] [error] [client xx.xx.xx.xx] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/cgi-bin/nph-zms, referer: http://xx.xx.xx.xx/zm/index.php?view=watch&mid=2
I had to make sure that +FollowSymLinks was included in my httpd.conf under the Directory Directive for the CGI-BIN Directory.

So now this is what I have in my httpd.conf:

Code: Select all

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options +FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>
After a httpd restart all is working good albeit I need some new cameras, mine are worn out after almost two years of successfully running ZM!

Hope this Helps..
David12
Posts: 1
Joined: Mon Jan 04, 2010 6:08 am

Hi,

Post by David12 »

Thank you so much for your helps. Yes that helps me. This makes me happy! Hope you can tell us more soon.
For finding credit card information visit this site.
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

so i made the changes on my httpd.conf and restart httpd + zoneminder.
following error is seen on apache error logs with the same blank screen.
i'm able to stream webcam "/dev/video0" using vlc but then the same doesn't work on zoneminder.

Code: Select all

[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 808, referer: http://192.168.2.2:8080/zm/
[Mon Jan 04 16:41:10 2010] [error] [client 192.168.2.1] PHP Deprecated:  Function ereg() is deprecated in /usr/share/zoneminder/www/includes/functions.php on line 813, referer: http://192.168.2.2:8080/zm/

rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

debug 5

Code: Select all

01/04/10 16:54:42.224912 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.224922 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 3]
01/04/10 16:54:42.224935 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.224946 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.224955 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.294595 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 4/573 from channel 0]
01/04/10 16:54:42.294611 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.294622 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.294903 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.294913 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 4]
01/04/10 16:54:42.294926 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.294936 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.294945 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.364585 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 5/574 from channel 0]
01/04/10 16:54:42.364601 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.364611 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.364891 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.364901 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 5]
01/04/10 16:54:42.364914 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.364925 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.364934 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.441578 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 6/575 from channel 0]
01/04/10 16:54:42.441593 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.441604 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.441883 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.441893 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 6]
01/04/10 16:54:42.441906 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.441917 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.441926 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.511569 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 7/576 from channel 0]
01/04/10 16:54:42.511585 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.511596 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.511878 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.511889 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 7]
01/04/10 16:54:42.511902 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.511929 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.511941 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.581559 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 0/577 from channel 0]
01/04/10 16:54:42.581575 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.581586 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.581869 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.581880 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 0]
01/04/10 16:54:42.581893 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.581903 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.581912 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.651545 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 1/578 from channel 0]
01/04/10 16:54:42.651561 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.651572 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.651853 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.651864 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 1]
01/04/10 16:54:42.651877 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.651887 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.651896 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.721536 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 2/579 from channel 0]
01/04/10 16:54:42.721552 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.721562 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.721848 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.721859 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 2]
01/04/10 16:54:42.721872 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.721882 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.721892 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.798529 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 3/580 from channel 0]
01/04/10 16:54:42.798545 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.798556 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.798839 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.798849 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 3]
01/04/10 16:54:42.798862 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.798873 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.798882 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.868518 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 4/581 from channel 0]
01/04/10 16:54:42.868534 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1572 [Doing format conversion]
01/04/10 16:54:42.868544 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1878 [Assigning image]
01/04/10 16:54:42.868782 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1886 [Post-capturing]
01/04/10 16:54:42.868789 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1910 [Requeueing buffer 4]
01/04/10 16:54:42.868798 zmc_dvideo0[31371].DB2-zm_local_camera.cpp/1485 [Pre-capturing]
01/04/10 16:54:42.868805 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1491 [Capturing]
01/04/10 16:54:42.868811 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1514 [Capturing 1 frames]
01/04/10 16:54:42.938507 zmc_dvideo0[31371].DB3-zm_local_camera.cpp/1538 [Captured frame 5/582 from cha^C
JohnnyLaww
Posts: 20
Joined: Sun Sep 23, 2007 1:46 am

More Info Needed

Post by JohnnyLaww »

The error you are seeing is a PHP error. Most likely because you have PHP 5.3 installed. This is not why your ZM installation is failing. I think we will need a little more info to solve your issue.

1. Which Webcam are you using?
2. Post the output of lsusb and lspci
3. What happens when you run the command

Code: Select all

 zmu -d /dev/video0 -q -v
4. Have you tried the streaming trick found HERE.

John
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

# zmu -d /dev/video0 -q -v -U admin -P *****
Video Device: /dev/video0
General Capabilities
Driver: sn9c102
Card: SN9C1xx PC Camera
Bus: usb-0000:00:1a.2-2
Version: 1.1.47
Type: 0x5000001
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
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
bayer rgb (BA81)
JPEG (JPEG)
Crop Capabilities
Bounds: 640 x 480
Default: 640 x 480
Current: 640 x 480
Inputs: 1
Input 0
Name: Camera
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
rootstat
Posts: 17
Joined: Sun Dec 27, 2009 11:44 am

Post by rootstat »

Code: Select all

# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 0c45:613b Microdia Win2 PC Camera
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82G33/G31/P35/P31 Express MEI Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IH (ICH9DH) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface (rev b2)
06:00.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
06:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

Locked