No capture on zm 1.22.3 package etch

Support and queries relating to all previous versions of ZoneMinder
nadir
Posts: 31
Joined: Sun Dec 03, 2006 11:47 pm

log:

Post by nadir »

[cotail -f /var/log/messages /var/log/apache2/error.log /var/log/zm/zm*.log
==> /var/log/messages <==
Mar 22 16:38:15 debian zmwatch[3889]: INF [Restarting capture daemon for CAM1, shared memory not valid]
Mar 22 16:38:15 debian zmdc[4349]: INF ['zmc -d /dev/video0' started at 07/03/22 16:38:15]
Mar 22 16:38:15 debian zmdc[3852]: INF ['zmc -d /dev/video0' starting at 07/03/22 16:38:15, pid = 4349]
Mar 22 16:38:15 debian zmc_dvideo0[4349]: INF [Debug Level = 0, Debug Log = <none>]
Mar 22 16:38:15 debian zmwatch[3889]: INF ['zmc -d /dev/video0' starting at 07/03/22 16:38:15, pid = 4349]
Mar 22 16:38:25 debian zmwatch[3889]: INF [Restarting capture daemon for CAM1, shared memory not valid]
Mar 22 16:38:25 debian zmdc[3852]: INF ['zmc -d /dev/video0' starting at 07/03/22 16:38:25, pid = 4357]
Mar 22 16:38:25 debian zmdc[4357]: INF ['zmc -d /dev/video0' started at 07/03/22 16:38:25]
Mar 22 16:38:25 debian zmc_dvideo0[4357]: INF [Debug Level = 0, Debug Log = <none>]
Mar 22 16:38:25 debian zmwatch[3889]: INF ['zmc -d /dev/video0' starting at 07/03/22 16:38:25, pid = 4357]

==> /var/log/apache2/error.log <==
[Wed Mar 21 17:13:29 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:23:53 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:29:32 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:34:40 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:37:11 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:40:03 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:41:05 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:43:40 2007] [error] [client 192.168.0.1] Premature end of script headers: zms, referer: http://192.168.0.1/zm/index.php?view=wa ... 0&control=
[Wed Mar 21 17:45:07 2007] [notice] caught SIGTERM, shutting down
[Thu Mar 22 16:16:34 2007] [notice] Apache/2.2.3 (Debian) PHP/4.4.4-8+etch1 configured -- resuming normal operations
tail: Ne peut ouvrir `/var/log/zm/zm*.log' en lecture: Aucun fichier ou répertoire de ce type

de][/code]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Have you tried to change the path in options for ZM_PATH_ZMS
from zms to nph-zms?
nadir
Posts: 31
Joined: Sun Dec 03, 2006 11:47 pm

re

Post by nadir »

by default is nph-zms,i have change them to zms ,so i have message :shared memory not valid
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

That is only part of the error messege and it means that zmc has not captured any thing so there is nothing in shared memory. In one of your other logs should be something more spacific.
Again I ask what are your camera settings?

If you want this fixed in a hurry, I suggest sneding me login info and I can get it sorted out. Otherwise I well be flying out for a few weeks at least and will have limited resorces and will only be helping on the forum. Last cance for the free offer.
barbaq
Posts: 5
Joined: Mon Dec 19, 2005 10:42 pm

Post by barbaq »

If you didnt solved your problem yet I suggest you check this thread: http://www.zoneminder.com/forums/viewtopic.php?t=8621 . It worked for me.
lleell00
Posts: 1
Joined: Tue Apr 24, 2007 10:57 pm

Post by lleell00 »

Hi,
i have installed zoneminder from depot debian sid. I had to set ZM_PATH_ZMS to zms in order to have zoneminder working (next don't forget to restart zms with

Code: Select all

/etc/init.d/zoneminder stop
/etc/init.d/zoneminder start
)
You should test that :

Code: Select all

export QUERY_STRING="mode=single&monitor=1&scale=100&rand=1177455716"
/usr/lib/cgi-bin/zms > img
Can you display the file 'img' ?

lleell00
Locked