shared memory, socket, or general startup errors

Support and queries relating to all previous versions of ZoneMinder
Locked
teddy
Posts: 15
Joined: Sat Mar 26, 2005 6:05 pm

shared memory, socket, or general startup errors

Post by teddy »

I installed ZM to FC3 for the first time and thought FC3 was causing a problem that made it so ZM could not connect to a socket.

The socket is the file /tmp/zmdc.sock

With no connection to the socket, ZM could not startup.

Since ZM did not startup, shared memory failed to initialize.

So what was the problem???

the owner of the /tmp/zmdc.sock file was root.

I deleted the /tmp/zmdc.sock file.

Then I was able to startup ZM. ZM created a new /tmp/zmdc.sock file as user apache. Now, finally, everything works.
bschelst
Posts: 10
Joined: Thu Jan 06, 2005 9:22 am

Post by bschelst »

Teddy,

The sock file must always be readable/writeable by the webserver user.
It is strange that it was owned by root. You probably made a mistake during the configuration of the zoneminder. (apache user/apache group)


Bart
Locked