Page 1 of 1

IP9100A with Zoneminder - shared memeory help

Posted: Sun Mar 14, 2010 5:56 pm
by rafek
Hello,
i'm new Zoneminder user (on Ubuntu Server 9.10) and i have problem with my ip9100a.
But first, i install zoneminder from instructions:
sudo apt-get install zoneminder
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
sudo adduser www-data video

and finally add:
kernel.shmall = 134217728
kernel.shmmax = 134217728

but i have still a problem, log from /tmp:

zmwatch.log
03/14/10 18:53:03.288973 zmwatch[1036].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
03/14/10 18:53:03.292384 zmwatch[1036].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
03/14/10 18:53:13.296593 zmwatch[1036].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
03/14/10 18:53:13.300632 zmwatch[1036].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]

zmdc.log
03/14/10 18:54:03.067605 zmdc[991].INF [Starting pending process, zmc -m 1]
03/14/10 18:54:03.090833 zmdc[991].INF ['zmc -m 1' starting at 10/03/14 18:54:03, pid = 1272]
03/14/10 18:54:03.560467 zmdc[991].ERR ['zmc -m 1' exited abnormally, exit status 255]
03/14/10 18:54:04.066961 zmdc[991].INF [Starting pending process, zmc -m 2]
03/14/10 18:54:04.087186 zmdc[991].INF ['zmc -m 2' starting at 10/03/14 18:54:04, pid = 1273]
03/14/10 18:54:04.648128 zmdc[991].ERR ['zmc -m 2' exited abnormally, exit status 255]

some help please.

Posted: Mon Mar 15, 2010 10:11 pm
by jd896
can you see an image at all on the zm box/webpages ?

what address are you using for the zoneminder config (cam addresss)

what firmware is on the 9100 i have one working with the yoics firmware

my guess if all of the above is correct it is apparmor blocking the activity i suggeset using command sudo aa-logprof then awnser L to skip the repositories question it should the ask to allow or deny traffic it has flagged select the appropriate and reboot

Posted: Tue Mar 16, 2010 10:52 am
by rafek
Hello,
i answer your question:
- i don't see an image on the zm box
- adress i use in "Remote Host Name" is "user:password@192.168.1.120" and "Remote Host Path" is "/usr/yoics1.jpg"
- Yoics firmware is 2.46
- i check apparmor and set "Allow"

Log ZM from /tmp:
tail -n 5 -f *

==> zmdc.log <03> zmswap-m1 <==
tail: error reading `zmswap-m1': Is a directory
tail: zmswap-m1: cannot follow end of this type of file; giving up on this name

==> zmwatch.log <==
03/16/10 11:48:58.098757 zmwatch[1032].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
03/16/10 11:49:08.101842 zmwatch[1032].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
03/16/10 11:49:18.106039 zmwatch[1032].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
03/16/10 11:49:28.109275 zmwatch[1032].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
03/16/10 11:49:38.113296 zmwatch[1032].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]

:(

ps. when i use adress "http://user:password@192.168.1.120/usr/yoics1.jpg" in web browser, i see image

Posted: Mon Mar 22, 2010 9:47 pm
by rafek
Anyone can help ?

rafek

Posted: Mon Mar 29, 2010 10:48 pm
by jd896
Try this sorry for the delay

http://www.zoneminder.com/wiki/index.ph ... rom_a_.deb

may help if not pm me and I'll do some digging