Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  11 Jan 2007, Steve Hardy, Forum, Shared memory problems 
    Reply  11 Jan 2007, Stefan Ritt, Forum, Shared memory problems 
       Reply  11 Jan 2007, Steve Hardy, Forum, Shared memory problems 
          Reply  11 Jan 2007, Stefan Ritt, Forum, Shared memory problems 
Message ID: 320     Entry time: 11 Jan 2007     In reply to: 319     Reply to this: 321
Author: Stefan Ritt 
Topic: Forum 
Subject: Shared memory problems 
> Hello,
> 
> Just did a fresh install of MIDAS from the SVN repository under CentOS and
> everything compiles fine, but when I go to run the frontend (using dio), I get
> the following error message:
> 
> Connect to experiment ...[odb.c:868:db_open_database] Different database format:
>  Shared memory is 14, program is 2
> [midas.c:1763:cm_connect_experiment1] cannot open database
> 
> 
> Any ideas on what the problem could be, or how to fix it?  

You have an old .ODB.SHM from a previous version in your directoy (note the '.' in
front, so you need a 'ls -alg' to see it). Delete that file and try again.
ELOG V3.1.4-2e1708b5