Hi Cordel,
So I've got the shared memory issue resolved - I think, but still suffering from major crashes when ZMS starts up.
Nothing in the logs indicate its a ZMS or ZM issue - I've reverted to thinking its an apache problem.
To recap - ZM runs fine and records events which can be viewed later.
But if I stream live video for any length of time Apache either freezes and or the whole PC crashes and resets.
I suspect if I were to view an event for any length of time apache it too would crash the machine.
As root when I issue ipcs -m I can see shared memory www-data for each camera.
When not logged in as root ipcs -m shows nothing related to www-data.
I still think this is a clue:
[Sat Jan 03 02:59:25 2009] [error] [client 127.0.0.1] socket_sendto() failed: No such file or directory, referer:
http://localhost/zm/index.php?view=montage&group=0
[Sat Jan 03 02:59:25 2009] [error] [client 127.0.0.1] array (\n 0 => \n array (\n 'file' => '/var/www/htdocs/zm/ajax/stream.php',\n 'line' => 47,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto() failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/htdocs/zm/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/var/www/htdocs/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer:
http://localhost/zm/index.php?view=montage&group=0
[Sat Jan 03 03:02:55 2009] [notice] caught SIGTERM, shutting down
and it could be related to group permissions somewhere.
Learning a lot about Linux generally and ZM
Only too pleased to give you access when I get home tonight (I'm in California) - how might I go about this ?
Cheers Tim