Hello,
my problem is that on the camera i created, i cannot see any image, just black.
I have a foscam FI8908W camera configured as follow: http://www.zoneminder.com/wiki/index.php/Foscam
System is linux Ubuntu Desktop 10.04 32 bits
Zoneminder installation made via synaptic, following this: http://www.zoneminder.com/wiki/index.ph ... 29_Desktop
More infos to debug
when i open the window in which the camera picture should appear, apache log says:
[Tue Aug 16 12:18:12 2011] [error] [client x.x.x.x] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: h_ttp://myhost/zm/index.php
zoneminder log shows:
08/16/2011 12:33:48.433186 zmwatch[2276].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
and
08/16/2011 12:25:00.067026 zmdc[2245].INF ['zmc -m 1' starting at 11/08/16 12:25:00, pid = 2753]
08/16/2011 12:25:00.279241 zmdc[2245].ERR ['zmc -m 1' exited abnormally, exit status 255]
What can i do to solve the issue?
Thanks,
fabio
black camera - Foscam + ubuntu
Re: black camera - Foscam + ubuntu
Is not an error, it's a warning, don't care about it.fabio1 wrote: when i open the window in which the camera picture should appear, apache log says:
[Tue Aug 16 12:18:12 2011] [error] [client x.x.x.x] PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 828, referer: h_ttp://myhost/zm/index.php
This is a well known error caused by a incorrect setting on the shared memory, read this post, run the script and edit your /etc/sysctl.conf file with the values got from the script, then reboot your system and should work -> http://www.zoneminder.com/forums/viewto ... ipt#p69568fabio1 wrote: zoneminder log shows:
08/16/2011 12:33:48.433186 zmwatch[2276].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
and
08/16/2011 12:25:00.067026 zmdc[2245].INF ['zmc -m 1' starting at 11/08/16 12:25:00, pid = 2753]
08/16/2011 12:25:00.279241 zmdc[2245].ERR ['zmc -m 1' exited abnormally, exit status 255]
Hope it helps,
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: black camera - Foscam + ubuntu
Hello,
first of all thanks for helping. But btw is still not working. I ran that script, and now i get, if i run it again:
root@krusty:/etc/zm# ./zmmemory.sh
--- Checking memory setting...
-- Total memory = 4220121088 B = 4024 MB
-- Page size = 4096 B
-- Current kernel.shmmax = 3798108979 B = 3622 MB
-- Current kernel.shmall = 1030303 pages
-- Recommended shm values already set
--- Done.
root@krusty:/etc/zm#
so on this side should be ok.
Too bad that now even the interface is not working anymore. and the error message is still there.
Do you maybe have some more ideas?
tnx,
fabio
first of all thanks for helping. But btw is still not working. I ran that script, and now i get, if i run it again:
root@krusty:/etc/zm# ./zmmemory.sh
--- Checking memory setting...
-- Total memory = 4220121088 B = 4024 MB
-- Page size = 4096 B
-- Current kernel.shmmax = 3798108979 B = 3622 MB
-- Current kernel.shmall = 1030303 pages
-- Recommended shm values already set
--- Done.
root@krusty:/etc/zm#
so on this side should be ok.
Too bad that now even the interface is not working anymore. and the error message is still there.
Do you maybe have some more ideas?
tnx,
fabio
Re: black camera - Foscam + ubuntu
happy update:
now is working!!!
firefox's tab was just stuck, so I used crome and i changed settings to "modect" instead of monitor and higher resolution and it worked.
curious thing: as soon as i opened it with chome, the error stooped appearing from the logs...
Again: thank you!!
now is working!!!
firefox's tab was just stuck, so I used crome and i changed settings to "modect" instead of monitor and higher resolution and it worked.
curious thing: as soon as i opened it with chome, the error stooped appearing from the logs...
Again: thank you!!
Re: black camera - Foscam + ubuntu
Congratulations!
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...