Page 1 of 1

Debian Sarge not getting picture

Posted: Fri May 06, 2005 10:09 pm
by tim@pcs-alaska.com
ZoneMinder Version 1.21
Debian Sarge built May 5, 2005
Camera: Toshiba KX-HCM10 (actually three on a remote netwok all running on separte ports.)

Trying to get a picture and I'm failing. I can see the cameras via a standard web browser but not through ZoneMinder. I first started with the "shared memory" error and cranked up my /proc/sys/kernel/shmmax. The error seems to be gone but Still no joy...

I've tried to put together what I can....Advise please, Thank you.
.

/tim# cat /tmp/zmdc.log
Server starting at 05/05/06 12:02:55
Can't find process with command of 'zmc -m 1'
'zmc -m 1' started at 05/05/06 12:02:58
'zmc -m 1' starting at 05/05/06 12:02:58, pid = 1484
Can't find process with command of 'zmtrack.pl -m 1'
Can't find process with command of 'zma -m 1'
zoneminder:/home/tim# ps -ae | grep zmtrack
zoneminder:/home/tim# ps -ae | grep zm
1460 ? 00:00:00 zmdc.pl
1484 ? 00:00:05 zmc
3163 ? 00:00:00 zms


This is what I get in syslog when trying to monitor my Toshiba KX-HCM10

May 6 13:48:13 localhost zmc_m1[1484]: ERR [Unrecognised content type 'text/html']
May 6 13:48:44 localhost last message repeated 71 times
May 6 13:49:30 localhost last message repeated 114 times
May 6 13:49:32 localhost zmc_m1[1484]: ERR [Select timed out]
May 6 13:49:33 localhost zmc_m1[1484]: ERR [Unrecognised content type 'text/html']

tim# ls -l /usr/lib/cgi-bin/
total 1560
-rwxr-xr-x 2 www-data www-data 793972 2005-05-06 01:08 nph-zms
-rwxr-xr-x 2 www-data www-data 793972 2005-05-06 01:08 zms

ZM_PATH_ZMS /usr/lib/cgi-bin/zms

Re: Debian Sarge not getting picture

Posted: Sat May 07, 2005 6:22 am
by matrix
tim@pcs-alaska.com wrote:ZoneMinder Version 1.21
Debian Sarge built May 5, 2005
Camera: Toshiba KX-HCM10 (actually three on a remote netwok all running on separte ports.)

May 6 13:49:32 localhost zmc_m1[1484]: ERR [Select timed out]
May 6 13:49:33 localhost zmc_m1[1484]: ERR [Unrecognised content type 'text/html']
the Select timed out i believe means the timeout on the monitor was reached before the image was pulled. you can try increasing the Options->Network->ZM_HTTP_TIMEOUT from the default 2500ms (2.5s).

the Unrecognised content type means the Remote Host Path in the monitor is returning an html page. I just did a quick search for a live demo on a KX-HCM10 (turned up a Panasonic model, not Toshiba) and got this as the path:
/SnapshotJPEG?Resolution=320x240&Quality=Clarity

by looking at the url of the image itself you should find the appropriate path for your camera

Posted: Sun May 08, 2005 10:09 am
by zoneminder
This is the path I use for mine '/nphMotionJpeg?Resolution=320x240&Quality=Standard' to get mpjpegs.

Phil

Still no luck

Posted: Wed May 11, 2005 1:08 am
by tim@pcs-alaska.com
Thank you for replying. I tried both of your suggestions and I'm still getting a time-out error in the syslogs. I'm on a 10MB wireless hop so maybe thats the problem...?

I'm going to work on testing Franco's debian build I'm just starting to install now.

Thank you!!

Posted: Thu May 12, 2005 10:29 pm
by tim@pcs-alaska.com
Installing Apache first then installing the zm package made it work. Although; I can't get the username and password working. Didn't realize there was going to be authentication. I tried the zm and zmpass but no joy.

Posted: Fri May 13, 2005 10:00 pm
by cordel
In case you haven't found it yet the user and password is admin

Posted: Mon May 16, 2005 4:17 pm
by tim@pcs-alaska.com
Yes, that worked...Thank you.