Issue getting Image from Camera

Forum for questions and support relating to the 1.24.x releases only.
Locked
Quicksilver2002
Posts: 4
Joined: Mon Mar 08, 2010 8:57 pm

Issue getting Image from Camera

Post by Quicksilver2002 »

I'm new to Zoneminder and Ubuntu. I currently running Zoneminder 1.24.1 on Ubuntu 9.10.

I have a D-Link DCS-6620G and some Toshiba IK-WB02A.

I have the D-Link camera up and running and it is recording events. (Sometimes it drops out, but still appears to be recording events, but I'll get to that question another time)

I'm having issues getting an image from the IK-WB02A through the ZM portal. I have found the image file to be 192.168.0.5/Jpeg/CamImg.jpg. If i type this in my browser it will show the image, but for some reason I never get it to show up in ZM and it is always showing as red and it doesn't record any events. I have looked through the forum and saw a lot of logs, but I don't know which logs to look at. If a log would help find what is going on please let me know which one to look at.

Thanks in advance for any help that you can provide to get me going in the right direction!

Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: Username:Pass@192.168.0.5
Remote Host Port: 80
Remote Host Path: /Jpeg/CamImg.jpg
Remote Host SubPath
Remote Image Colors: 24 bit Color
Capture Width (pixels): 352
Capture Height (pixels): 240
Preserve Aspect Ratio
Orientation : Normal
antar
Posts: 35
Joined: Mon Mar 20, 2006 1:32 am

Check CGI in apache

Post by antar »

check CGI in apache is authorozsed to run.
streaming uses cgi-bin/zms to stream
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

CGI shouldn't be an issue, as he claims the d-link is working. I'm assuming you can get an image in ZM with the d-link. When you try adding the toshiba's, can you still see the d-link? Have you tried running just 1 toshiba without the dlink running?

When you go to a browser and get 192.168.0.5/Jpeg/CamImg.jpg, right click the image and get properties, confirm that the size image provided there is actually 352x240 as you have it configured in ZoneMinder.

If that doesn't get anywhere, remove all cams from zoneminder, stop zoneminder, open a new terminal and type "tail -f /var/log/messages". Now start zoneminder, add a toshiba as monitor or recording and hit save. Is it showing as red? If so, something error-like should now be showing in your other terminal window. Let's see that.
Quicksilver2002
Posts: 4
Joined: Mon Mar 08, 2010 8:57 pm

Post by Quicksilver2002 »

Thanks for helping me out with this!

The D-Link was the first cam I added into ZM and it worked (would drop out once in awhile, but would come back up) I added the Toshiba and the D-Link stil worked, but thie Toshibas didn't. I did try removing the d-dlink and the toshiba still didn't work. The image size was different then what I had. It is 640x480, so I changed that. I followed your steps and below is the log that was created. Thanks again.

Code: Select all

mitchell@MT-Vid:~$ tail -f /var/log/messages
Mar  9 08:11:22 MT-Vid zmpkg[16412]: INF [Command: stop]
Mar  9 08:11:24 MT-Vid zmdc[16329]: INF ['zmwatch.pl ' stopping at 10/03/09 08:11:24]
Mar  9 08:11:24 MT-Vid zmdc[16329]: INF ['zmwatch.pl ' exited, signal 14]
Mar  9 08:11:24 MT-Vid zmdc[16329]: INF ['zmaudit.pl -c' stopping at 10/03/09 08:11:24]
Mar  9 08:11:24 MT-Vid zmdc[16329]: INF ['zmaudit.pl -c' exited, signal 14]
Mar  9 08:11:24 MT-Vid zmdc[16329]: INF ['zmfilter.pl ' stopping at 10/03/09 08:11:24]
Mar  9 08:11:24 MT-Vid zmdc[16329]: INF ['zmfilter.pl ' exited, signal 14]
Mar  9 08:11:35 MT-Vid zmdc[16329]: INF [Server shutdown at 10/03/09 08:11:35]
Mar  9 08:14:51 MT-Vid rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="686" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Mar  9 08:14:51 MT-Vid rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="686" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Mar  9 08:22:07 MT-Vid zmpkg[16735]: INF [Command: start]
Mar  9 08:22:09 MT-Vid zmdc[16746]: INF [Server starting at 10/03/09 08:22:09]
Mar  9 08:22:13 MT-Vid zmdc[16768]: INF ['zmfilter.pl' started at 10/03/09 08:22:13]
Mar  9 08:22:13 MT-Vid zmdc[16746]: INF ['zmfilter.pl' starting at 10/03/09 08:22:13, pid = 16768]
Mar  9 08:22:13 MT-Vid zmdc[16770]: INF ['zmaudit.pl -c' started at 10/03/09 08:22:13]
Mar  9 08:22:13 MT-Vid zmdc[16746]: INF ['zmaudit.pl -c' starting at 10/03/09 08:22:13, pid = 16770]
Mar  9 08:22:14 MT-Vid zmfilter[16768]: INF [Scanning for events]
Mar  9 08:22:14 MT-Vid zmdc[16772]: INF ['zmwatch.pl' started at 10/03/09 08:22:14]
Mar  9 08:22:14 MT-Vid zmdc[16746]: INF ['zmwatch.pl' starting at 10/03/09 08:22:14, pid = 16772]
Mar  9 08:22:15 MT-Vid zmwatch[16772]: INF [Watchdog starting]
Mar  9 08:22:15 MT-Vid zmwatch[16772]: INF [Watchdog pausing for 30 seconds]
Mar  9 08:24:23 MT-Vid zmdc[16746]: WAR [Can't find process with command of 'zmc -m']
Mar  9 08:24:23 MT-Vid zmdc[16746]: WAR [Can't find process with command of 'zmtrack.pl -m']
Mar  9 08:24:23 MT-Vid zmdc[16746]: WAR [Can't find process with command of 'zma -m']
[/code]
Quicksilver2002
Posts: 4
Joined: Mon Mar 08, 2010 8:57 pm

Post by Quicksilver2002 »

*bump

I'm still having issues with this. Can anyone help me out STill cannot get an video from the Toshiba cameras
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

From your log it seems you don't have any monitors right now.
If you do, please try deleting them all and re-creating them, it can solve some strange problems.
If you continue to see errors, please upload some system log (tail -n30 /var/log/messages)
Locked