lost_post

Созданные ответы форума

Просмотр 15 сообщений - с 1 по 15 (из 58 всего)
  • Автор
    Сообщения
  • в ответ на: Настройка LDAP (Active Directory) #31160
    lost_post
    Участник

    еще раз снял логи. попытка логина пользователес LDAP а после логин локальным пользователем скады.

    2024-02-19 16:50:32 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-19 16:50:32 <Gacrux><root><ACT> The user ScadaWeb is successfully authenticated
    2024-02-19 16:50:41 <Gacrux><root><ACT> Check username and password for semjon.kogan. Result: failed
    2024-02-19 16:50:55 <Gacrux><root><ACT> Check username and password for admin. Result: passed
    в ответ на: Настройка LDAP (Active Directory) #31158
    lost_post
    Участник

    В этом логе она есть — 2024-02-16 14:56:22 <Gacrux><root><ACT> Check username and password for semjon.kogan. Result: failed

    больше никаких сообщений в момент попытки логина не появляется

    • Этот ответ был изменен 1 месяц, 3 недели назад от lost_post.
    в ответ на: Настройка LDAP (Active Directory) #31149
    lost_post
    Участник

    Включаю подробный журнал — так же ничего понятнее не становится.

    момент попытки авторизации через ldap

    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x03 (write current data) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x01 (check user name and password) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> The user ScadaWeb is successfully authenticated
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x0C (request files modification time) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Obtaining the modification time of the file /opt/scada/BaseDAT/incnl.dat
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x01 (check user name and password) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Check username and password for semjon.kogan. Result: failed
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x03 (write current data) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:22 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:23 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:23 <Gacrux><root><ACT> Writing snapshot in the current data table is completed
    2024-02-16 14:56:23 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:23 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:23 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1
    2024-02-16 14:56:23 <Gacrux><root><ACT> Command 0x07 (request command) is received from the client 127.0.0.1

    В процессе старта тоже ничего более информативного нету.

    в ответ на: Настройка LDAP (Active Directory) #31147
    lost_post
    Участник

    Да нету там ничего про LDAP

    2024-02-12 16:54:05 <Gacrux><root><ACT> ScadaServerService 5.1.4.2 is started
    2024-02-12 16:54:06 <Gacrux><root><ACT> Module is loaded from the file /opt/scada/ScadaServer/Mod/ModAutoControl.dll
    2024-02-12 16:54:06 <Gacrux><root><ACT> Module is loaded from the file /opt/scada/ScadaServer/Mod/ModDbExport.dll
    2024-02-12 16:54:06 <Gacrux><root><ACT> Module is loaded from the file /opt/scada/ScadaServer/Mod/ModActiveDirectory.dll
    2024-02-12 16:54:06 <Gacrux><root><ACT> Check the existence of the data directories is completed successfully
    2024-02-12 16:54:06 <Gacrux><root><ACT> Check the existence of the configuration database files is completed successfully
    2024-02-12 16:54:06 <Gacrux><root><ACT> Input channels are read from the configuration database. Active channel count: 1548
    2024-02-12 16:54:06 <Gacrux><root><ACT> Ouput channels are read from the configuration database
    2024-02-12 16:54:06 <Gacrux><root><ACT> Users are read from the configuration database
    2024-02-12 16:54:06 <Gacrux><root><ACT> Formulas are read from the configuration database
    2024-02-12 16:54:06 <Gacrux><root><ACT> The formulas source code has been compiled
    2024-02-12 16:54:07 <Gacrux><root><ACT> Connection listener is started
    2024-02-12 16:54:07 <Gacrux><root><ACT> Start server
    2024-02-12 16:54:07 <Gacrux><root><ACT> Current data are loaded
    2024-02-12 16:54:09 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-12 16:54:09 <Gacrux><root><ACT> The user ScadaComm is successfully authenticated
    2024-02-12 16:54:16 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-12 16:54:16 <Gacrux><root><ACT> The user ScadaWeb is successfully authenticated
    2024-02-12 16:56:07 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    2024-02-13 02:15:13 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-13 02:15:13 <Gacrux><root><ACT> The user ScadaComm is successfully authenticated
    2024-02-13 02:16:10 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    2024-02-13 12:49:45 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-13 12:49:45 <Gacrux><root><ACT> The user ScadaWeb is successfully authenticated
    2024-02-13 12:49:53 <Gacrux><root><ACT> Check username and password for admin. Result: passed
    2024-02-13 14:27:41 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    2024-02-13 15:07:15 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-13 15:07:15 <Gacrux><root><ACT> The user ScadaWeb is successfully authenticated
    2024-02-13 15:41:43 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    2024-02-14 02:15:07 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-14 02:15:07 <Gacrux><root><ACT> The user ScadaComm is successfully authenticated
    2024-02-14 02:16:06 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    2024-02-15 02:15:09 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-15 02:15:09 <Gacrux><root><ACT> The user ScadaComm is successfully authenticated
    2024-02-15 02:16:07 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    2024-02-16 02:15:09 <Gacrux><root><ACT> Connect to client 127.0.0.1
    2024-02-16 02:15:09 <Gacrux><root><ACT> The user ScadaComm is successfully authenticated
    2024-02-16 02:16:07 <Gacrux><root><ACT> Disconnect client 127.0.0.1
    в ответ на: Настройка LDAP (Active Directory) #31044
    lost_post
    Участник

    Попробовал создать пользователя с именем как в домене, с пустым паролем — так же failed.

    Возможно есть другой способ указать CN и DC для 5й версии?

    Если ли в 5й версии возможность просмотреть детальнее логи попыток подключение к LDAP что бы попробовать понять принину?

    в ответ на: Настройка LDAP (Active Directory) #30986
    lost_post
    Участник

    к сожалению на данные момент перейти на 6 версию возможности нет. в следующем квартале планируем переход.

    в ответ на: Настройка LDAP (Active Directory) #30985
    lost_post
    Участник

    Пробую логиниться и без указания домена — такая же ситуация. Есть одно сообщение в ScadaServerSvc.log что Сheck…. Result: failed

    Нашел на форуме утилиту LdapTest — смог авторизоваться только когда выбрал 2 — negotiate способ, и указал CN и DC. скопировал эти данные в строку подключения в скаде — но результат такой же.

    Таблица пользователей стандартная Screenshot-2024-02-07-at-1-28-39-PM

    в ответ на: Настройка LDAP (Active Directory) #30974
    lost_post
    Участник

    Вы правильно предположили по моим логам что сервер на котором SCADA развернут на Linux (Ubuntu). Контроллер домена на Win 2012.

    в ответ на: ModDBExport: The incoming tabular data stream (TDS) #30957
    lost_post
    Участник

    Разобрался — тригер надо создавать на данные, для текущий и для архивных отдельные.
    а я создал на событие и ждал данные…

    все ошибки ушли. данные идут как ожидается. спасибо за помощь.

    далее надо планировать переезд на 6 версию.

    в ответ на: ModDBExport: The incoming tabular data stream (TDS) #30956
    lost_post
    Участник

    Обновил все до 5.8.4 и вин машину администратора и линукс сервер.
    Модуль переактивировал, вроде настроил (указал параметры соединения, создал тригер, описал запрос для записи, включил передачу архива)
    Но данные не идут, ни архивные (кстати это относится только к тем каналам на которые есть тригер или ко всем?), ни текущие по тригеру.

    В логах модуля

    tail ModDbExport.log
    2024-02-02 14:31:20 Start ModDbExport module
    2024-02-02 14:31:20 Map of channels and devices loaded
    2024-02-02 14:31:20 Start export

    и

    tail ModDbExport_001.log
    2024-02-02 14:31:20 Start exporter "[1] Цель 1"
    2024-02-02 14:31:20 Export state file is missing

    и

    tail ModDbExport_001.txt
    Archive Uploading
    -----------------
    Ready      : No
    Index      : 0
    Date       : 27/01/2024
    Min. time  : ---
    Max. time  : ---
    Queued     : 27/01/2024 00:00:00
    Sent       : ---
    в ответ на: ModDBExport: The incoming tabular data stream (TDS) #30890
    lost_post
    Участник

    У меня стоит ModDBExport 5.0.0.2, пробовал накатить 5.1.0.1

    в ответ на: ModDBExport: The incoming tabular data stream (TDS) #30889
    lost_post
    Участник

    Я попробовал выйти из положения таки образом

    IF (@cnlNum >=8000 AND @cnlNum <=8100)
      INSERT INTO CnlData (DateTime, CnlNum, Val, Stat)
      VALUES (@dateTime, @cnlNum, @val, @stat)

    но т.к. ошибка из за NaN возникает до фактической попытки записи данных, то толку от этой фильтрации нет. модуль работает минуту, может две, после перестает писать данные в бд. да и пишет не все каналы. предполагаю что все из за ошибок NaN.

    в ответ на: ModDBExport: The incoming tabular data stream (TDS) #30887
    lost_post
    Участник

    У меня Администратор 5.5.2.0, Вебстанция 5.1.0.0 (не помню точную версию всей сборки) попробовал подменить ModDbExport.dll на тот что в архиве 5.8.4. получаю ошибку «Необработанное исключение:
    Could not load type ‘Scada. Config.KnownDEMS from assembly
    ‘ScadaData, Version =5. 1.3.0, Culture =neutral, PublicKeyToken=null.»
    Я так понимаю мне нужно обновлять все компоненты скады до тех версий что в 5.8.4 или сразу на 6 версию переходить. Верно? Или есть варианты на моей версии настроить как-то фильтр каналов (у меня в ModDbExport такого нет) ?

    в ответ на: ModDBExport: The incoming tabular data stream (TDS) #30885
    lost_post
    Участник

    А не подскажите где взять обновленную версию ModDBExport для RS5 ?

    Я так понимаю там можно не все каналы экспортировать?

    Проблема как у всех в версии 5, — некоторые каналы отдают NaN, но возможности исправить пока нет, поэтому хочу исключить их из экспорта. Получится у меня это на обновленной версии? Или без шансов, и путь только обновление на 6 версию?

    в ответ на: Графики #29628
    lost_post
    Участник

    Попробую. Спасибо

Просмотр 15 сообщений - с 1 по 15 (из 58 всего)