How to test zms/nph-zms

Support and queries relating to all previous versions of ZoneMinder
Locked
ghatothkach
Posts: 3
Joined: Thu Apr 07, 2005 2:55 am

How to test zms/nph-zms

Post by ghatothkach »

HI

No matter what I try I am not able to get streaming. I guess the problem is with zms.

How do I test if zms is working correctly.

[root@server cgi-bin]# ./zms
Server: ZoneMinder Video Server/1.20.1
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 06 Apr 2005 18:59:01 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache

I am using
kernel-2.6.10-1.766_FC3.stk16
httpd-2.0.52-3
php-4.3.10-3.2

on a Fedora core 3 box.

.........Ghat
angelhod
Posts: 67
Joined: Wed May 04, 2005 1:51 pm
Contact:

i have the same problem

Post by angelhod »

...
if you will solve it plz let me know how
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

You can run zms from the command line. You need to set the environment variable QUERY_STRING to the url parameters that are passed in from the web page for your monitor, do a 'view source' and copy every after after the 'zms?' part in the QUERY_STRING env var, for example

Code: Select all

setenv QUERY_STRING=mode=jpeg&monitor=1&scale=100&maxfps=1&auth=etc
Then just run zms, or nph-zms but be warned that the output it (should) produce will have binary characters in it so redirect it to a file and examine it with an editor to check the headers etc. Note also that if you are using authentication that the auth string only has a very limited life time so you maight be better off using '&user=<username>&pass=<password>' rather than 'auth=<key>' or turning off authentication altogether for your test.

Phil
Locked