Hi,
I have the same issue. ZM is capturing from camera and I can see pictures (files) but I can't see anything online. When I hit the name of monitor I get only informations about FPS (for example 10fps) and white space where should be image from the camera.
Could somebody tell me why it's happening. How can I fix this?
I use A4Tech USB Cam (ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x303B)), ZM 1.23.3 from sources, Slackware 12.0 distro, kernel 2.6.23, Core 2 Duo and ATI graphics with 3D support (working), Apache 2.2.4.
I can see image while using xawtv. I can browse pictures captured pictures (events) in events folder. I can set filters (I can see still image while setting filters). I can not see online view from the cam.
Informations from my log files:
zmaudit.log
Code: Select all
...
08.10.2008 19:07:13.470807 zmaudit[5172].INF [Found orphaned frame records for event '107']
08.10.2008 19:07:13.471323 zmaudit[5172].INF [deleting]
08.10.2008 19:07:13.483707 zmaudit[5172].INF [Found orphaned frame records for event '108']
08.10.2008 19:07:13.483963 zmaudit[5172].INF [deleting]
08.10.2008 19:07:13.486464 zmaudit[5172].INF [Found orphaned frame records for event '109']
08.10.2008 19:07:13.486684 zmaudit[5172].INF [deleting]
08.10.2008 19:13:28.296518 zmaudit[5471].INF [Filesystem event '2/109' does not exist in database]
08.10.2008 19:13:28.296909 zmaudit[5471].INF [deleting]
08.10.2008 21:41:29.924215 zmaudit[10091].INF [Deleting 56 old images]
zmcontrol.log
empty
zmdc.log
Code: Select all
08.10.2008 21:41:24.628912 zmdc[10052].INF [Server starting at 08/10/08 21:41:24]
08.10.2008 21:41:27.883955 zmdc[10052].INF ['zmc -m 3' starting at 08/10/08 21:41:27, pid = 10075]
08.10.2008 21:41:28.044411 zmdc[10052].ERR ['zmc -m 3' exited abnormally, exit status 255]
08.10.2008 21:41:28.044810 zmdc[10052].INF [Starting pending process, zmc -m 3]
08.10.2008 21:41:28.046775 zmdc[10052].INF ['zmc -m 3' starting at 08/10/08 21:41:28, pid = 10077]
08.10.2008 21:41:28.125040 zmdc[10052].ERR ['zmc -m 3' exited abnormally, exit status 255]
08.10.2008 21:41:28.157594 zmdc[10052].INF ['zma -m 3' starting at 08/10/08 21:41:28, pid = 10078]
08.10.2008 21:41:28.425584 zmdc[10052].INF ['zmc -d /dev/video0' starting at 08/10/08 21:41:28, pid = 10080]
08.10.2008 21:41:28.730581 zmdc[10052].INF ['zma -m 2' starting at 08/10/08 21:41:28, pid = 10086]
08.10.2008 21:41:28.826608 zmdc[10052].ERR ['zma -m 2' exited abnormally, exit status 255]
...
08.10.2008 23:26:10.071348 zmdc[10273].INF [Starting pending process, zmaudit.pl -c]
08.10.2008 23:26:10.072645 zmdc[10273].INF ['zmaudit.pl -c' starting at 08/10/08 23:26:10, pid = 12949]
08.10.2008 23:26:10.388773 zmdc[10273].ERR ['zmaudit.pl -c' exited abnormally, exit status 9]
08.10.2008 23:26:16.557564 zmdc[10273].INF ['zmc -d /dev/video0' starting at 08/10/08 23:26:16, pid = 12952]
08.10.2008 23:26:16.607334 zmdc[10273].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
08.10.2008 23:26:26.810555 zmdc[10273].INF ['zmc -d /dev/video0' starting at 08/10/08 23:26:26, pid = 12956]
08.10.2008 23:26:26.854721 zmdc[10273].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
08.10.2008 23:26:37.057555 zmdc[10273].INF ['zmc -d /dev/video0' starting at 08/10/08 23:26:37, pid = 12960]
08.10.2008 23:26:37.101923 zmdc[10273].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
zmfilter.log
Code: Select all
08.10.2008 20:43:30.439095 zmfilter[8794].INF [Scanning for events]
08.10.2008 21:41:29.721943 zmfilter[10089].INF [Scanning for events]
08.10.2008 21:45:34.637467 zmfilter[10304].INF [Scanning for events]
zmwatch.log
Code: Select all
08.10.2008 23:33:07.156117 zmwatch[10308].INF ['zmc -d /dev/video0' starting at 08/10/08 23:33:07, pid = 13264]
08.10.2008 23:33:17.157703 zmwatch[10308].INF [Restarting capture daemon for A4Tech, time since last capture 4463 seconds (1223501597-1223497134)]
08.10.2008 23:33:17.406928 zmwatch[10308].INF ['zmc -d /dev/video0' starting at 08/10/08 23:33:17, pid = 13268]
08.10.2008 23:33:27.411984 zmwatch[10308].INF [Restarting capture daemon for A4Tech, time since last capture 4473 seconds (1223501607-1223497134)]
apache_error.log
Code: Select all
[Wed Oct 08 21:39:37 2008] [notice] Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.8e DAV/2 PHP/5.2.3 configured -- resuming normal operations
[Wed Oct 08 21:42:11 2008] [error] [client 192.168.69.103] Premature end of script headers: zms, referer: http://192.168.69.103/zoneminder/index.php?view=watchfeed&mode=&mid=2&scale=100&control=
[Wed Oct 08 21:42:17 2008] [error] [client 192.168.69.103] Premature end of script headers: zms, referer: http://192.168.69.103/zoneminder/index.php?view=watchfeed&mode=&mid=2&scale=100&control=
[Wed Oct 08 21:44:57 2008] [error] [client 192.168.69.103] Premature end of script headers: zms, referer: http://192.168.69.103/zoneminder/index.php?view=watchfeed&mode=&mid=2&scale=100&control=
...
apache_access.log
Code: Select all
192.168.69.103 - - [08/Oct/2008:22:17:50 +0200] "GET /zoneminder/zm.php HTTP/1.1" 200 9711
192.168.69.103 - - [08/Oct/2008:22:17:51 +0200] "GET /zoneminder/zm_html_styles.css HTTP/1.1" 200 4895
192.168.69.103 - - [08/Oct/2008:22:17:51 +0200] "GET /zoneminder/graphics/seq-u.gif HTTP/1.1" 200 68
192.168.69.103 - - [08/Oct/2008:22:17:51 +0200] "GET /zoneminder/graphics/seq-d.gif HTTP/1.1" 200 68
192.168.69.103 - - [08/Oct/2008:22:17:53 +0200] "GET /zoneminder/zm.php?view=monitor&mid=2 HTTP/1.1" 200 13347
192.168.69.103 - - [08/Oct/2008:22:18:01 +0200] "POST /zoneminder/zm.php HTTP/1.1" 200 230
192.168.69.103 - - [08/Oct/2008:22:18:02 +0200] "GET /zoneminder/zm.php HTTP/1.1" 200 9711
192.168.69.103 - - [08/Oct/2008:22:18:03 +0200] "GET /zoneminder/zm_html_styles.css HTTP/1.1" 200 4895
192.168.69.103 - - [08/Oct/2008:22:18:03 +0200] "GET /zoneminder/graphics/seq-u.gif HTTP/1.1" 200 68
192.168.69.103 - - [08/Oct/2008:22:18:03 +0200] "GET /zoneminder/graphics/seq-d.gif HTTP/1.1" 200 68
192.168.69.103 - - [08/Oct/2008:22:18:07 +0200] "GET /zoneminder/zm.php?view=watch&mid=2 HTTP/1.1" 200 1110
192.168.69.103 - - [08/Oct/2008:22:18:07 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&control= HTTP/1.1" 200 826
192.168.69.103 - - [08/Oct/2008:22:18:07 +0200] "GET /zoneminder/zm.php?view=watchmenu&mode=&mid=2&scale=100&control= HTTP/1.1" 200 1646
192.168.69.103 - - [08/Oct/2008:22:18:07 +0200] "GET /zoneminder/zm.php?view=watchfeed&mode=&mid=2&scale=100&control= HTTP/1.1" 200 539
192.168.69.103 - - [08/Oct/2008:22:18:08 +0200] "GET /cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=5&rand=1223497088 HTTP/1.1" 500 534
192.168.69.103 - - [08/Oct/2008:22:18:07 +0200] "GET /zoneminder/zm.php?view=watchevents&max_events=10&mid=2 HTTP/1.1" 200 4036
192.168.69.103 - - [08/Oct/2008:22:18:07 +0200] "GET /zoneminder/zm.php?view=blank HTTP/1.1" 200 79
192.168.69.103 - - [08/Oct/2008:22:18:16 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=0&force=1 HTTP/1.1" 200 757
192.168.69.103 - - [08/Oct/2008:22:18:17 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=0&forced=1 HTTP/1.1" 200 776
192.168.69.103 - - [08/Oct/2008:22:18:19 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=2&forced=1 HTTP/1.1" 200 756
192.168.69.103 - - [08/Oct/2008:22:18:20 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=2&forced=1 HTTP/1.1" 200 756
192.168.69.103 - - [08/Oct/2008:22:18:21 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=2&forced=1 HTTP/1.1" 200 756
192.168.69.103 - - [08/Oct/2008:22:18:22 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=2&forced=1 HTTP/1.1" 200 756
192.168.69.103 - - [08/Oct/2008:22:18:22 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=2&force=0 HTTP/1.1" 200 824
192.168.69.103 - - [08/Oct/2008:22:18:24 +0200] "GET /zoneminder/zm.php?view=watchstatus&mid=2&last_status=2 HTTP/1.1" 200 1033
192.168.69.103 - - [08/Oct/2008:22:18:25 +0200] "GET /zoneminder/zm.php?view=blank HTTP/1.1" 200 79
192.168.69.103 - - [08/Oct/2008:22:18:25 +0200] "GET /zoneminder/zm.php?view=watchevents&max_events=10&mid=2 HTTP/1.1" 200 5197
192.168.69.103 - - [08/Oct/2008:22:18:25 +0200] "GET /zoneminder/zm_html_styles.css HTTP/1.1" 200 4895
Trying to open only zms:
Code: Select all
[Wed Oct 08 19:34:04 2008] [error] [client 192.168.69.103] Premature end of script headers: zms
[Wed Oct 08 19:34:47 2008] [error] [client 192.168.69.103] Premature end of script headers: zms, referer:
I tried ZM with firefox, opera, seamonkey and konqueror.
Only konqueror showed me few lines from the camera (just a blue line at the top of the picture).
ZM compiled with:
./configure --prefix=/usr --sysconfdir=/etc --with-mysql=/usr/lib/mysql --with-webdir=/srv/httpd/htdocs/zoneminder --with-cgidir=/srv/httpd/cgi-bin --with-ffmpeg=/usr ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zm ZM_DB_PASS=???????
I didn't create /etc/zm/apache.conf - I could not find this file.
I use default memory value in ZM config tab.
I did try to setup memory values:
# echo 134217728 >/proc/sys/kernel/shmall
# echo 134217728 >/proc/sys/kernel/shmmax
httpd.conf:
Code: Select all
User apache
Group apache
...
ServerName www.name.pl:80
DocumentRoot "/srv/httpd/htdocs"
<Directory>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory>
Options +ExecCGI
</Directory>
<Directory>
DirectoryIndex index.html index.htm index.php index.cgi index.pl
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /srv/httpd/cgi-bin/
<Directory>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
DefaultType text/plain
<IfModule>
TypesConfig /etc/httpd/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
<IfModule>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
Include /etc/httpd/mod_php.conf
php.ini:
short_open_tag = On
output_buffering = 4096
implicit_flush = Off
Do I have to configure BTTV video drivers for LMLBT44?
Do I need
/sbin/modprobe -v bttv card=118
/sbin/modprobe -v snd-bt87x
When I open zoneminder there is no login page - why?
Every file and folder is owned by apache:apache and has -rwxr-xr-x attributes.
If I forgot to mention about sth, please let me know.
Please help me set up zoneminder - I realy need this software.
Thank you in advance.
M. Z.