Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am extremely new to Ubuntu and Zoneminder, so please bare with me and my questions. I will be as detailed as I possibly can with the problem I am having. I have spent literally a week reading forums trying to get this to work...

Up until a week ago we had Ubuntu 11.10 with Zoneminder 1.23 (I think) with 7 cameras running on the system over the network. Then a few things went wrong and now we are sitting with the following setup:

PC: - Dell Optiplex 360 - Core2Duo E5200 2.5GHz - 2GB RAM

Ubuntu Desktop 12.04 32-bit ([url=http://www.craigertech.com/zoneminder-install/]This[/url] post describes this installation)

Zoneminder v1.25

Cambozola v0.931

Camera: - Ubiquite aircam - Firmware v1.1

Zoneminder monitor settings: - Source type: ffmpeg - Function: Modect - max and alarm max fps blank - ref image: 7 - source path: rtsp://:@192.168.1.x:554/live/ch00_0 - source colours: 24 bit colour - capture w(1280px) h(720px) - timestamp and buffers tab all set to default settings - misc tab default settings except default scale: 1/2x

(i hope i have covered all the important settings...)

[b]The Problem:[/b] My current issue is that I can not get the cameras to display in Zoneminder. I am able to add one specific camera (called "admin") and it works fine (modect works, events are created and stored without a hitch!) The moment I add our "Foyer" cam it all goes downhill. The admin cam still works (sometimes) but the foyer cam either only displays a black box or an image placeholder, but never a stream. Restarting Zoneminder (or the whole server for that matter) cause the admin camera to do the same as the foyer camera. Removing the foyer cam does NOT fix the admin cam.

HOWEVER, if I add the admin cam and the add "Principals Office", both cameras work perfectly. Full functionality.

The hardware we are using has NOT changed. before, the system would handle 8 cameras and CPU usage didn't go above 40%. Now, WHEN and IF two cameras decide to work, the CPU is maxed out...

[b]What have I tried?[/b] I have made certain that the cameras on board settings are identical. Enabling and disabling rtsp authentication makes no difference. Before all of this started, the original server did not require the rtsp auth on the cameras at all.

I have triple checked the monitor settings in Zoneminder. I got these settings off of the ubiquiti forums. Other people are using the same cameras, versions and configuraion as I am with success.

I have increased the shared memory on the server after receiving some sort of shared memory error (which doesn't seem to be coming up anymore). running "ipcs -l" gives me the following values AFTER increasing shared memory:

------ Shared Memory Limits ------ max number of segments = 4096 max seg size (kbytes) = 524288 max total shared memory (kbytes) = 1342177280 min seg size (bytes) = 1

------ Semaphore Limits ------ max number of arrays = 128 max semaphores per array = 250 max semaphores system wide = 32000 max ops per semop call = 32 semaphore max value = 32767

----- Message Limits ----- max queues system wide = 1718 max size of message (bytes) = 8192 default max size of queue (bytes) = 16384

I have gone through the Zoneminder Web interface error log (I have no clue where to look for error logs in the server itself) and found the following errors: - Level: FAT PID: 5687 Message: Unable to decode frame at frame 0 - Level: ERR PID: 5085 Message: 'zmc -m x' exited abnormally, exit status 255 [x = camera number] - Level: ERR PID: 6275 Message: Failed to capture image from monitor 6 (0/1) - Level: ERR PID: 6275 Message: Captured image does not match expected size, check width, height and colour depth I have googled myself silly and I can not find anything on these errors or how to fix them and I don't what role they play in my current situation.

I have done a few other things that I can't even remember anymore as I have read so many posts.

Lastly, I have run around in circles screaming, lost hours of sleep and I think I grew a few more gray hairs...Zoneminder doesn't seem to care :cry:

Thank you for reading!

Best Regards, Marcus

share|improve this question

1 Answer 1

The information here: http://commandline.org.uk/2012/12/30/zoneminder_on_ubuntu.html

and here: http://www.zoneminder.com/wiki/index.php/FAQ

especially on Shared memory settings may help

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.