You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems it is running ok in debug with some issues but it cannot be started as service from Windows Services.
Windows 10 x64, and x32
Configured to use MTConnect spec 1.3
Thanks
Configuration search path: "D:\Program Files\Okuma\Okuma MT Connect Adapter" and "D:\Program Files\Okuma\Okuma MT Connect Adapter"
MTConnect Agent Version 2.0.0.2 - built on Wed May 25 16:42:41 2022
[2022-05-26 10:33:03.797083] [0x000057d0] [info] Loading configuration from: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg"
Loading configuration from:"D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg"2022-05-26T14:33:03.800080Z (0x000057d0) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig: Starting agent on port 5000
2022-05-26T14:33:03.806081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Failed to create DataItem: DataItem(): nativeUnits given, but no units
2022-05-26T14:33:03.806081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Unexpected element: DataItem
2022-05-26T14:33:03.807082Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Error parsing device: DataItem: nativeUnits given, but no units
2022-05-26T14:33:03.808081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Error parsing device: DataItems: Invalid element 'DataItem'
2022-05-26T14:33:03.817081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Cannot locate device name 'OKUMA.Machine.Adapter', trying default
2022-05-26T14:33:03.817081Z (0x000057d0) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Assigning default device OKUMA to adapter
2022-05-26T14:33:03.818081Z (0x000057d0) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: shdr: Adding adapter for OKUMA: OKUMA.Machine.Adapter
2022-05-26T14:33:03.824082Z (0x000057d0) [debug] MAIN->Agent::start->Connector::connect: Connecting to data source: localhost on port: 7878
2022-05-26T14:33:03.825082Z (0x000057d0) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_asset_update_rate, exiting metrics
2022-05-26T14:33:03.826082Z (0x000057d0) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_observation_update_rate, exiting metrics
2022-05-26T14:33:05.855621Z (0x0000174c) [info] Connector::connected: Connected with: 127.0.0.1:7878
2022-05-26T14:33:05.856622Z (0x0000174c) [debug] Connector::connected->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:05.861620Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:05.861620Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->Connector::startHeartbeats: (Port:2524)Received PONG, starting heartbeats every 10000ms
2022-05-26T14:33:05.862620Z (0x0000174c) [info] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->DataItemMapper.ShdrTokenMapper.operator->DataItemMapper.ShdrTokenMapper.mapTokensToDataItem: Could not find data item: B1actw
2022-05-26T14:33:15.871614Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:15.871614Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:15.872615Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:25.883702Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:25.884701Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:25.884701Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:35.890738Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:35.891697Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:35.892697Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:45.892724Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:45.893690Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:45.894689Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:55.909720Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:55.910734Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:55.910734Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:34:05.914297Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:34:05.914297Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:34:05.915297Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
^C
D:\Program Files\Okuma\Okuma MT Connect Adapter>
The text was updated successfully, but these errors were encountered:
hulinning2
changed the title
MTConnect Agent Win32, version 2.0.0.2, could be not running as service
MTConnect Agent Win32, version 2.0.0.2, could not be running as service
May 27, 2022
It seems it is running ok in debug with some issues but it cannot be started as service from Windows Services.
Windows 10 x64, and x32
Configured to use MTConnect spec 1.3
Thanks
Configuration search path: "D:\Program Files\Okuma\Okuma MT Connect Adapter" and "D:\Program Files\Okuma\Okuma MT Connect Adapter"
MTConnect Agent Version 2.0.0.2 - built on Wed May 25 16:42:41 2022
[2022-05-26 10:33:03.797083] [0x000057d0] [info] Loading configuration from: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg"
Loading configuration from:"D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg"2022-05-26T14:33:03.800080Z (0x000057d0) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig: Starting agent on port 5000
2022-05-26T14:33:03.806081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Failed to create DataItem: DataItem(): nativeUnits given, but no units
2022-05-26T14:33:03.806081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Unexpected element: DataItem
2022-05-26T14:33:03.807082Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Error parsing device: DataItem: nativeUnits given, but no units
2022-05-26T14:33:03.808081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->Agent::initialize->Agent::loadXMLDeviceFile: Error parsing device: DataItems: Invalid element 'DataItem'
2022-05-26T14:33:03.817081Z (0x000057d0) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Cannot locate device name 'OKUMA.Machine.Adapter', trying default
2022-05-26T14:33:03.817081Z (0x000057d0) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Assigning default device OKUMA to adapter
2022-05-26T14:33:03.818081Z (0x000057d0) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: shdr: Adding adapter for OKUMA: OKUMA.Machine.Adapter
2022-05-26T14:33:03.824082Z (0x000057d0) [debug] MAIN->Agent::start->Connector::connect: Connecting to data source: localhost on port: 7878
2022-05-26T14:33:03.825082Z (0x000057d0) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_asset_update_rate, exiting metrics
2022-05-26T14:33:03.826082Z (0x000057d0) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_observation_update_rate, exiting metrics
2022-05-26T14:33:05.855621Z (0x0000174c) [info] Connector::connected: Connected with: 127.0.0.1:7878
2022-05-26T14:33:05.856622Z (0x0000174c) [debug] Connector::connected->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:05.861620Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:05.861620Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->Connector::startHeartbeats: (Port:2524)Received PONG, starting heartbeats every 10000ms
2022-05-26T14:33:05.862620Z (0x0000174c) [info] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->DataItemMapper.ShdrTokenMapper.operator->DataItemMapper.ShdrTokenMapper.mapTokensToDataItem: Could not find data item: B1actw
2022-05-26T14:33:15.871614Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:15.871614Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:15.872615Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:25.883702Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:25.884701Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:25.884701Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:35.890738Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:35.891697Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:35.892697Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:45.892724Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:45.893690Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:45.894689Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:33:55.909720Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:33:55.910734Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:33:55.910734Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
2022-05-26T14:34:05.914297Z (0x0000174c) [debug] Connector::heartbeat: Sending heartbeat
2022-05-26T14:34:05.914297Z (0x0000174c) [debug] Connector::heartbeat->Connector::sendCommand: (Port:2524) Sending PING
2022-05-26T14:34:05.915297Z (0x0000174c) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:2524) Received a PONG for localhost on port 7878
^C
D:\Program Files\Okuma\Okuma MT Connect Adapter>
The text was updated successfully, but these errors were encountered: