Page 1 of 1

Can't get shared memory

Posted: Tue Feb 28, 2006 12:51 pm
by Yolanda
hi, I've Zoneminder 1.22 running in Fedora 4 and when run 'zmpgk.pl start'
all seems Ok. If check 'zmpgk.pl status' returns 'running', but when open URL 'http://192.168.16.7/zm/index.php' in Screen shows Sttoped.

i'd been seeing loggers and the only error i see is this in zmwatch.log:

28/02/06 13:51:07.842332 zmwatch[2294].INF ['zmc -m 1' starting at 06/02/28 13:51:07, pid = 2794] at /usr/local/bin/zmwatch.pl line 118
28/02/06 13:51:17.859365 zmwatch[2294].ERR [Can't get shared memory id '7a6d4001', 1: No existe el fichero o el directorio]
28/02/06 13:51:17.861396 zmwatch[2294].INF [Restarting capture daemon for Base3, shared memory not valid]
28/02/06 13:51:19.536447 zmwatch[2294].INF ['zmc -m 1' started at 06/02/28 13:51:19] at /usr/local/bin/zmwatch.pl line 118
28/02/06 13:51:29.550427 zmwatch[2294].ERR [Can't get shared memory id '7a6d4001', 1: No existe el fichero o el directorio]
28/02/06 13:51:29.552436 zmwatch[2294].INF [Restarting capture daemon for Base3, shared memory not valid]
28/02/06 13:51:31.222029 zmwatch[2294].INF ['zmc -m 1' started at 06/02/28 13:51:31] at /usr/local/bin/zmwatch.pl line 118
28/02/06 13:51:41.235672 zmwatch[2294].ERR [Can't get shared memory id '7a6d4001', 1: No existe el fichero o el directorio]
28/02/06 13:51:41.238314 zmwatch[2294].INF [Restarting capture daemon for Base3, shared memory not valid]
28/02/06 13:51:42.916541 zmwatch[2294].INF ['zmc -m 1' started at 06/02/28 13:51:42] at /usr/local/bin/zmwatch.pl line 118
28/02/06 13:51:52.929846 zmwatch[2294].ERR [Can't get shared memory id '7a6d4001', 1: No existe el fichero o el directorio]
28/02/06 13:51:52.931877 zmwatch[2294].INF [Restarting capture daemon for Base3, shared memory not valid]


somebody can help me?. Apache and Mysql are running.

Posted: Tue Feb 28, 2006 6:06 pm
by zoneminder
This may be a permissions problem. Did you try running any of ZM as root at any time? Check you don't have any zm*.sock files in /tmp that might be owned by root.

Delete Sock File

Posted: Wed Mar 01, 2006 8:11 pm
by wolfram
will help and kill all ZM processes.
Or try a machine reboot to get rid of all processes of zm. Then start the zm stuff via the zoneminder webpage.
At least for me this worked out.

wolfram
:P

Posted: Thu Mar 02, 2006 6:35 pm
by cordel
Are there any errors in zmdc.log?

tail -f /tmp/zm*

Also check you messages log as you might find something more discriptive there. /var/log/messages

Regards,
Corey

1.24.2

Posted: Mon Aug 10, 2009 9:45 pm
by ddalton
I have just switch to IP wireless cameras Trendnet IP312W's and I get the same message:

zmwatch[3769].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]


What does this mean?

Posted: Mon Aug 10, 2009 9:49 pm
by ddalton
I dont have any zm sock or tmp files that havent been deleted