Cameras Don't Show Up In Zoneminder
Hi all.
Trying to set up a video surveillance system with Zoneminder on Ubuntu Jaunty. I am using a Logitech Quickcam for this. The camera works with Ubuntu, when I run XawTV I can see everything clear as day. When I try to get the camera to show up in Zoneminder I get no picture. I have tried a bunch of different device format and color combinations and still cannot get it to show up. If anyone has any experience with Zoneminder or has had this problem please help! Thanks in advance. |
If a moderator feels that this belongs in the hardware section or somewhere else please feel free to move it wherever I am likely to get the best answers. Thanks a lot.
|
bump
|
Quote:
select the link. then check settings on general and source tab. mine are like so: general - name -> cameraname sourcetype ->remote (yours would be local if the cam is locally attached) function -> modetect linkedmonitors -> cameraname ref image blend %ge -> 7 source - protocol -> http method -> simple remote hostname -> user: password@remote.hostname port -> port width -> 640 height -> 480 orientation -> normal bear in mind im using an ip camera, but your settings should look similar. also please find where you logs are zoneminder console -> options -> paths tail -f these logs whilst restarting zm let me knw how it goes NB - the section where i entered remote hostname, i had to put a space after user: - only in the post so i didnt get that smiley icon. if your cam uses login details, you would enter no space between user: password |
Thanks for the reply, I've been rather busy today I hope to try this and get back to you by the end of today though.
|
OK, my setup is local, I do have the camera plugged directly into the computer at the moment.
The log file that caught my attention the most was zmdc.log which revealed this: 10/05/2009 16:22:32.055844 zmdc[22302].INF [Starting pending process, zmc -d /dev/video0] 10/05/2009 16:22:32.057722 zmdc[22302].INF ['zmc -d /dev/video0' starting at 09/10/05 16:22:32, pid = 19336] 10/05/2009 16:22:32.099510 zmdc[22302].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6] To me, at least, it looks like it tried to start the camera and failed but I couldn't find much on what exit status 6 is yet. I shall continue hunting. Thanks for whatever information you can give and have given. EDIT: After googling exit status 6, every forum topic I could find on it was inconclusive as to the problem. I tried changing the device format and color multiple times, even tried gray as was recommended somewhere else and that did not work either. |
Quote:
have you specified the capture width and height in the camera source settings? looks like your camera isnt being detected. can you confirm that the camera is actually on /dev/video0? dmesg should tell this. what is your output from Code:
zmu -q -d /dev/video0 -v |
OK when I try that command I get:
Code:
Error, username and password or auth string must be applied Code:
Name: Monitor-1 Code:
Device Path: /dev/video0 I am almost positive the camera is /dev/video0 because I did: Code:
ls /dev/video* EDIT: Thanks for all your help by the way. I also ran: Code:
xawtv /dev/video0 |
Quote:
must be some settings then run Code:
zmu -q -d /dev/video0 -U user --password password also whilst doing any restarts, be sure to be tailing the logs in the background. something like Code:
tail -f /path/to/zmlogs & |
Perhaps this is a stupid question, not sure. There was a never a time to create a user and password during installation so is there a default administrator user and password for Zoneminder? If not how can I create a user and password after installation? Just for the sake of it I tried using the Apache username and password which did not work.
|
Quote:
can be changed by clicking the options link. also make sure the zone minder console is 'Running' |
OK, admin/admin worked thanks for that, I ran
Code:
zmu -q -d /dev/video0 -U username -P password |
Maybe this will help also. I ran "v4l-info" and this is what I got:
Code:
### v4l2 device info [/dev/video0] ### |
Maybe this helps a little bit too. This is the debug log.
Code:
10/08/09 09:24:16.040690 zmc_dvideo0[10255].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.10255] |
Device permissions?
Did you check the permissions on /dev/video0? I had to run 'sudo chmod 666 /dev/video0' to get my cameras to show up.
I'm new to Linux and Zoneminder and basically just followed the tutorial I found here: "Ubuntu 9.04 (Jaunty) desktop with graphical interface". Sorry, I can't post the link since I'm a new member. I have a brand new Jaunty install (and update) and Zoneminder install using the Synaptic Package Manager. It won't surprise me if I run into more problems. |
All times are GMT -5. The time now is 01:05 AM. |