microsoft / omi

Open Management Infrastructure
Other
371 stars 116 forks source link

OMI-1.9.0-0 problem #762

Closed txolo99 closed 6 months ago

txolo99 commented 6 months ago

After upgrade to OMI-1.9.0-0, the agent doesn't start.

# /opt/omi/bin/omiserver -v
/opt/omi/bin/omiserver: OMI-1.9.0-0 - Tue Feb 20 17:14:09 PST 2024
# openssl version
OpenSSL 1.1.1n  15 Mar 2022
# scxadmin -status
omiserver: is running
omiagent: is stopped
# systemctl status omid.service
● omid.service - OMI CIM Server
     Loaded: loaded (/lib/systemd/system/omid.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-05-08 11:04:09 CEST; 11min ago
    Process: 460336 ExecStartPre=/opt/omi/bin/support/installssllinks (code=exited, status=0/SUCCESS)
    Process: 460373 ExecStart=/opt/omi/bin/omiserver -d (code=exited, status=0/SUCCESS)
   Main PID: 460375 (omiserver)
      Tasks: 2 (limit: 19168)
     Memory: 2.0M
        CPU: 202ms
     CGroup: /system.slice/omid.service
             ├─460375 /opt/omi/bin/omiserver -d
             └─460376 /opt/omi/bin/omiengine -d --logfilefd 3 --socketpair 9

May 08 11:04:09 xxxxxxxx systemd[1]: Starting OMI CIM Server...
May 08 11:04:09 xxxxxxxx systemd[1]: omid.service: Can't open PID file /var/opt/omi/run/omiserver.pid (yet?) after start: Operation not permitted
May 08 11:04:09 xxxxxxxx systemd[1]: Started OMI CIM Server.
# vi omiserver.log
2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45155 Priority=DEBUG (E)Protocol _RequestCallback: _RequestCallbackRead fails for ProtocolSocket 0x55b75dd4e2a0
2024/05/08 09:08:02 [460376,460376] INFO: null(0): EventId=40033 Priority=INFO Selector_RemoveHandler: selector=0x55b75c8fae08, handler=0x55b75dd4e310, name=null
2024/05/08 09:08:02 [460376,460376] INFO: null(0): EventId=40010 Priority=INFO closing socket due to SELECTOR_REMOVE or SELECTOR_DESTROY
2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (8)
2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45036 Priority=DEBUG HttpSocket: 0x55b75dd4e2a0 _HttpSocket_Finish
2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45354 Priority=DEBUG Sock_Accept: sock (8)
2024/05/08 09:08:02 [460376,460376] INFO: null(0): EventId=40032 Priority=INFO Selector_AddHandler: selector=0x55b75c8fae08, handler=0x55b75dd4e310, name=null
2024/05/08 09:08:02 [460376,460376] WARNING: null(0): EventId=30119 Priority=WARNING ssl-read: unexpected sys error 0

2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45155 Priority=DEBUG (E)Protocol _RequestCallback: _RequestCallbackRead fails for ProtocolSocket 0x55b75dd4e2a0
2024/05/08 09:08:02 [460376,460376] INFO: null(0): EventId=40033 Priority=INFO Selector_RemoveHandler: selector=0x55b75c8fae08, handler=0x55b75dd4e310, name=null
2024/05/08 09:08:02 [460376,460376] INFO: null(0): EventId=40010 Priority=INFO closing socket due to SELECTOR_REMOVE or SELECTOR_DESTROY
2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (8)
2024/05/08 09:08:02 [460376,460376] DEBUG: null(0): EventId=45036 Priority=DEBUG HttpSocket: 0x55b75dd4e2a0 _HttpSocket_Finish
2024/05/08 09:08:14 [460376,460376] DEBUG: null(0): EventId=45354 Priority=DEBUG Sock_Accept: sock (8)
2024/05/08 09:08:14 [460376,460376] INFO: null(0): EventId=40032 Priority=INFO Selector_AddHandler: selector=0x55b75c8fae08, handler=0x55b75dd4e310, name=null
2024/05/08 09:08:14 [460376,460376] WARNING: null(0): EventId=30119 Priority=WARNING ssl-read: unexpected sys error 0

2024/05/08 09:08:14 [460376,460376] DEBUG: null(0): EventId=45155 Priority=DEBUG (E)Protocol _RequestCallback: _RequestCallbackRead fails for ProtocolSocket 0x55b75dd4e2a0
2024/05/08 09:08:14 [460376,460376] INFO: null(0): EventId=40033 Priority=INFO Selector_RemoveHandler: selector=0x55b75c8fae08, handler=0x55b75dd4e310, name=null
2024/05/08 09:08:14 [460376,460376] INFO: null(0): EventId=40010 Priority=INFO closing socket due to SELECTOR_REMOVE or SELECTOR_DESTROY
2024/05/08 09:08:14 [460376,460376] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (8)
2024/05/08 09:08:14 [460376,460376] DEBUG: null(0): EventId=45036 Priority=DEBUG HttpSocket: 0x55b75dd4e2a0 _HttpSocket_Finish
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45005 Priority=DEBUG MessageFromBatch:- msg tag is 15, index: 15
2024/05/08 09:08:27 [460376,460376] INFO: null(0): EventId=40011 Priority=INFO (E)done with receiving msg(0x55b75dd4e2d8:15:BinProtocolNotification:0)
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45373 Priority=DEBUG (E)Handle:(0x55b75dd510b0), ClientAuthState = 4, ServerAuthState = 0
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45006 Priority=DEBUG AgentElem: Posting message for interaction [0x55b75dd64b48]<-0x55b75dd51120
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45151 Priority=DEBUG ProtocolSocket: Ack on interaction [0x55b75dd51120]<-0x55b75dd64b48
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45152 Priority=DEBUG (E)ProtocolSocket: Close received (closed other: 0) on interaction [0x55b75dd51120]<-0x55b75dd64b48
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45147 Priority=DEBUG ProtocolSocket: triggering timeout on 0x55b75dd510b0
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45158 Priority=DEBUG (E)Protocol _RequestCallback: closing 0x55b75dd510b0 after mask 10
2024/05/08 09:08:27 [460376,460376] INFO: null(0): EventId=40012 Priority=INFO (E)Socket: 0x55b75dd510b0, closing connection (mask 10)
2024/05/08 09:08:27 [460376,460376] INFO: null(0): EventId=40033 Priority=INFO Selector_RemoveHandler: selector=0x55b75c8fae08, handler=0x55b75dd510b0, name=null
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45159 Priority=DEBUG (E)Protocol _RequestCallback: removing 0x55b75dd510b0 (mask 20, prev: a)
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (10)
2024/05/08 09:08:27 [460376,460376] INFO: null(0): EventId=40031 Priority=INFO agent running as [0] closed its connection to the server
2024/05/08 09:08:27 [460376,460376] DEBUG: null(0): EventId=45153 Priority=DEBUG (E)ProtocolSocket: 0x55b75dd510b0 _ProtocolSocket_Finish
# cat miclient.log
2024/05/08 08:51:04 [453144,453145] WARNING: null(0): SessionMap_Remove - Failed: 1
2024/05/08 09:00:19 [458012,458012] WARNING: null(0): SessionMap_Remove - Failed: 1
2024/05/08 09:00:38 [458183,458183] WARNING: null(0): SessionMap_Remove - Failed: 1
2024/05/08 09:06:57 [461768,461768] WARNING: null(0): SessionMap_Remove - Failed: 1
# cat omiagent.root.root.log
2024/05/08 08:51:04 [453146,453146] INFO: null(0): EventId=40032 Priority=INFO Selector_AddHandler: selector=0x560ab00d3f58, handler=0x560ab0388950, name=BINARY_FROM_SOCKET
2024/05/08 08:51:04 [453146,453146] INFO: null(0): EventId=40032 Priority=INFO Selector_AddHandler: selector=0x560ab00d3f58, handler=0x560ab00d3ec0, name=PROVMGR_TIMEOUT_MANAGER
2024/05/08 08:51:04 [453146,453146] INFO: null(0): EventId=40003 Priority=INFO agent started; fd 9
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45005 Priority=DEBUG MessageFromBatch:- msg tag is 15, index: 15
2024/05/08 08:51:04 [453146,453146] INFO: null(0): EventId=40011 Priority=INFO (U)done with receiving msg(0x560ab0389678:15:BinProtocolNotification:1)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45373 Priority=DEBUG (U)Handle:(0x560ab0388950), ClientAuthState = 4, ServerAuthState = 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45057 Priority=DEBUG _ConnectionIn_Post: 0x560ab0389780 Post msg(0x560ab0389678:15:BinProtocolNotification:1) for interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45055 Priority=DEBUG _ConnectionIn_FindRequest, Agent 0x560ab0389780(0x560ab03897e0), Cannot find key: 1 (may be new request)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45058 Priority=DEBUG _ConnectionIn_Post: New operation with operationId (0x1), msg (0x560ab0389678:BinProtocolNotification)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45151 Priority=DEBUG ProtocolSocket: Ack on interaction [0x560ab03889c0]<-0x560ab0389818
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45005 Priority=DEBUG MessageFromBatch:- msg tag is 4099, index: 3
2024/05/08 08:51:04 [453146,453146] INFO: null(0): EventId=40011 Priority=INFO (U)done with receiving msg(0x560ab0389ca8:4099:EnumerateInstancesReq:2)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45373 Priority=DEBUG (U)Handle:(0x560ab0388950), ClientAuthState = 4, ServerAuthState = 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45057 Priority=DEBUG _ConnectionIn_Post: 0x560ab0389780 Post msg(0x560ab0389ca8:4099:EnumerateInstancesReq:2) for interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45055 Priority=DEBUG _ConnectionIn_FindRequest, Agent 0x560ab0389780(0x560ab03897e0), Cannot find key: 2 (may be new request)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45058 Priority=DEBUG _ConnectionIn_Post: New operation with operationId (0x2), msg (0x560ab0389ca8:EnumerateInstancesReq)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45151 Priority=DEBUG ProtocolSocket: Ack on interaction [0x560ab03889c0]<-0x560ab0389818
2024/05/08 08:51:04 [453146,453146] INFO: null(0): EventId=40039 Priority=INFO New request received: command=(EnumerateInstancesReq), namespace=(root/omi), class=(OMI_Identify)
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45173 Priority=DEBUG _GetProviderByClassName{OMI_Identify}
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffd270a52d0 with interaction: (nil)->[0x7ffd270a5330]
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffd270a52d0 (strand: 0x7ffd270a52f8, interaction [0x7ffd270a5330])
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffd270a5af0 with interaction: (nil)->[0x7ffd270a5b50]
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffd270a5af0 (strand: 0x7ffd270a5b18, interaction [0x7ffd270a5b50])
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x560ab038bda8 with interaction: 0x560ab038a508->[0x560ab038be08]
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45073 Priority=DEBUG OperationOut: Ack on interaction [0x560ab038a508]<-0x560ab038be08
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45181 Priority=DEBUG enumerate instances of OMI_Identify
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45063 Priority=DEBUG Context_PostMessageLeft_IoThread: 0x560ab038bda8
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45060 Priority=DEBUG _Context_Aux_PostLeft: 0x560ab038bdd0, thisAckPending: 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x560ab03889c0]<-0x560ab0389818
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45206 Priority=DEBUG Sending msg(0x560ab038e7d8:2:PostInstanceMsg:2) on own thread
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45154 Priority=DEBUG (U)Socket: 0x560ab0388950, All send
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45070 Priority=DEBUG Context: Ack on context 0x560ab038bdd0, interaction 0x560ab038a508->[0x560ab038be08], (Transport Closed: ByThis: 0, ByOther: 0), tryingToPostLeft: 3
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45062 Priority=DEBUG _Context_Aux_PostLeft_Notify(IoThread): 0x560ab038bdd0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45063 Priority=DEBUG Context_PostMessageLeft_IoThread: 0x560ab038bda8
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45060 Priority=DEBUG _Context_Aux_PostLeft: 0x560ab038bdd0, thisAckPending: 0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x560ab03889c0]<-0x560ab0389818
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45206 Priority=DEBUG Sending msg(0x560ab038e3c8:4:PostResultMsg:2) on own thread
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45154 Priority=DEBUG (U)Socket: 0x560ab0388950, All send
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45070 Priority=DEBUG Context: Ack on context 0x560ab038bdd0, interaction 0x560ab038a508->[0x560ab038be08], (Transport Closed: ByThis: 0, ByOther: 0), tryingToPostLeft: 3
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45062 Priority=DEBUG _Context_Aux_PostLeft_Notify(IoThread): 0x560ab038bdd0
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45075 Priority=DEBUG OperationOut: Close on interaction [0x560ab038a508]<-0x560ab038be08
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45068 Priority=DEBUG _Context_Close: Close on context 0x560ab038bdd0, interaction 0x560ab038a508->[0x560ab038be08]
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45069 Priority=DEBUG Context: 0x560ab038bdd0, finish called
2024/05/08 08:51:04 [453146,453146] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x560ab038bda8 (strand: 0x560ab038bdd0, interaction [0x560ab038be08])
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45182 Priority=DEBUG Unloading provider OMI_Identify
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffd270a61d0 with interaction: (nil)->[0x7ffd270a6230]
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffd270a61d0 (strand: 0x7ffd270a61f8, interaction [0x7ffd270a6230])
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffd270a61d0 with interaction: (nil)->[0x7ffd270a6230]
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffd270a61d0 (strand: 0x7ffd270a61f8, interaction [0x7ffd270a6230])
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45183 Priority=DEBUG Unloading lib omiidentify
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40001 Priority=INFO sending 'agent-idle' notification to the server
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x560ab03889c0]<-0x560ab0389818
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45206 Priority=DEBUG Sending msg(0x560ab038dbd8:15:BinProtocolNotification:0) on own thread
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45154 Priority=DEBUG (U)Socket: 0x560ab0388950, All send
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40028 Priority=INFO (U)Socket: 0x560ab0388950, Connection Closed while reading header

