wisekki wrote:Geez finally someone
Can you please tell me a little bit how you did it? I did a fresh Ubuntu 8.10 install and then I installed zoneminder from package, started it and added one monitor.
What kind of camera setup are you using? usb-cams or some hightech? And you're not getting these shared memory errors/warnings?
Can you see your "zm-memory-key" with ipcs?
Thnx already for your answers
- AnttiK
Hey there, no problem.
I am using a fresh Ubuntu 8.10 64 Bit Minimal Server install. If you are using 32bit and / or the standard server install, it shouldn't matter.
I am 8 640x480 24bit color analog cameras on my most recent build, with 2x 4 port bttv cards.
Code: Select all
root@tpp-camera:/var/log# cat /etc/modprobe.d/bttv
options i2c-algo-bit bit_test=1
options bttv card=102,102,102,102,102,102,102,102
I have also 16 IP cameras on another build.
I only get shared memory errors until I up the shared memory size:
Code: Select all
root@tpp-camera:/var/log# tail /etc/sysctl.conf
kernel.shmall = 268424446
kernel.shmmax = 268424446
vm.swappiness = 90 #ignore this
vm.dirty_background_ratio = 3 #ignore this
root@tpp-camera:/var/log#
Code: Select all
root@tpp-camera:/var/log# ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x7a6d0001 557056 www-data 700 46081676 3
0x7a6d0002 589825 www-data 700 36865516 3
0x7a6d0003 622594 www-data 700 36865516 3
0x7a6d0004 655363 www-data 700 36865516 3
0x7a6d0005 688132 www-data 700 36865516 3
0x7a6d0006 720901 www-data 700 36865516 3
0x7a6d0007 753670 www-data 700 36865516 3
0x7a6d0008 786439 www-data 700 36865516 3
8 segments for 8 cameras. yay.
Specifically, what kind of problems are you having?
On my servers (on which I install ZM from source), all ZM related files and directories are owned by www-data (the apache2 user). This includes the binary files (/usr/bin/zm*) , the files in /var/lib/cgi-bin, the conf file and any files in /usr/share/zoneminder. (My paths are different, but they should be right for your system.) I am not sure how Ubuntu sets up permissions for a packaged install...