memory problem??

Support and queries relating to all previous versions of ZoneMinder
Locked
jrochamtz
Posts: 4
Joined: Tue Aug 09, 2005 6:36 pm

memory problem??

Post 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!!
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if you search forum for shmget you find out how to increase this. Its also in the readme i think

James
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

This problem is also listed in the README and the FAQ.
Regards,
Cordel
jrochamtz
Posts: 4
Joined: Tue Aug 09, 2005 6:36 pm

Post 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 ?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
jrochamtz
Posts: 4
Joined: Tue Aug 09, 2005 6:36 pm

Post 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.
Locked