2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45155 Priority=DEBUG (U)Protocol _RequestCallback: _RequestCallbackRead fails for ProtocolSocket 0x560ab0388950
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40012 Priority=INFO (U)Socket: 0x560ab0388950, closing connection (mask 2)
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40033 Priority=INFO Selector_RemoveHandler: selector=0x560ab00d3f58, handler=0x560ab0388950, name=BINARY_FROM_SOCKET
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45159 Priority=DEBUG (U)Protocol _RequestCallback: removing 0x560ab0388950 (mask 20, prev: a)
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (9)
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45054 Priority=DEBUG _ConnectionIn_Close: Closed on interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40000 Priority=INFO disconnected form server; exiting
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45065 Priority=DEBUG SelectorRun(Exit): 0x560ab00d3f58
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40034 Priority=INFO Selector_RemoveAllHandlers: selector=0x560ab00d3f58, handler=0x560ab00d3ec0, name=PROVMGR_TIMEOUT_MANAGER
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (3)
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (4)
2024/05/08 08:52:34 [453146,453146] INFO: null(0): EventId=40001 Priority=INFO sending 'agent-idle' notification to the server
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x560ab03889c0]<-0x560ab0389818
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45149 Priority=DEBUG (U)ProtocolSocket: Post for interaction [0x560ab03889c0]<-0x560ab0389818 FAILED
2024/05/08 08:52:34 [453146,453146] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x560ab0389818]<-0x560ab03889c0
2024/05/08 09:06:57 [461770,461770] INFO: null(0): EventId=40032 Priority=INFO Selector_AddHandler: selector=0x55871ecd3f58, handler=0x5587200e4950, name=BINARY_FROM_SOCKET
2024/05/08 09:06:57 [461770,461770] INFO: null(0): EventId=40032 Priority=INFO Selector_AddHandler: selector=0x55871ecd3f58, handler=0x55871ecd3ec0, name=PROVMGR_TIMEOUT_MANAGER
2024/05/08 09:06:57 [461770,461770] INFO: null(0): EventId=40003 Priority=INFO agent started; fd 9
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45005 Priority=DEBUG MessageFromBatch:- msg tag is 15, index: 15
2024/05/08 09:06:57 [461770,461770] INFO: null(0): EventId=40011 Priority=INFO (U)done with receiving msg(0x5587200e5678:15:BinProtocolNotification:1)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45373 Priority=DEBUG (U)Handle:(0x5587200e4950), ClientAuthState = 4, ServerAuthState = 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45057 Priority=DEBUG _ConnectionIn_Post: 0x5587200e5780 Post msg(0x5587200e5678:15:BinProtocolNotification:1) for interaction [0x5587200e5818]<-0x5587200e49c0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45055 Priority=DEBUG _ConnectionIn_FindRequest, Agent 0x5587200e5780(0x5587200e57e0), Cannot find key: 1 (may be new request)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45058 Priority=DEBUG _ConnectionIn_Post: New operation with operationId (0x1), msg (0x5587200e5678:BinProtocolNotification)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45151 Priority=DEBUG ProtocolSocket: Ack on interaction [0x5587200e49c0]<-0x5587200e5818
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45005 Priority=DEBUG MessageFromBatch:- msg tag is 4099, index: 3
2024/05/08 09:06:57 [461770,461770] INFO: null(0): EventId=40011 Priority=INFO (U)done with receiving msg(0x5587200e5ca8:4099:EnumerateInstancesReq:2)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45373 Priority=DEBUG (U)Handle:(0x5587200e4950), ClientAuthState = 4, ServerAuthState = 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45057 Priority=DEBUG _ConnectionIn_Post: 0x5587200e5780 Post msg(0x5587200e5ca8:4099:EnumerateInstancesReq:2) for interaction [0x5587200e5818]<-0x5587200e49c0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45055 Priority=DEBUG _ConnectionIn_FindRequest, Agent 0x5587200e5780(0x5587200e57e0), Cannot find key: 2 (may be new request)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45058 Priority=DEBUG _ConnectionIn_Post: New operation with operationId (0x2), msg (0x5587200e5ca8:EnumerateInstancesReq)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45151 Priority=DEBUG ProtocolSocket: Ack on interaction [0x5587200e49c0]<-0x5587200e5818
2024/05/08 09:06:57 [461770,461770] INFO: null(0): EventId=40039 Priority=INFO New request received: command=(EnumerateInstancesReq), namespace=(root/omi), class=(OMI_Identify)
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45173 Priority=DEBUG _GetProviderByClassName{OMI_Identify}
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffe1a194f80 with interaction: (nil)->[0x7ffe1a194fe0]
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffe1a194f80 (strand: 0x7ffe1a194fa8, interaction [0x7ffe1a194fe0])
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffe1a1957a0 with interaction: (nil)->[0x7ffe1a195800]
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffe1a1957a0 (strand: 0x7ffe1a1957c8, interaction [0x7ffe1a195800])
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x5587200e7da8 with interaction: 0x5587200e6508->[0x5587200e7e08]
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45073 Priority=DEBUG OperationOut: Ack on interaction [0x5587200e6508]<-0x5587200e7e08
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45181 Priority=DEBUG enumerate instances of OMI_Identify
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45063 Priority=DEBUG Context_PostMessageLeft_IoThread: 0x5587200e7da8
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45060 Priority=DEBUG _Context_Aux_PostLeft: 0x5587200e7dd0, thisAckPending: 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x5587200e49c0]<-0x5587200e5818
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45206 Priority=DEBUG Sending msg(0x5587200ea7d8:2:PostInstanceMsg:2) on own thread
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45154 Priority=DEBUG (U)Socket: 0x5587200e4950, All send
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x5587200e5818]<-0x5587200e49c0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45070 Priority=DEBUG Context: Ack on context 0x5587200e7dd0, interaction 0x5587200e6508->[0x5587200e7e08], (Transport Closed: ByThis: 0, ByOther: 0), tryingToPostLeft: 3
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45062 Priority=DEBUG _Context_Aux_PostLeft_Notify(IoThread): 0x5587200e7dd0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45063 Priority=DEBUG Context_PostMessageLeft_IoThread: 0x5587200e7da8
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45060 Priority=DEBUG _Context_Aux_PostLeft: 0x5587200e7dd0, thisAckPending: 0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x5587200e49c0]<-0x5587200e5818
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45206 Priority=DEBUG Sending msg(0x5587200ea3c8:4:PostResultMsg:2) on own thread
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45154 Priority=DEBUG (U)Socket: 0x5587200e4950, All send
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x5587200e5818]<-0x5587200e49c0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45070 Priority=DEBUG Context: Ack on context 0x5587200e7dd0, interaction 0x5587200e6508->[0x5587200e7e08], (Transport Closed: ByThis: 0, ByOther: 0), tryingToPostLeft: 3
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45062 Priority=DEBUG _Context_Aux_PostLeft_Notify(IoThread): 0x5587200e7dd0
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45075 Priority=DEBUG OperationOut: Close on interaction [0x5587200e6508]<-0x5587200e7e08
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45068 Priority=DEBUG _Context_Close: Close on context 0x5587200e7dd0, interaction 0x5587200e6508->[0x5587200e7e08]
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45069 Priority=DEBUG Context: 0x5587200e7dd0, finish called
2024/05/08 09:06:57 [461770,461770] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x5587200e7da8 (strand: 0x5587200e7dd0, interaction [0x5587200e7e08])
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45182 Priority=DEBUG Unloading provider OMI_Identify
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffe1a195e80 with interaction: (nil)->[0x7ffe1a195ee0]
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffe1a195e80 (strand: 0x7ffe1a195ea8, interaction [0x7ffe1a195ee0])
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45072 Priority=DEBUG Context: New context 0x7ffe1a195e80 with interaction: (nil)->[0x7ffe1a195ee0]
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45160 Priority=DEBUG post result from provider, 0
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45071 Priority=DEBUG Context: Destroy 0x7ffe1a195e80 (strand: 0x7ffe1a195ea8, interaction [0x7ffe1a195ee0])
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45183 Priority=DEBUG Unloading lib omiidentify
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40001 Priority=INFO sending 'agent-idle' notification to the server
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x5587200e49c0]<-0x5587200e5818
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45206 Priority=DEBUG Sending msg(0x5587200e9bd8:15:BinProtocolNotification:0) on own thread
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45154 Priority=DEBUG (U)Socket: 0x5587200e4950, All send
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x5587200e5818]<-0x5587200e49c0
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40028 Priority=INFO (U)Socket: 0x5587200e4950, Connection Closed while reading header

