Problem with no camera image displayed
Problem with no camera image displayed
Hello All:
I'm a new ZM user - just installed it from the latest Live CD. I have two D-Link DCS-900 cameras attached to the system (yes I know they're miserable but they were cheap for me to test with). I've looked through the archives and I've found various posts about these cameras and how to get video off them. I have their path set to video.cgi. I can set the cameras to Motion REcord and they will record (A file is created and I can use ZM to convert it to wmv and then view it). But the problem is I never get any images in window monitor (when you click on the camera name). In firefox I just get the torn page in the upper left hand corner - in IE I get the Cambozola message and then something like "No content..." after that - never any images. The only hint I see in the logs (/var/log/zm) is that the zmc process repeatedly dies and restarts (zmc -m 2 crashed signal
Any help is appreciated.
Thanks
I'm a new ZM user - just installed it from the latest Live CD. I have two D-Link DCS-900 cameras attached to the system (yes I know they're miserable but they were cheap for me to test with). I've looked through the archives and I've found various posts about these cameras and how to get video off them. I have their path set to video.cgi. I can set the cameras to Motion REcord and they will record (A file is created and I can use ZM to convert it to wmv and then view it). But the problem is I never get any images in window monitor (when you click on the camera name). In firefox I just get the torn page in the upper left hand corner - in IE I get the Cambozola message and then something like "No content..." after that - never any images. The only hint I see in the logs (/var/log/zm) is that the zmc process repeatedly dies and restarts (zmc -m 2 crashed signal
Any help is appreciated.
Thanks
If you ain't the lead dog, the scenery never changes.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i think you might need to turn on reg exp and use http 1.0 fot these cams mate but have never used them
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
James:
I've have done that as well: I put /video.cgi in the path and turned on the Regular expression matching as well as setting HTTP to 1.0. When I do that, cpu usage goes through the roof and it starts recording furiously. However, still no display of video.....
James
I've have done that as well: I put /video.cgi in the path and turned on the Regular expression matching as well as setting HTTP to 1.0. When I do that, cpu usage goes through the roof and it starts recording furiously. However, still no display of video.....
James
If you ain't the lead dog, the scenery never changes.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
can you post your logs?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
James, easypea,
Is this not the same issue that I am reporting in another thread on this list? I do not mean to hijack this thread, but as easypea and I appear to be seeing the same issue, hopefully the following info is helpful.
My apache2 error_log on SUSE10.1 says:
script not found or unable to stat: /srv/www/htdocs/nph-zms, referer: http://localhost/zm/zm.php?view=watchfe ... 0&control=
Why is zm.php looking in /srv/www/htdocs rather than in /srv/www/cgi-bin/zm?
And the monitor is blank, although clicking the Zone button produces a frame.
After make uninstall and re-installing configured as:
--with-webdir=/srv/www/htdocs/zm
--with-cgidir=/srv/www/cgi-bin/zm
I have /usr/local/etc/zm.conf showing:
# Path to ZoneMinder web files
ZM_PATH_WEB=/srv/www/htdocs/zm
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/srv/www/cgi-bin/zm
As expected, nph-zms got placed in /srv/www/cgi-bin/zm by the install.
-Robert
Is this not the same issue that I am reporting in another thread on this list? I do not mean to hijack this thread, but as easypea and I appear to be seeing the same issue, hopefully the following info is helpful.
My apache2 error_log on SUSE10.1 says:
script not found or unable to stat: /srv/www/htdocs/nph-zms, referer: http://localhost/zm/zm.php?view=watchfe ... 0&control=
Why is zm.php looking in /srv/www/htdocs rather than in /srv/www/cgi-bin/zm?
And the monitor is blank, although clicking the Zone button produces a frame.
After make uninstall and re-installing configured as:
--with-webdir=/srv/www/htdocs/zm
--with-cgidir=/srv/www/cgi-bin/zm
I have /usr/local/etc/zm.conf showing:
# Path to ZoneMinder web files
ZM_PATH_WEB=/srv/www/htdocs/zm
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/srv/www/cgi-bin/zm
As expected, nph-zms got placed in /srv/www/cgi-bin/zm by the install.
-Robert
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
id check your paths in config mate
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
No robert, i have never built from source so cant help you there but on your running zm server in settings check the path in there
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Thanks James. Right on.jameswilson wrote:No robert, i have never built from source so cant help you there but on your running zm server in settings check the path in there
At the ZM console, in Options, Paths, ZM_PATH_ZMS I changed the existing value of "/cgi-bin/nph-zms" to "/cgi-bin/zm/nph-zms". That fixed it.
I wonder why the setting did not correctly reflect my build configure commandline and the ZM_PATH_CGI value in /usr/local/etc/zm.conf ? I guess they are different variables and the one does not read in from the other.
Thank you for your help, James.
-Robert
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
no pros, not sure but i think its a different setting. You configure line tells the app where to install stuff. The paths in config tells zm where to get them from. Maybe Phil could answer when he pops in, I cant im afraid
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Sorry - I just got back to a computer - no worries about hijacking the thread here!
Here are a couple of lines from /var/log/httpd/access_log:
192.168.2.100 - - [04/Sep/2006:16:04:09 -0700] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100&maxfps=5&rand=1157411047 HTTP/1.1" 200 -
192.168.2.100 - - [04/Sep/2006:16:04:09 -0700] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100&maxfps=5&rand=1157411047 HTTP/1.1" 200 - "http://192.168.2.252/zm/index.php?view= ... 0&control=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6"
Here's the last few lines from zmdc.log:
09/05/06 13:11:14.752035 zmdc[4819].INF ['zmc -m 2' crashed, signal 8]
09/05/06 13:11:14.855451 zmdc[4819].INF [Starting pending process, zmc -m 2]
09/05/06 13:11:14.861369 zmdc[32504].INF ['zmc -m 2' started at 06/09/05 13:11:14]
09/05/06 13:11:14.864205 zmdc[4819].INF ['zmc -m 2' starting at 06/09/05 13:11:14, pid = 32504]
09/05/06 13:11:14.871962 zmdc[4819].INF ['zmc -m 2' crashed, signal 8]
09/05/06 13:11:19.072828 zmdc[4819].INF [Starting pending process, zmc -m 2]
09/05/06 13:11:19.078583 zmdc[32506].INF ['zmc -m 2' started at 06/09/05 13:11:19]
09/05/06 13:11:19.083624 zmdc[4819].INF ['zmc -m 2' starting at 06/09/05 13:11:19, pid = 32506]
09/05/06 13:11:19.099296 zmdc[4819].INF ['zmc -m 2' crashed, signal 8]
And here's a few lines from zmwatch.log:
09/05/06 13:11:13.532966 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77251 seconds (1157487073-1157409822)]
09/05/06 13:11:14.771010 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:14] at /usr/lib/zm/bin/zmwatch.pl line 118
09/05/06 13:11:24.933652 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77262 seconds (1157487084-1157409822)]
09/05/06 13:11:34.956394 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:34] at /usr/lib/zm/bin/zmwatch.pl line 118
09/05/06 13:11:45.609677 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77283 seconds (1157487105-1157409822)]
09/05/06 13:11:48.143044 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:48] at /usr/lib/zm/bin/zmwatch.pl line 118
09/05/06 13:11:58.154076 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77296 seconds (1157487118-1157409822)]
09/05/06 13:11:59.463971 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:59] at /usr/lib/zm/bin/zmwatch.pl line 118
See anything that pops out???
James (sorry my name is James too ! )
Here are a couple of lines from /var/log/httpd/access_log:
192.168.2.100 - - [04/Sep/2006:16:04:09 -0700] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100&maxfps=5&rand=1157411047 HTTP/1.1" 200 -
192.168.2.100 - - [04/Sep/2006:16:04:09 -0700] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100&maxfps=5&rand=1157411047 HTTP/1.1" 200 - "http://192.168.2.252/zm/index.php?view= ... 0&control=" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6"
Here's the last few lines from zmdc.log:
09/05/06 13:11:14.752035 zmdc[4819].INF ['zmc -m 2' crashed, signal 8]
09/05/06 13:11:14.855451 zmdc[4819].INF [Starting pending process, zmc -m 2]
09/05/06 13:11:14.861369 zmdc[32504].INF ['zmc -m 2' started at 06/09/05 13:11:14]
09/05/06 13:11:14.864205 zmdc[4819].INF ['zmc -m 2' starting at 06/09/05 13:11:14, pid = 32504]
09/05/06 13:11:14.871962 zmdc[4819].INF ['zmc -m 2' crashed, signal 8]
09/05/06 13:11:19.072828 zmdc[4819].INF [Starting pending process, zmc -m 2]
09/05/06 13:11:19.078583 zmdc[32506].INF ['zmc -m 2' started at 06/09/05 13:11:19]
09/05/06 13:11:19.083624 zmdc[4819].INF ['zmc -m 2' starting at 06/09/05 13:11:19, pid = 32506]
09/05/06 13:11:19.099296 zmdc[4819].INF ['zmc -m 2' crashed, signal 8]
And here's a few lines from zmwatch.log:
09/05/06 13:11:13.532966 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77251 seconds (1157487073-1157409822)]
09/05/06 13:11:14.771010 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:14] at /usr/lib/zm/bin/zmwatch.pl line 118
09/05/06 13:11:24.933652 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77262 seconds (1157487084-1157409822)]
09/05/06 13:11:34.956394 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:34] at /usr/lib/zm/bin/zmwatch.pl line 118
09/05/06 13:11:45.609677 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77283 seconds (1157487105-1157409822)]
09/05/06 13:11:48.143044 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:48] at /usr/lib/zm/bin/zmwatch.pl line 118
09/05/06 13:11:58.154076 zmwatch[4887].INF [Restarting capture daemon for New, time since last capture 77296 seconds (1157487118-1157409822)]
09/05/06 13:11:59.463971 zmwatch[4887].INF ['zmc -m 2' started at 06/09/05 13:11:59] at /usr/lib/zm/bin/zmwatch.pl line 118
See anything that pops out???
James (sorry my name is James too ! )
If you ain't the lead dog, the scenery never changes.
Robert:
Yes, I have looked into the troubleshooting section. I have not however been able to get xawtv to work at all...ignoring the camera... However, I know the camera is working because zm is recording video. Look back up in my original post and you'll see that I can use the video - convert (after clicking on a camera name and then clicking on an event - then Video - then Generate Video) to generate and look at video using this function. So the camera is recording - it just won't display in the view window for some reason.
easypea
Yes, I have looked into the troubleshooting section. I have not however been able to get xawtv to work at all...ignoring the camera... However, I know the camera is working because zm is recording video. Look back up in my original post and you'll see that I can use the video - convert (after clicking on a camera name and then clicking on an event - then Video - then Generate Video) to generate and look at video using this function. So the camera is recording - it just won't display in the view window for some reason.
easypea
If you ain't the lead dog, the scenery never changes.
O.K. Everyone:
First off - thanks for all the replies - I appreciate it!
I did some more troubleshooting on my own and it appears the problem is somehow related to the cambozola.jar usage. In the options I turned off the check box that says to use that file. I then went to a Windows box and opened up zm and clicked on one of my monitors. I still had no display there, just a red x up in the corner. I then selected one of the events that ZM had previously recorded and VOILA the individual images appeared on the screen. So, is there maybe a permission problem on that .jar file or is there perhaps a bug?? It says its version 0.5 on the screen just before I get the 'no content' message over top of it. Or is the java file looking to get the images and somehow doesn't know where to look?
Hope this helps because I think I'm getting close!
easypea (james)
First off - thanks for all the replies - I appreciate it!
I did some more troubleshooting on my own and it appears the problem is somehow related to the cambozola.jar usage. In the options I turned off the check box that says to use that file. I then went to a Windows box and opened up zm and clicked on one of my monitors. I still had no display there, just a red x up in the corner. I then selected one of the events that ZM had previously recorded and VOILA the individual images appeared on the screen. So, is there maybe a permission problem on that .jar file or is there perhaps a bug?? It says its version 0.5 on the screen just before I get the 'no content' message over top of it. Or is the java file looking to get the images and somehow doesn't know where to look?
Hope this helps because I think I'm getting close!
easypea (james)
If you ain't the lead dog, the scenery never changes.