[Xymon] how to run 2 xymon-servers on 1 host?
Paul van Eldijk
P.vanEldijk at uci.ru.nl
Mon Mar 14 17:06:21 CET 2011
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
More information about the Xymon
mailing list