2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45155 Priority=DEBUG (U)Protocol _RequestCallback: _RequestCallbackRead fails for ProtocolSocket 0x5587200e4950
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40012 Priority=INFO (U)Socket: 0x5587200e4950, closing connection (mask 2)
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40033 Priority=INFO Selector_RemoveHandler: selector=0x55871ecd3f58, handler=0x5587200e4950, name=BINARY_FROM_SOCKET
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45159 Priority=DEBUG (U)Protocol _RequestCallback: removing 0x5587200e4950 (mask 20, prev: a)
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (9)
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45054 Priority=DEBUG _ConnectionIn_Close: Closed on interaction [0x5587200e5818]<-0x5587200e49c0
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40000 Priority=INFO disconnected form server; exiting
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45065 Priority=DEBUG SelectorRun(Exit): 0x55871ecd3f58
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40034 Priority=INFO Selector_RemoveAllHandlers: selector=0x55871ecd3f58, handler=0x55871ecd3ec0, name=PROVMGR_TIMEOUT_MANAGER
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (3)
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45355 Priority=DEBUG Sock_Close: sock (4)
2024/05/08 09:08:27 [461770,461770] INFO: null(0): EventId=40001 Priority=INFO sending 'agent-idle' notification to the server
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45148 Priority=DEBUG ProtocolSocket: Posting message for interaction [0x5587200e49c0]<-0x5587200e5818
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45149 Priority=DEBUG (U)ProtocolSocket: Post for interaction [0x5587200e49c0]<-0x5587200e5818 FAILED
2024/05/08 09:08:27 [461770,461770] DEBUG: null(0): EventId=45076 Priority=DEBUG ConnectionIn: Ack on interaction [0x5587200e5818]<-0x5587200e49c0
JumpingYang001 commented 6 months ago

