[Xymon] how to run 2 xymon-servers on 1 host?
Paul van Eldijk
P.vanEldijk at uci.ru.nl
Tue Mar 15 09:43:22 CET 2011
Op 14-3-2011 17:43, Henrik Størner schreef:
>
>> 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.
I must be missing something...
I've got 2 users:
uid=104(xymon) gid=501(beheer) groups=501(beheer), home directory
(=install directory): /data/xymon
uid=105(xymontst) gid=501(beheer) groups=501(beheer), home directory:
/data/tstxymon
Each user has a different XYMONHOME:
/data/xymon/server/etc/xymonserver.cfg:XYMONHOME="/data/xymon/server"
/data/tstxymon/server/etc/xymonserver.cfg:XYMONHOME="/data/tstxymon/server"
>
> (For details, look up the documentation on your systems' "ftok" function).
according to the documentatiop of 'ftok' this should be working..
Wat am I missing?
BTW:
my system is a RedHat EL6 system:
Linux server 2.6.32-71.18.2.el6.x86_64 #1 SMP Wed Mar 2 14:17:40 EST
2011 x86_64 x86_64 x86_64 GNU/Linux
Can you please advise?
Paul
--
så länge min chef låtsas som om jag har hög lön,
låtsas jag om jag har mycket att göra!
More information about the Xymon
mailing list