Cam Issue (stupid title isn't it)

Forum for questions and support relating to the 1.24.x releases only.
Locked
civette
Posts: 5
Joined: Fri Feb 19, 2010 8:53 am

Cam Issue (stupid title isn't it)

Post by civette »

Hi all,

I installed ZM on an Ubuntu 9.10. With a logitech USB webcam. I do not have an X installed, but i tested the cam with "streamer". It works fine.

Neverthless, no way to get it working using the web interface ( which is up and running) I chmod to 777 /dev/video0 and even tested to set my apache user within the root group. No way.

Using "zmu", i have a error22. I guess this is due to the fact I'm using command line.

Any idea on wath to check ?
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

Maybe a log? I hear 'nix machines tend to generate them for all sorts of things.

zm logs vary in location depending on distribution, do a "locate zmwatch.log" and see if that shows you where they are, and then check for interesting messages. Check zm*.log for errors when you find the directory. Post any error-looking messages.
civette
Posts: 5
Joined: Fri Feb 19, 2010 8:53 am

Post by civette »

No ZM*.log at all

Is logging enabled by defualt ?
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

Yes, and unix is case sensitive. If you don't have the "locate" command, use

Code: Select all

find / -name "zm*.log"
civette
Posts: 5
Joined: Fri Feb 19, 2010 8:53 am

Post by civette »

Got it

Code: Select all

xxx/tmp$ cat zmwatch.log
02/19/10 19:29:50.543039 zmwatch[1340].INF [Watchdog starting]
02/19/10 19:29:50.543359 zmwatch[1340].INF [Watchdog pausing for 30 seconds]
02/20/10 03:23:25.435806 zmwatch[5144].INF [Watchdog starting]
02/20/10 03:23:25.436206 zmwatch[5144].INF [Watchdog pausing for 30 seconds]
Oo, full of nothing
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

I'd suggest buying a DVR, you're not ready for linux.
civette
Posts: 5
Joined: Fri Feb 19, 2010 8:53 am

Post by civette »

coke wrote:I'd suggest buying a DVR, you're not ready for linux.
Thank you for assistance. If you're that good, you should have a valuable advice. Am I wrong ?
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

If my advice were valuable, someone would be paying me for it. Meanwhile, a DVR will probably make your life easier, so though sarcastic and rather rude, it wasn't a bad suggestion.
civette
Posts: 5
Joined: Fri Feb 19, 2010 8:53 am

Post by civette »

Same player, shoot again....

Anyway, even if a DVR would do the job, the fun is to get it working as supposed to.

As zmwatch.log is not of great help. Is there another thing to check ?
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

Most of the errors will probably end up in the syslog and/or messages also. Stop zoneminder (zmpkg.pl stop), "tail -f /var/log/messages", start zoneminder (zmpkg.pl start) and see if anything interesting pops up.

And you're right, the fun is in getting something to work. I've had my caffeine now. :)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

It would probably be best to put x on this box or set up a duplicate machine. Or use an ip camera.

Is your cam supported by linux? Id assume its a pallate and or res issue.

How are you setting the monitor up now?
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
Locked