@txolo99 after 1.8.1-0 and 1.9.0-0, only root user can query and start omiagent with scxadmin -start or scxadmin -restart. your logs and omi/scxadmin behavior looks as expected.

txolo99 commented 6 months ago

All the commands are executed as root but the problem persists:

# id
uid=0(root) gid=0(root) groups=0(root)

# scxadmin -restart
Trying to stop omi with systemctl
omi is stopped.
Trying to start omi with systemctl
omi is started.

# scxadmin -status
omiserver: is running
omiagent: is stopped
JumpingYang001 commented 6 months ago

@txolo99 any impact on SCOM side?

txolo99 commented 6 months ago

@txolo99 any impact on SCOM side?

No, I'm executing all the time the commands as root.

JumpingYang001 commented 6 months ago

@txolo99 by default below is good at the beginning, but if you query scx provider classes like /opt/omi/bin/omicli ei root/scx SCX_OperatingSystem and /opt/omi/bin/omicli ei root/scx SCX_Agent you will see more omiagent instances. that's by design.

# scxadmin -status
omiserver: is running
omiagent: is stopped
txolo99 commented 6 months ago
# /opt/omi/bin/omicli ei root/scx SCX_OperatingSystem
instance of SCX_OperatingSystem
{
    Caption=Debian GNU/Linux 11.0 (x86_64)
    Description=Debian GNU/Linux 11.0 (x86_64)
    [Key] Name=Linux Distribution
    EnabledState=5
    RequestedState=12
    EnabledDefault=2
    [Key] CSCreationClassName=SCX_ComputerSystem
    [Key] CSName=xxxxxxxxx
    [Key] CreationClassName=SCX_OperatingSystem
    OSType=36
    OtherTypeDescription=5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
    Version=11.0
    LastBootUpTime=20240417105217.000000+000
    LocalDateTime=20240513074116.401102+000
    CurrentTimeZone=120
    NumberOfLicensedUsers=0
    NumberOfUsers=2
    NumberOfProcesses=321
    MaxNumberOfProcesses=127791
    TotalSwapSpaceSize=10484732
    TotalVirtualMemorySize=26877932
    FreeVirtualMemory=8198844
    FreePhysicalMemory=1317416
    TotalVisibleMemorySize=16393200
    SizeStoredInPagingFiles=10484732
    FreeSpaceInPagingFiles=6881428
    MaxProcessMemorySize=0
    MaxProcessesPerUser=63895
    OperatingSystemCapability=64 bit
    SystemUpTime=2234954
}
# /opt/omi/bin/omicli ei root/scx SCX_Agent
instance of SCX_Agent
{
    Caption=SCX Agent meta-information
    Description=Release_Build - 20240228
    InstallDate=20240508110151.000000+000
    [Key] Name=scx
    VersionString=1.9.0-0
    MajorVersion=1
    MinorVersion=9
    RevisionNumber=0
    BuildNumber=0
    BuildDate=2024-02-28T00:00:00Z
    Architecture=x64
    OSName=Debian GNU/Linux
    OSType=Linux
    OSVersion=11.0
    KitVersionString=1.9.0-0
    Hostname=xxxxxxxx
    OSAlias=UniversalD
    UnameArchitecture=x86_64
    MinActiveLogSeverityThreshold=INFO
    MachineType=Virtual
    PhysicalProcessors=4
    LogicalProcessors=4
}
JumpingYang001 commented 6 months ago

now you check scxadmin -status, you will see 2 omiagent instances running.

txolo99 commented 6 months ago

now you check scxadmin -status, you will see 2 omiagent instances running.

Yes:

# scxadmin -status
omiserver: is running
omiagent: 2 instances running
JumpingYang001 commented 6 months ago

In normal SCOM case, SCOM will requests to omi with HTTPS WSMan request with 1270 port which has HTTPSPORT setting in /etc/opt/omi/conf/omiserver.conf file and there will be 1 or 2 omiagent process(s) be launched by omiserver/omiengine, in that case you needn't to run omicli commands.

txolo99 commented 6 months ago

In normal SCOM case, SCOM will requests to omi with HTTPS WSMan request with 1270 port which has HTTPSPORT setting in /etc/opt/omi/conf/omiserver.conf file and there will be 1 or 2 omiagent process(s) be launched by omiserver/omiengine, in that case you needn't to run omicli commands.

The parameter HTTSPORT is configured in that file but the omiagent processes don't start automatically:

# cat /etc/opt/omi/conf/omiserver.conf
# omiserver configuration file

##
## httpport -- listening port for the binary protocol (default is 5985)
##
httpport=0

##
## httpsport -- listening port for the binary protocol (default is 5986)
##
httpsport=0,1270

##
## idletimeout -- idle providers unload timeout in seconds (defualt is 90)
##
#idletimeout=TIMEOUT

