Page 2 of 2

log:

Posted: Thu Mar 22, 2007 3:41 pm
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]

Posted: Thu Mar 22, 2007 4:44 pm
by cordel
Have you tried to change the path in options for ZM_PATH_ZMS
from zms to nph-zms?

re

Posted: Thu Mar 22, 2007 11:45 pm
by nadir
by default is nph-zms,i have change them to zms ,so i have message :shared memory not valid

Posted: Fri Mar 23, 2007 4:33 am
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.

Posted: Mon Apr 23, 2007 10:34 am
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.

Posted: Wed Apr 25, 2007 11:02 am
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