Debian Sarge not getting picture

Support and queries relating to all previous versions of ZoneMinder
Locked
tim@pcs-alaska.com
Posts: 45
Joined: Fri May 06, 2005 7:30 pm
Location: Kenai, Alaska

Debian Sarge not getting picture

Post 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
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
matrix
Posts: 11
Joined: Fri May 06, 2005 6:47 am

Re: Debian Sarge not getting picture

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This is the path I use for mine '/nphMotionJpeg?Resolution=320x240&Quality=Standard' to get mpjpegs.

Phil
tim@pcs-alaska.com
Posts: 45
Joined: Fri May 06, 2005 7:30 pm
Location: Kenai, Alaska

Still no luck

Post 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!!
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
tim@pcs-alaska.com
Posts: 45
Joined: Fri May 06, 2005 7:30 pm
Location: Kenai, Alaska

Post 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.
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

In case you haven't found it yet the user and password is admin
tim@pcs-alaska.com
Posts: 45
Joined: Fri May 06, 2005 7:30 pm
Location: Kenai, Alaska

Post by tim@pcs-alaska.com »

Yes, that worked...Thank you.
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
Locked