Shared memory ownership
Posted: Sat Sep 24, 2005 9:14 pm
Sometimes when my machine first boots, the shared memory segments get created owned by root.
Needless to say, this isn't good when zm is running as apache!
Restarting zm doesn't always fix it. The most reliable mechanism seems to be stopping zm, waiting a moment, deleting any segments with the right id, then starting zm. Mostly it gets created as apache then, and everything works, but not always.
Whenever I've checked, all zm processes have been owned by apache.
However, I have noticed that /usr/lib/zm and all below it is owned by root. Should it be apache?
Jim
Needless to say, this isn't good when zm is running as apache!
Restarting zm doesn't always fix it. The most reliable mechanism seems to be stopping zm, waiting a moment, deleting any segments with the right id, then starting zm. Mostly it gets created as apache then, and everything works, but not always.
Whenever I've checked, all zm processes have been owned by apache.
However, I have noticed that /usr/lib/zm and all below it is owned by root. Should it be apache?
Jim