Event marker not found

Forum Home Forums Understanding the Software Event marker not found

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #16313
    38368423
    Participant

    he following error frequently occurs:Scada.ScadaException: Event marker not found.
    at Scada.Data.Adapters.EventTableAdapter.Fill(EventTable eventTable)
    at Scada.Server.Modules.ModArcBasic.Logic.BasicEAL.RefreshEvents(EventTable eventTable)
    at Scada.Server.Modules.ModArcBasic.Logic.BasicEAL.GetEventTable(DateTime timestamp)
    at Scada.Server.Modules.ModArcBasic.Logic.BasicEAL.MakeReady()
    at Scada.Server.Engine.ArchiveHolder.MakeReady()

    #16314
    Mikhail
    Moderator

    Use the DatViewer utility to check the event files. Event files are SCADA\Archive\Events\events*.dat
    May be an event file is corrupted.

    #16315
    38368423
    Participant

    yes,file is corrupted,Why do files often get corrupted, and how can this be avoided?

    #16321
    Mikhail
    Moderator

    Data files may be corrupted due to hard drive issues or sudden power outage.

    #16324
    38368423
    Participant

    My device operates in an environment prone to power outages. What solutions are available?

    #16328
    Mikhail
    Moderator

    I think, you should use power back-ups that can safely switch off your server.
    Is Rapid SCADA installed on a computer or Linux-based controller?

    #16332
    38368423
    Participant

    It is installed on an Ubuntu system. Personally, I find event loss acceptable, but I cannot accept file corruption. The problem now is that after corruption occurs, no more events are generated, and there is no automatic recovery mechanism.

    #16334
    Mikhail
    Moderator

    You right. Even if an event file is corrupted, it should be possible to append new events to it, and those events should be displayed in the web interface. Could you check how new events are added to a damaged file?

    #16355
    38368423
    Participant

    This issue is quite serious as it has caused the data files and event files to become unreadable. Is there a timeline for the fix?

    #16360
    Mikhail
    Moderator

    First of all, we need sample data to reproduce the issue.
    Please do the following:
    1. Save the damaged file.
    2. Make sure that new events cannot be added to that certain damaged file.
    3. Share the damaged file using a cloud drive, so we can reproduce the issue.

    #16362
    38368423
    Participant

    This scenario is easy to reproduce. The reproduction conditions are as follows:

    1、You have a large amount of data that needs to be read and recorded.

    2、You configure alarms for these data channels.

    3、Frequent power outages and restarts occur.

    #16381
    Mikhail
    Moderator

    If writing an event is not properly finished because of power outage, new events will be successfully written in the file when server continue operating.
    An exception situation like “Event marker not found” occurs when an event file is corrupted, i.e. contains invalid data.
    If you need this issue solved, publish the corrupted file to be possible to analyze it it’s possible to restore them or not. If the problem occurs often, a special module can be developed to check and restore corrupted event files before the Server service starts.

    #16382
    38368423
    Participant

    I have sent the faulty event file to your email address info@rapidscada.org with the subject “Event marker not found.” This issue not only causes the event file to become corrupted but also affects the files in the min, hour, and cur directories.

    #16384
    Mikhail
    Moderator

    Received. What hardware, operating system and file system is used?

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.