##
## loglevel -- set the loggiing options for MI server
##   Valid options are: ERROR, WARNING, INFO, DEBUG, VERBOSE (debug builds only)
##   If commented out, then default value is: WARNING
##
loglevel = DEBUG

##
## NtlmCredsFile -- credentials file for NTLM authentication
##
## To enable NTLM authentication via negotiation (SPNEGO), specify the
## location of the credentials file. This file is in the form:
##
##   <domain>:<username>:<password>
##
## For further information, please see: https://github.com/Microsoft/omi/blob/master/Unix/doc/setup-ntlm-omi.md
##
#NtlmCredsFile=/etc/opt/omi/.creds/ntlm

##
##  Settings for omi-related directory and file paths.
##  You can modify below default path value to other location.
##

## omi log folder and log file
#logdir=/var/opt/omi/log
#logfile=/var/opt/omi/log/omiserver.log

##
## The cert and its private key for TLS/SSL communication
## pemfile -- The certificate to use for TLS/SSL communication
##     For pemfile, its owner is root user
## keyfile -- The private key that corresponds to the TLS/SSL certificate
##     To modify keyfile, make sure its owner is `omi:omi`:
##         run `chown omi:omi /yourpath/omikey.pem`
##
#pemfile=/etc/opt/omi/ssl/omi.pem
#keyfile=/etc/opt/omi/ssl/omikey.pem

