ZM video problem on Ubuntu server 9.1

Forum for questions and support relating to the 1.24.x releases only.
Locked
rukavina
Posts: 3
Joined: Sun Mar 07, 2010 5:00 pm

ZM video problem on Ubuntu server 9.1

Post by rukavina »

Hi All,

I've installed zoneminder on ubuntu server 9.1. Everything seems to work fine except for the main thing. When I add monitor mjpg source from ip camera (source itself is fine) I see no picture:
source type: ffmpeg
source path: http://192.168.1.11:8070/video.mjpg
source colors: 24b

However when I set 8bit colors I see something, but definitely not correct image.

In log I get this:

Code: Select all

03/07/10 17:57:59.258637 zmdc[1973].INF ['zmc -m 5' stopping at 10/03/07 17:57:59]
03/07/10 17:58:05.260503 zmdc[1973].INF ['zmc -m 5' crashed, signal 8]
03/07/10 17:58:05.363077 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:05, pid = 2953]
03/07/10 17:58:05.377567 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:05.377774 zmdc[1973].INF [Starting pending process, zmc -m 5]
03/07/10 17:58:05.391735 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:05, pid = 2956]
03/07/10 17:58:05.396936 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:05.475965 zmdc[1973].WAR [Can't find process with command of 'zma -m 5']
03/07/10 17:58:10.029055 zmdc[1973].INF [Starting pending process, zmc -m 5]
03/07/10 17:58:10.039523 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:10, pid = 2967]
03/07/10 17:58:10.040630 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:14.035445 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:14, pid = 2969]
03/07/10 17:58:14.039472 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:24.139334 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:24, pid = 2971]
03/07/10 17:58:24.147992 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:34.245073 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:34, pid = 2973]
03/07/10 17:58:34.248934 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:44.353176 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:44, pid = 2975]
03/07/10 17:58:44.357070 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:58:54.458570 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:58:54, pid = 2977]
03/07/10 17:58:54.462684 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
03/07/10 17:59:04.566640 zmdc[1973].INF ['zmc -m 5' starting at 10/03/07 17:59:04, pid = 2979]
03/07/10 17:59:04.570549 zmdc[1973].ERR ['zmc -m 5' exited abnormally, exit status 255]
Any ideas?

Thanks
pki
Posts: 29
Joined: Sat Mar 06, 2010 8:59 am

Post by pki »

Had the same here, posted in this thread: http://www.zoneminder.com/forums/viewtopic.php?t=14923

Are you on 64bit?
Which version of ZM are you using?
Self build or from respository?
rukavina
Posts: 3
Joined: Sun Mar 07, 2010 5:00 pm

Post by rukavina »

Yes, it's 64bit ubuntu.
ZM is 1.24.1 installed from package ( sudo apt-get install zoneminder )
rukavina
Posts: 3
Joined: Sun Mar 07, 2010 5:00 pm

Post by rukavina »

Seems like I fixed the problem by increasing shared memory in /etc/sysctl.conf , these lines added:

Code: Select all

kernel.shmall = 234217728
kernel.shmmax = 234217728
and reboot :)
Locked