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: 2591     Entry time: 17 Aug 2023     In reply to: 2588     Reply to this: 2593
Author: Konstantin Olchanski 
Topic: Bug Report 
Subject: Error accessing history files 
Confirmed. The error message is wrong. It is printed after a short read(), but short read() does not 
set errno, and errno reported by the error message is from some previous syscall. Corrected error 
message is already committed. K.O.


> Tonight we got another error of that type after the update:
> 
> 04:17 - [mhttpd,ERROR] [history_schema.cxx:2913:FileHistory::read_data,ERROR] Cannot read 
> '/data2/history/mhf_1692128214_20230815_gassystem.dat', read() errno 2 (No such file or directory)
> 
> This morning I looked at the file, and it was there:
> 
> [meg@megon02 history]$ ls -alg mhf_1692128214_20230815_gassystem.dat
> -rw-rw-r--. 1 meg 4663228 Aug 17 08:50 mhf_1692128214_20230815_gassystem.dat
> [meg@megon02 history]$
> 
> 
> Stefan
ELOG V3.1.4-2e1708b5