Page 1 of 1
memory problem??
Posted: Wed Aug 10, 2005 7:24 am
by jrochamtz
Hi!!
i'm running zoneminder on FC4. i can login, i can see image using xawtv, php is compatible with php4. i added a monitor but i can't see image. This is the error log.-
zms[10640]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
I need some help. Thanks!!
Posted: Wed Aug 10, 2005 7:52 am
by jameswilson
if you search forum for shmget you find out how to increase this. Its also in the readme i think
James
Posted: Thu Aug 11, 2005 12:03 am
by cordel
This problem is also listed in the README and the FAQ.
Regards,
Cordel
Posted: Thu Aug 11, 2005 2:47 pm
by jrochamtz
this is what i get now.....
shmall = 134217728
shmmax = 134217728
ZM_SHM_KEY = 0x7a6d2001
---------------------------------------------------
this is the response to ipcs -m command
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0052e2c1 65536 postgres 600 10993664 2
0x0c87758c 294913 jrocha 600 1072 0
0x309cf3fa 327682 jrocha 600 131072 0
0x7a6d2003 458755 apache 700 11060396 1
0x7cb39a49 229380 jrocha 600 1 0
0x18bd729a 262149 jrocha 600 1 0
and the new error msg is :
zms[9037]: ERR [Can't shmget, probably not enough shared memory space free: Permission denied]
is there a way to modify shared memory segments to create the zm key manually ?
Posted: Thu Aug 11, 2005 11:32 pm
by cordel
jrochamtz wrote:
is there a way to modify shared memory segments to create the zm key manually ?
It's in the options menu under the system tab.
Regards,
Cordel
Posted: Fri Aug 12, 2005 3:16 pm
by jrochamtz
as yo can see, i did it. i tried to modify it manually using the web console. i restart zm but i can't see the shared memory segmet key that belongs to zm ZM_SHM_KEY = 0x7a6d2001 when running command ipcs -m.
Thanks for your patience and your help.