##
## This section is for security protocol settings
##   NoSSLv2: When it is true, the SSLv2 protocol is disabled.
##   NoSSLv3: When it is true, the SSLv3 protocol is disabled.
##   If NoSSLv2 and NoSSLv3 are both set to true, only TLS encryption will be negotiated.
##
#NoSSLv2=true
#NoSSLv3=false

# Enabling this will cause each provider to run under it's own omiagent
# process. This will take considerably more memory, but is useful for
# diagnosing omiagent cores due to a provider fault. Setting of `true`
# means that each provider runs under it's own omiagent process.
#agentDebugging=false

# List of authorized and unauthorized user groups, separated by commas.
# Both local and domain groups can be listed.  For example:
#    AuthorizedGroups=SCX\scx local admins, SCX\domain users, adm
#    UnauthorizedGroups=games
# If both parameters are blank (default), authorization checks are not
# performed. For more info, see
# https://github.com/Microsoft/omi/tree/master/Unix/doc/allow-deny-handling.md
#AuthorizedGroups=
#UnauthorizedGroups=
JumpingYang001 commented 6 months ago

that means your SCOM doesn't discover current box. do you see the current box agent status on SCOM console?

txolo99 commented 6 months ago

that means your SCOM doesn't discover current box. do you see the current box agent status on SCOM console?

