14 Mar
2011
14 Mar
'11
4:06 p.m.
Hi,
I would like to run 2 xymon-4.3.0 servers on 1 host (one for testing, one for production), each with its own user (xymon vs xymontst) and port (1984 vs. 1985). The problem is, that I get an error-message when starting the second server:
"Could not get shm of size 262144: Permission denied"
Obviously, the second server tries to access/allocate the same shm-segment as the first one. I'm guessing I have to change the source code somewhat, to allocate a different shm-=segment and/or semaphore, but I've got no clue as to how and where :( (I'm no good in programming C)
Is there a way to run 2 servers on the same host as different users and if so, how?
Can someone advice me on how to do this?
regards, Paul