Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  06 Nov 2009, Jimmy Ngai, Forum, Run multiple frontend on the same host 
    Reply  27 Nov 2009, Stefan Ritt, Forum, Run multiple frontend on the same host 
       Reply  07 Dec 2009, Jimmy Ngai, Forum, Run multiple frontend on the same host 
          Reply  08 Dec 2009, Stefan Ritt, Forum, Run multiple frontend on the same host Capture.png
             Reply  12 Dec 2009, Jimmy Ngai, Forum, Run multiple frontend on the same host 
Message ID: 682     Entry time: 27 Nov 2009     In reply to: 669     Reply to this: 687
Author: Stefan Ritt 
Topic: Forum 
Subject: Run multiple frontend on the same host 
> Dear All,
> 
> I want to run two frontend programs (one for trigger and one for slow control)
> concurrently on the same computer, but I failed. The second frontend said: 
> 
> Semaphore already present
>  There is another process using the semaphore.
>  Or a process using the semaphore exited abnormally.
>  In That case try to manually release the semaphore with:
>    ipcrm sem XXX.
> 
> The two frontends are connected to the same experiment. Is there any way I can
> overcome this problem?

That might be related to the RPC mutex, which gets created system wide now. I 
modified this in midas.c rev. 4628, so there will be one mutex per process. Can you 
try that temporary patch and tell me if it works for you?
ELOG V3.1.4-2e1708b5