Ответы в темах
-
АвторЗаписи
-
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
lost_postУчастникВ этом логе она есть —
2024-02-16 14:56:22 <Gacrux><root><ACT> Check username and password for semjon.kogan. Result: failedбольше никаких сообщений в момент попытки логина не появляется
-
Ответ изменён 2 года, 5 месяцев назад пользователем
lost_post.
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В процессе старта тоже ничего более информативного нету.
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
lost_postУчастникПопробовал создать пользователя с именем как в домене, с пустым паролем — так же failed.
Возможно есть другой способ указать CN и DC для 5й версии?
Если ли в 5й версии возможность просмотреть детальнее логи попыток подключение к LDAP что бы попробовать понять принину?
lost_postУчастникк сожалению на данные момент перейти на 6 версию возможности нет. в следующем квартале планируем переход.
lost_postУчастникПробую логиниться и без указания домена — такая же ситуация. Есть одно сообщение в ScadaServerSvc.log что Сheck…. Result: failed
Нашел на форуме утилиту LdapTest — смог авторизоваться только когда выбрал 2 — negotiate способ, и указал CN и DC. скопировал эти данные в строку подключения в скаде — но результат такой же.
lost_postУчастникВы правильно предположили по моим логам что сервер на котором SCADA развернут на Linux (Ubuntu). Контроллер домена на Win 2012.
lost_postУчастникРазобрался — тригер надо создавать на данные, для текущий и для архивных отдельные.
а я создал на событие и ждал данные…все ошибки ушли. данные идут как ожидается. спасибо за помощь.
далее надо планировать переезд на 6 версию.
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 : ---
lost_postУчастникУ меня стоит ModDBExport 5.0.0.2, пробовал накатить 5.1.0.1

lost_postУчастникЯ попробовал выйти из положения таки образом
IF (@cnlNum >=8000 AND @cnlNum <=8100) INSERT INTO CnlData (DateTime, CnlNum, Val, Stat) VALUES (@dateTime, @cnlNum, @val, @stat)но т.к. ошибка из за NaN возникает до фактической попытки записи данных, то толку от этой фильтрации нет. модуль работает минуту, может две, после перестает писать данные в бд. да и пишет не все каналы. предполагаю что все из за ошибок NaN.
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 такого нет) ?
lost_postУчастникА не подскажите где взять обновленную версию ModDBExport для RS5 ?
Я так понимаю там можно не все каналы экспортировать?
Проблема как у всех в версии 5, — некоторые каналы отдают NaN, но возможности исправить пока нет, поэтому хочу исключить их из экспорта. Получится у меня это на обновленной версии? Или без шансов, и путь только обновление на 6 версию?
lost_postУчастникПопробую. Спасибо
-
Ответ изменён 2 года, 5 месяцев назад пользователем
-
АвторЗаписи
