Ubuntu 8.10 - camorama ok...but camera with zm don't work

Support and queries relating to all previous versions of ZoneMinder
Locked
asso
Posts: 2
Joined: Tue May 05, 2009 12:21 pm

Ubuntu 8.10 - camorama ok...but camera with zm don't work

Post by asso »

I have Ubuntu 8.10 OS with zoneminder installed. Zoneminder works but it can't show cameras. i have 0.0 fps in the monitor popup. The webcams work good with camorama and xawtv and they turn on led but when i use zm they don't work and the led is turned off.

Please can someone help me??
Thank you
Verbatim
Posts: 8
Joined: Mon May 04, 2009 11:17 am
Location: Cambridge, UK

Post by Verbatim »

£10 that it's rights.

1. Post the output from this command into this thread :
cat /var/log/syslog | tail

2. Try :
chmod 777 /dev/video0
/etc/init.d/zoneminder restart

3. Or try this :
adduder www-data video

4. And maybe this :
zmfix

5. Could even be memory, shmget :
echo 134217728 >/proc/sys/kernel/shmmax

btw, 2 and 5 won't survive a reboot.
Debian 5.0 Lenny (no GUI) ('Standard' Installation Only, No Extras)
P4HT-3.0Ghz, 2GB RAM
Logitech QuickCam E3500 (remote)
asso
Posts: 2
Joined: Tue May 05, 2009 12:21 pm

Post by asso »

the output of cat /var/log/syslog |tail is:
May 6 22:20:46 zoneminder-laptop zmdc[4985]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
May 6 22:20:55 zoneminder-laptop zmwatch[5015]: INF [Restarting capture daemon for Nuovo, time since last capture 9 seconds (1241641255-1241641246)]
May 6 22:20:55 zoneminder-laptop zmdc[8874]: INF ['zmc -d /dev/video0' started at 09/05/06 22:20:55]
May 6 22:20:55 zoneminder-laptop zmdc[4985]: INF ['zmc -d /dev/video0' starting at 09/05/06 22:20:55, pid = 8874]
May 6 22:20:55 zoneminder-laptop zmc_dvideo0[8874]: INF [Debug Level = 0, Debug Log = <none>]
May 6 22:20:55 zoneminder-laptop zmwatch[5015]: INF ['zmc -d /dev/video0' starting at 09/05/06 22:20:55, pid = 8874]
May 6 22:20:55 zoneminder-laptop zmc_dvideo0[8874]: INF [Starting Capture]
May 6 22:20:56 zoneminder-laptop zmc_dvideo0[8874]: ERR [Capture failure for frame 2: Invalid argument]
May 6 22:20:56 zoneminder-laptop zmc_dvideo0[8874]: ERR [Failed to pre-capture monitor 0]
May 6 22:20:56 zoneminder-laptop zmdc[4985]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]


i try all the command but not resolve the problem.

then i try to see the output of webcam on camorama. after the a little time, camorama close with error message "Unable to capture image" and the response of the log is libv4l2: error dequeuing buf: Errore di I/O.
my kernel release is 2.6.27-11 with ubuntu 8.10

what can i do?
Verbatim
Posts: 8
Joined: Mon May 04, 2009 11:17 am
Location: Cambridge, UK

Post by Verbatim »

Ouch. That's practically beyond my knowledge. But...

http://www.zoneminder.com/forums/viewto ... ae3103da64

The model of the camera and how it's connected wouldn't go a miss either.

Try shutting down zoneminder /etc/init.d/zoneminder stop and then remove/insert the camera. Then dump the tail end of the syslog. See what it says then.

That other thread may be the answer. :) Alot of the time the various errors, or truncated forms, can be typed straight into Google and will come up with something relevant.
Debian 5.0 Lenny (no GUI) ('Standard' Installation Only, No Extras)
P4HT-3.0Ghz, 2GB RAM
Logitech QuickCam E3500 (remote)
Locked