14 Mar
2011
14 Mar
'11
4:43 p.m.
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"
This is one of the more obscure parts of the SysV IPC specs, but it basically boils down to this: Make sure the two Xymon servers have different XYMONHOME directories, and it should work OK.
(For details, look up the documentation on your systems' "ftok" function).
Regards, Henrik