Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  02 Aug 2023, Stefan Ritt, Bug Report, Error accessing history files log.txt
    Reply  09 Aug 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
       Reply  16 Aug 2023, Stefan Ritt, Bug Report, Error accessing history files 
          Reply  17 Aug 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
             Reply  19 Aug 2023, Stefan Ritt, Bug Report, Error accessing history files 
                Reply  06 Oct 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
                   Reply  06 Oct 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
Message ID: 2569     Entry time: 02 Aug 2023     Reply to this: 2577
Author: Stefan Ritt 
Topic: Bug Report 
Subject: Error accessing history files 
We sporadically (like once per few hours) have an error message when we access the 
history plots through mhttpd:

07:21:35.109 2023/08/03 [mhttpd,ERROR] 
[history_schema.cxx:2345:FileHistory::read_data,ERROR] Cannot read 
'/data2/history/mhf_1690890685_20230801_dc_hv.dat', read() errno 2 (No such file 
or directory)

When I log in to the machine, I properly see the file and also can access it

[meg@megon02 history]$ ls -l mhf_1690890685_20230801_dc_hv.dat
-rw-rw-r--. 1 meg meg 34176312 Aug  3 07:23 mhf_1690890685_20230801_dc_hv.dat

and I also can dump that file. 

When I try again with mhttpd, I properly see that file. 

Now in principle this is not a problem, but the error message is annoying, since this 
is the only error we get in 24 hours. I attached a 24h log to see what I mean. If this 
is an OS issue, I wonder if we should add code to retry the file access in case we get 
that error.

Anybody seen a similar thing?

Best,
Stefan
Attachment 1: log.txt  14 kB  Uploaded 02 Aug 2023  | Show | Show all
ELOG V3.1.4-2e1708b5