Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  27 Jun 2011, Konstantin Olchanski, Info, midas shared memory changes 
    Reply  05 Jul 2011, Konstantin Olchanski, Info, midas shared memory changes 
       Reply  10 Jul 2011, Konstantin Olchanski, Bug Fix, midas shared memory changes 
          Reply  11 Jul 2011, Konstantin Olchanski, Bug Fix, midas shared memory changes 
Message ID: 773     Entry time: 05 Jul 2011     In reply to: 771     Reply to this: 775
Author: Konstantin Olchanski 
Topic: Info 
Subject: midas shared memory changes 
> 2) the shared memory type used by an experiment is recorded in the file .SHM_TYPE.TXT.

An error with creating the file .SHM_TYPE.TXT was corrected in system.c svn rev 5125 - if file did not exist, it is 
created correctly, but MIDAS reports "cannot connect to ODB". Second try works correctly because the file exists 
now.

> 3) the hostname of the computer where the ODB shared memory is meant to reside is now
> recorded in the file .SHM_HOST.TXT.

This is causing problems on mobile computers where "hostname" changes all the time (i.e. set according to 
DHCP on whatever network happens to be connected).

If you run into this problem, keep deleting .SHM_HOST.TXT or use this workaround: disable the hostname check 
by making the file .SHM_HOST.TXT empty (zero length).

K.O.
ELOG V3.1.4-2e1708b5