Can't get shared memory

Support and queries relating to all previous versions of ZoneMinder
Locked
Yolanda
Posts: 2
Joined: Mon Jan 30, 2006 10:04 am

Can't get shared memory

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
wolfram
Posts: 29
Joined: Sat Nov 26, 2005 12:36 pm

Delete Sock File

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

Post 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
ddalton
Posts: 67
Joined: Wed Jun 22, 2005 6:53 pm

1.24.2

Post 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?
ddalton
Posts: 67
Joined: Wed Jun 22, 2005 6:53 pm

Post by ddalton »

I dont have any zm sock or tmp files that havent been deleted
Locked