The status on SCOM is not good, and does not seem to connect with the agent.

In other server with less version of the agent I could see three instances of the omiagent:

# scxadmin -status
omiserver: is running
omiagent: 3 instances running

May be another process still to be started?

JumpingYang001 commented 6 months ago

on your other server , you can run ps -ef|grep omiagent to check the 3 omiagent instances. that should be fine.

For the not good status agent, you need to discover it then it will be there on your SCOM console.

txolo99 commented 6 months ago

In other server the output is:

# ps -ef | grep omiagent
omi         1725    1255  0 Mar15 ?        00:02:32 /opt/omi/bin/omiagent 12 14 --destdir / --providerdir /opt/omi/lib --loglevel WARNING
root        1906    1255  0 Mar15 ?        00:41:06 /opt/omi/bin/omiagent 12 14 --destdir / --providerdir /opt/omi/lib --loglevel WARNING
scxmon      2340    1255  0 Mar15 ?        00:02:53 /opt/omi/bin/omiagent 12 14 --destdir / --providerdir /opt/omi/lib --loglevel WARNING
root     1268763  661828  0 09:08 pts/0    00:00:00 grep --color=auto omiagent

I've deleted the agent on SCOM console (without deinstall), but in the pending agents doesn't appear.

JumpingYang001 commented 6 months ago

delete the agent will not affect Linux agent box, that doesn't uninstall the scx agent on Linux box. for non-discover Linux box, they will keep what they are, as they are not connected to SCOM.

txolo99 commented 6 months ago

In this server the result is ok but in other when I'm trying to detect that server on the SCOM console always throws this error:

Unexpected DiscoveryResult.ErrorData type.  Please file bug report.
ErrorData: System.NullReferenceException
Referencia a objeto no establecida como instancia de un objeto.
   en System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout)
   en System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
   en Microsoft.SystemCenter.CrossPlatform.ClientActions.DefaultDiscovery.InvokeWorkflow(IManagedObject managementActionPoint, DiscoveryTargetEndpoint criteria, IInstallableAgents installableAgents)

I've followed this link but whithout success.

txolo99 commented 6 months ago

In this server the result is ok but in other when I'm trying to detect that server on the SCOM console always throws this error:

Unexpected DiscoveryResult.ErrorData type.  Please file bug report.
ErrorData: System.NullReferenceException
Referencia a objeto no establecida como instancia de un objeto.
   en System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout)
   en System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
   en Microsoft.SystemCenter.CrossPlatform.ClientActions.DefaultDiscovery.InvokeWorkflow(IManagedObject managementActionPoint, DiscoveryTargetEndpoint criteria, IInstallableAgents installableAgents)

I've followed this link but whithout success.

I answer myself... There were old processes up, so I've killed them and started with scxadmin and then the SCOM console recognized it.

Thanks for everything

JumpingYang001 commented 6 months ago

good to know it works. :)