scada v6 archive error

Forum Home Forums Runtime Bugs scada v6 archive error

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #11525
    Zeus
    Participant

    2022-11-14 22:21:12 [ubuntu][root][ERR] Module ModArcInfluxDb: Error loading module configuration:
    The input data is not a complete block.
    2022-11-14 22:21:12 [ubuntu][root][ERR] Error calling the MakeReady method of the Min archive:
    Scada.ScadaException: Connection “” not found.
    at Scada.Server.Modules.ModArcInfluxDb.Logic.InfluxHAL.MakeReady()
    at Scada.Server.Engine.ArchiveHolder.MakeReady()
    2022-11-14 22:21:12 [ubuntu][root][ERR] Error calling the MakeReady method of the Hour archive:
    Scada.ScadaException: Connection “” not found.
    at Scada.Server.Modules.ModArcInfluxDb.Logic.InfluxHAL.MakeReady()
    at Scada.Server.Engine.ArchiveHolder.MakeReady()
    2022-11-14 22:21:13 [ubuntu][root][ERR] Error calling the MakeReady method of the CurCopy archive:
    Npgsql.PostgresException (0x80004005): 28P01: password authentication failed for user “postgres”
    at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|211_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
    at Npgsql.Internal.NpgsqlConnector.AuthenticateMD5(String username, Byte[] salt, Boolean async, CancellationToken cancellationToken)
    at Npgsql.Internal.NpgsqlConnector.Authenticate(String username, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
    at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
    at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
    at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
    at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
    at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
    at Npgsql.NpgsqlConnection.Open()
    at Scada.Server.Modules.ModArcPostgreSql.Logic.PostgreCAL.CreateDbEntities()
    at Scada.Server.Modules.ModArcPostgreSql.Logic.PostgreCAL.MakeReady()
    at Scada.Server.Engine.ArchiveHolder.MakeReady()
    Exception data:
    Severity: FATAL
    SqlState: 28P01
    MessageText: password authentication failed for user “postgres”
    File: auth.c
    Line: 330
    Routine: auth_failed

    • This topic was modified 1 year, 12 months ago by Mikhail.
    #11526
    Zeus
    Participant

    postgres and influxdb archive error

    #11527
    Zeus
    Participant

    upload project could not upload file in scadaserver/config

    #11536
    Mikhail
    Moderator

    Hello,

    upload project could not upload file in scadaserver/config

    Are there errors in ScadaAgent.log?

    #11546
    Zeus
    Participant

    Hi,
    there is no error in log file

    #11552
    Mikhail
    Moderator

    Hi,
    Do the configuration of Communicator and Webstation applications transfer correctly?

    #11592
    Zeus
    Participant

    Hi,
    the other file could be transfer right

    #11593
    Zeus
    Participant

    My archive config is like this

    <Archives>
    <Archive active=”true” code=”Cur” name=”Current Data” kind=”Current” module=”ModArcInfluxDb”>
    <Option name=”FlushPeriod” value=”30″ />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”UseCopyDir” value=”true” />
    </Archive>
    <Archive active=”true” code=”Min” name=”Minute Archive” kind=”Historical” module=”ModArcInfluxDb”>
    <Option name=”Connection” value=”” />
    <Option name=”IsPeriodic” value=”true” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”WriteWithPeriod” value=”true” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingPeriodUnit” value=”Minute” />
    </Archive>
    <Archive active=”true” code=”Hour” name=”Hourly Archive” kind=”Historical” module=”ModArcInfluxDb”>
    <Option name=”IsPeriodic” value=”true” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseCopyDir” value=”true” />
    <Option name=”WriteWithPeriod” value=”true” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingPeriodUnit” value=”Minute” />
    </Archive>
    <Archive active=”false” code=”Day” name=”Daily archive” kind=”Historical” module=”ModArcBasic”>
    <Option name=”LogEnabled” value=”false” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseCopyDir” value=”false” />
    <Option name=”WritingMode” value=”AutoWithPeriod” />
    <Option name=”WritingPeriod” value=”24″ />
    <Option name=”WritingUnit” value=”Hour” />
    </Archive>
    <Archive active=”true” code=”Events” name=”Event Archive” kind=”Events” module=”ModArcInfluxDb”>
    <Option name=”LogEnabled” value=”false” />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseCopyDir” value=”true” />
    </Archive>
    <Archive active=”true” code=”CurCopy” name=”Current Data” kind=”Current” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”FlushPeriod” value=”30″ />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”UseStorageConn” value=”true” />
    </Archive>
    <Archive active=”true” code=”MinCopy” name=”Minute Archive” kind=”Historical” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    <Option name=”WritingMode” value=”AutoWithPeriod” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingUnit” value=”Minute” />
    </Archive>
    <Archive active=”true” code=”HourCopy” name=”Hourly Archive” kind=”Historical” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”IsPeriodic” value=”true” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”ReadOnly” value=”false” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    <Option name=”WriteWithPeriod” value=”true” />
    <Option name=”WritingPeriod” value=”1″ />
    <Option name=”WritingPeriodUnit” value=”Minute” />
    </Archive>
    <Archive active=”false” code=”DayCopy” name=”Daily archive copy” kind=”Historical” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”PullToPeriod” value=”0″ />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    <Option name=”WritingMode” value=”AutoWithPeriod” />
    <Option name=”WritingPeriod” value=”24″ />
    <Option name=”WritingUnit” value=”Hour” />
    </Archive>
    <Archive active=”true” code=”EventsCopy” name=”Event Archive” kind=”Events” module=”ModArcPostgreSql”>
    <Option name=”Connection” value=”” />
    <Option name=”LogEnabled” value=”false” />
    <Option name=”MaxQueueSize” value=”1000″ />
    <Option name=”PartitionSize” value=”OneMonth” />
    <Option name=”Retention” value=”365″ />
    <Option name=”UseStorageConn” value=”true” />
    </Archive>
    </Archives>

    • This reply was modified 1 year, 11 months ago by Zeus.
    #11616
    Mikhail
    Moderator

    InfluxDB can be used for historical archives only. It doesn’t work with current data and events.

    For example, I use the following options for InfluxDB archive:

    Connection = InfluxConn
    Deadband = 0.1
    DeadbandUnit = Absolute
    IsPeriodic = false
    LogEnabled = true
    PullToPeriod = 0
    ReadOnly = false
    Retention = 365
    WriteOnChange = true
    WriteWithPeriod = true
    WritingPeriod = 1
    WritingPeriodUnit = Minute

    You should configure a connection.

    #11617
    Mikhail
    Moderator

    To enter correct options, use the Administrator app.

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