Subscribe

why is connecting to a windows host failing

Set logging to debug. Out from log file:

 

OneCollect - 2017-11-21 16:56:21,725 - ERROR: 'Overriding PORT to 8044'
OneCollect - 2017-11-21 16:56:23,264 - INFO: 'Adding job tentatively -- it will be properly scheduled when the scheduler starts'
OneCollect - 2017-11-21 16:56:23,264 - INFO: 'Added job "post_metrics_asup" to job store "default"'
OneCollect - 2017-11-21 16:56:23,264 - INFO: 'Scheduler started'
OneCollect - 2017-11-21 16:56:23,265 - DEBUG: 'Looking for jobs to run'
OneCollect - 2017-11-21 16:56:23,265 - DEBUG: 'Next wakeup is due at 2017-11-22 12:00:00-05:00 (in 68616.734498 seconds)'
OneCollect - 2017-11-21 16:56:23,424 - DEBUG: 'Saving DB Object: Project object'
OneCollect - 2017-11-21 16:56:23,543 - ERROR: 'Overriding UPDATED to 1.2.1'
OneCollect - 2017-11-21 16:56:24,586 - WARNING: 'C:\Program Files\NetApp\OneCollect\django\db\models\fields\__init__.py:1474: RuntimeWarning: DateTimeField Version.last_notification received a naive datetime (2017-11-21 16:56:24.585884) while time zone support is active.
'
OneCollect - 2017-11-21 16:56:24,586 - WARNING: 'C:\Program Files\NetApp\OneCollect\django\db\models\fields\__init__.py:1474: RuntimeWarning: DateTimeField Version.next_notification received a naive datetime (2017-11-21 16:56:24.585884) while time zone support is active.
'
OneCollect - 2017-11-21 16:56:24,766 - INFO: 'Plugin 'E-Series' loaded'
OneCollect - 2017-11-21 16:56:24,853 - INFO: 'Plugin 'FlexArray' loaded'
OneCollect - 2017-11-21 16:56:24,966 - INFO: 'Plugin 'FlexPod' loaded'
OneCollect - 2017-11-21 16:56:25,063 - INFO: 'Plugin 'HA' loaded'
OneCollect - 2017-11-21 16:56:25,162 - INFO: 'Plugin 'MetroCluster' loaded'
OneCollect - 2017-11-21 16:56:25,283 - INFO: 'Plugin 'NetApp-HCI' loaded'
OneCollect - 2017-11-21 16:56:25,420 - INFO: 'Plugin 'ONTAP' loaded'
OneCollect - 2017-11-21 16:56:25,533 - INFO: 'Device 'Cisco Nexus Switch' loaded'
OneCollect - 2017-11-21 16:56:25,631 - INFO: 'Device 'Ethernet Switch' loaded'
OneCollect - 2017-11-21 16:56:25,705 - INFO: 'Device 'FC Switch' loaded'
OneCollect - 2017-11-21 16:56:25,795 - INFO: 'Device 'Host' loaded'
OneCollect - 2017-11-21 16:56:25,863 - INFO: 'Device 'Other Storage Controller' loaded'
OneCollect - 2017-11-21 16:56:25,939 - INFO: 'Device 'SnapCenter' loaded'
OneCollect - 2017-11-21 16:56:26,038 - INFO: 'Device 'Storage Controller' loaded'
OneCollect - 2017-11-21 16:57:19,619 - DEBUG: 'Saving DB Object: PageCount object'
OneCollect - 2017-11-21 16:57:20,937 - ERROR: 'Overriding NotificationFileVersion to 1.15'
OneCollect - 2017-11-21 16:57:32,031 - DEBUG: 'Running command 'sysconfig -a''
OneCollect - 2017-11-21 16:57:32,032 - DEBUG: 'Running command 'sysconfig -a''
OneCollect - 2017-11-21 16:57:32,035 - DEBUG: 'starting thread (client mode): 0x6d9fba8'
OneCollect - 2017-11-21 16:57:32,036 - DEBUG: 'Local version/idstring: SSH-2.0-paramiko_2.0.1'
OneCollect - 2017-11-21 16:57:32,036 - DEBUG: 'starting thread (client mode): 0x6d9fb70'
OneCollect - 2017-11-21 16:57:32,036 - DEBUG: 'Remote version/idstring: SSH-2.0-Data ONTAP SSH 1.0'
OneCollect - 2017-11-21 16:57:32,037 - DEBUG: 'Local version/idstring: SSH-2.0-paramiko_2.0.1'
OneCollect - 2017-11-21 16:57:32,037 - INFO: 'Connected (version 2.0, client Data)'
OneCollect - 2017-11-21 16:57:32,037 - DEBUG: 'Remote version/idstring: SSH-2.0-Data ONTAP SSH 1.0'
OneCollect - 2017-11-21 16:57:32,038 - INFO: 'Connected (version 2.0, client Data)'
OneCollect - 2017-11-21 16:57:32,038 - DEBUG: 'kex algos:['diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['3des-cbc'] server encrypt:['3des-cbc'] client mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none'] server compress:['none'] client lang:[''] server lang:[''] kex follows?False'
OneCollect - 2017-11-21 16:57:32,039 - DEBUG: 'Kex agreed: diffie-hellman-group1-sha1'
OneCollect - 2017-11-21 16:57:32,039 - DEBUG: 'kex algos:['diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['3des-cbc'] server encrypt:['3des-cbc'] client mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none'] server compress:['none'] client lang:[''] server lang:[''] kex follows?False'
OneCollect - 2017-11-21 16:57:32,039 - DEBUG: 'Cipher agreed: 3des-cbc'
OneCollect - 2017-11-21 16:57:32,039 - DEBUG: 'Kex agreed: diffie-hellman-group1-sha1'
OneCollect - 2017-11-21 16:57:32,039 - DEBUG: 'MAC agreed: hmac-md5'
OneCollect - 2017-11-21 16:57:32,039 - DEBUG: 'Cipher agreed: 3des-cbc'
OneCollect - 2017-11-21 16:57:32,040 - DEBUG: 'Compression agreed: none'
OneCollect - 2017-11-21 16:57:32,040 - DEBUG: 'MAC agreed: hmac-md5'
OneCollect - 2017-11-21 16:57:32,043 - DEBUG: 'Compression agreed: none'
OneCollect - 2017-11-21 16:57:32,068 - DEBUG: 'Running command 'sysconfig -a''
OneCollect - 2017-11-21 16:57:32,069 - DEBUG: 'Running command 'sysconfig -a''
OneCollect - 2017-11-21 16:57:32,070 - DEBUG: 'starting thread (client mode): 0x6d9ff28'
OneCollect - 2017-11-21 16:57:32,071 - DEBUG: 'starting thread (client mode): 0x6d9fa90'
OneCollect - 2017-11-21 16:57:32,071 - DEBUG: 'Local version/idstring: SSH-2.0-paramiko_2.0.1'
OneCollect - 2017-11-21 16:57:32,071 - DEBUG: 'Remote version/idstring: SSH-2.0-Data ONTAP SSH 1.0'
OneCollect - 2017-11-21 16:57:32,071 - INFO: 'Connected (version 2.0, client Data)'
OneCollect - 2017-11-21 16:57:32,071 - DEBUG: 'Local version/idstring: SSH-2.0-paramiko_2.0.1'
OneCollect - 2017-11-21 16:57:32,072 - DEBUG: 'Remote version/idstring: SSH-2.0-Data ONTAP SSH 1.0'
OneCollect - 2017-11-21 16:57:32,072 - INFO: 'Connected (version 2.0, client Data)'
OneCollect - 2017-11-21 16:57:32,121 - DEBUG: 'kex algos:['diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['3des-cbc'] server encrypt:['3des-cbc'] client mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none'] server compress:['none'] client lang:[''] server lang:[''] kex follows?False'
OneCollect - 2017-11-21 16:57:32,121 - DEBUG: 'Kex agreed: diffie-hellman-group1-sha1'
OneCollect - 2017-11-21 16:57:32,121 - DEBUG: 'Cipher agreed: 3des-cbc'
OneCollect - 2017-11-21 16:57:32,121 - DEBUG: 'MAC agreed: hmac-md5'
OneCollect - 2017-11-21 16:57:32,122 - DEBUG: 'Compression agreed: none'
OneCollect - 2017-11-21 16:57:32,125 - DEBUG: 'kex algos:['diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['3des-cbc'] server encrypt:['3des-cbc'] client mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none'] server compress:['none'] client lang:[''] server lang:[''] kex follows?False'
OneCollect - 2017-11-21 16:57:32,126 - DEBUG: 'Kex agreed: diffie-hellman-group1-sha1'
OneCollect - 2017-11-21 16:57:32,126 - DEBUG: 'Cipher agreed: 3des-cbc'
OneCollect - 2017-11-21 16:57:32,126 - DEBUG: 'MAC agreed: hmac-md5'
OneCollect - 2017-11-21 16:57:32,126 - DEBUG: 'Compression agreed: none'
OneCollect - 2017-11-21 16:57:32,151 - DEBUG: 'kex engine KexGroup1 specified hash_algo <built-in function openssl_sha1>'
OneCollect - 2017-11-21 16:57:32,152 - DEBUG: 'kex engine KexGroup1 specified hash_algo <built-in function openssl_sha1>'
OneCollect - 2017-11-21 16:57:32,152 - DEBUG: 'Switch to new keys ...'
OneCollect - 2017-11-21 16:57:32,152 - DEBUG: 'Switch to new keys ...'
OneCollect - 2017-11-21 16:57:32,153 - DEBUG: 'Adding ssh-rsa host key for 10.10.30.6: b'1410c2257ffb00029fc2558214e8646a''
OneCollect - 2017-11-21 16:57:32,153 - DEBUG: 'Adding ssh-rsa host key for 10.10.130.6: b'fa8395ec67b31f000fedd6facb38b021''
OneCollect - 2017-11-21 16:57:32,230 - DEBUG: 'kex engine KexGroup1 specified hash_algo <built-in function openssl_sha1>'
OneCollect - 2017-11-21 16:57:32,231 - DEBUG: 'Switch to new keys ...'
OneCollect - 2017-11-21 16:57:32,231 - DEBUG: 'Adding ssh-rsa host key for 10.10.30.5: b'456b10505313740e626f3f0d503de355''
OneCollect - 2017-11-21 16:57:32,243 - DEBUG: 'kex engine KexGroup1 specified hash_algo <built-in function openssl_sha1>'
OneCollect - 2017-11-21 16:57:32,243 - DEBUG: 'Switch to new keys ...'
OneCollect - 2017-11-21 16:57:32,244 - DEBUG: 'Adding ssh-rsa host key for 10.10.130.5: b'467c77fc475e9405c13c0f7188288220''
OneCollect - 2017-11-21 16:57:32,247 - DEBUG: 'userauth is OK'
OneCollect - 2017-11-21 16:57:32,249 - INFO: 'Authentication (password) successful!'
OneCollect - 2017-11-21 16:57:32,249 - DEBUG: '[chan 0] Max packet in: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,259 - DEBUG: '[chan 0] Max packet out: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,259 - DEBUG: 'Secsh channel 0 opened.'
OneCollect - 2017-11-21 16:57:32,260 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,261 - DEBUG: 'userauth is OK'
OneCollect - 2017-11-21 16:57:32,262 - INFO: 'Authentication (password) successful!'
OneCollect - 2017-11-21 16:57:32,262 - DEBUG: '[chan 0] Max packet in: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,263 - DEBUG: '[chan 0] Max packet out: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,263 - DEBUG: 'Secsh channel 0 opened.'
OneCollect - 2017-11-21 16:57:32,264 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,311 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,316 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,333 - DEBUG: 'userauth is OK'
OneCollect - 2017-11-21 16:57:32,335 - INFO: 'Authentication (password) successful!'
OneCollect - 2017-11-21 16:57:32,335 - DEBUG: '[chan 0] Max packet in: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,336 - DEBUG: '[chan 0] Max packet out: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,337 - DEBUG: 'Secsh channel 0 opened.'
OneCollect - 2017-11-21 16:57:32,338 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,346 - DEBUG: 'userauth is OK'
OneCollect - 2017-11-21 16:57:32,347 - INFO: 'Authentication (password) successful!'
OneCollect - 2017-11-21 16:57:32,348 - DEBUG: '[chan 0] Max packet in: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,349 - DEBUG: '[chan 0] Max packet out: 32768 bytes'
OneCollect - 2017-11-21 16:57:32,349 - DEBUG: 'Secsh channel 0 opened.'
OneCollect - 2017-11-21 16:57:32,350 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,389 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:32,401 - DEBUG: '[chan 0] Sesch channel 0 request ok'
OneCollect - 2017-11-21 16:57:33,688 - DEBUG: '[chan 0] EOF sent (0)'
OneCollect - 2017-11-21 16:57:33,722 - DEBUG: 'Variables: {}'
OneCollect - 2017-11-21 16:57:33,723 - DEBUG: 'EOF in transport thread'
OneCollect - 2017-11-21 16:57:34,110 - DEBUG: '[chan 0] EOF sent (0)'
OneCollect - 2017-11-21 16:57:34,216 - DEBUG: 'EOF in transport thread'
OneCollect - 2017-11-21 16:57:34,217 - DEBUG: 'Variables: {}'
OneCollect - 2017-11-21 16:57:35,034 - INFO: 'Executed 'sysconfig -a' on 10.10.130.6'
OneCollect - 2017-11-21 16:57:35,034 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on jay2a.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,034 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on jay2a.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,034 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on jay2a.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,034 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on jay2b.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,034 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on jay2b.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on jay2b.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on jaya.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on jaya.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on jaya.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on veeamproxy1.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on veeamproxy1.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on veeamproxy1.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - INFO: 'Executed 'sysconfig -a' on 10.10.130.5'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on tero8.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on tero8.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,035 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on tero8.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,036 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on jayb.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,036 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on jayb.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,036 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on jayb.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,036 - DEBUG: 'Failed executing 'Select * from Win32_ComputerSystem' on tero6.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,036 - DEBUG: 'Failed executing 'Select Name from Win32_ComputerSystem' on tero6.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,036 - DEBUG: 'Failed executing 'Select Caption from Win32_OperatingSystem' on tero6.oas.org. Error - Windows collector: unexpected exception - <class 'pywintypes.com_error'>, (-2147352567, 'Exception occurred.', (0, 'SWbemLocator', 'Access is denied. ', None, 0, -2147024891), None)'
OneCollect - 2017-11-21 16:57:35,385 - DEBUG: '[chan 0] EOF sent (0)'
OneCollect - 2017-11-21 16:57:35,434 - DEBUG: 'Variables: {}'
OneCollect - 2017-11-21 16:57:35,434 - DEBUG: 'EOF in transport thread'
OneCollect - 2017-11-21 16:57:35,465 - DEBUG: '[chan 0] EOF sent (0)'
OneCollect - 2017-11-21 16:57:35,507 - DEBUG: 'Variables: {}'
OneCollect - 2017-11-21 16:57:35,507 - DEBUG: 'EOF in transport thread'
OneCollect - 2017-11-21 16:57:38,037 - INFO: 'Executed 'sysconfig -a' on 10.10.30.6'
OneCollect - 2017-11-21 16:57:38,037 - INFO: 'Executed 'sysconfig -a' on 10.10.30.5'
OneCollect - 2017-11-21 16:57:38,212 - DEBUG: 'Saving DB Object: ValidationResponse object'

Re: why is connecting to a windows host failing

attaching log file.(same as in text)

Re: why is connecting to a windows host failing

Hi,

 

If you look at the WMI error code (-2147024891) in your logs it suggests that the user security context used to invoke the WMI query does not have access to the remote server.

 

https://msdn.microsoft.com/en-us/library/aa394559(v=vs.85).aspx

 

0x8007xxxx

Errors originating in the core operating system. WMI may return this type of error because of an external failure, for example, DCOM security failure.

 

 

WBEM_E_ACCESS_DENIED

2147749891 (0x80041003)

Current user does not have permission to perform the action.

 

https://msdn.microsoft.com/en-us/library/aa393720(v=vs.85).aspx

 

 

wbemErrAccessDenied - 2147749891 (0x80041003)

The current or specified user name and password were not valid or authorized to make the connection.

 

I'd assume the reason for the errors is the credentials you have provided to the application for collecting the logs doesn't have access to the remote host.

Did you check that the account has administrative permissions on the remote host?

 

/Matt

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: why is connecting to a windows host failing

Thanks. Not sure where to start. Got the same error using:

 

.\administrator

domain\user (a domain admin)

 

Maybe a service or something? we verified the firewall was off and not impeding (both the source and destination)

 

any ideas where to look/fix?

Re: why is connecting to a windows host failing

Hi,

 

I'm assuming the following systems are windows based operating systems?

 

jay2a.oas.org
jay2b.oas.org
jaya.oas.org
veeamproxy1.oas.org
tero8.oas.org
tero6.oas.org

 

If so did you check the account that you are using to run the application is a member of the local administrators group? (Should be by default if you are using a domain admin account)

 

/Matt

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: why is connecting to a windows host failing

all windows 2008 or higher.

 

both accoutns are able to RDP into the box. unable to use WMI.

Re: why is connecting to a windows host failing

Hi,

 

I would assume that some type of security hardening has been applied to those servers.

I'd try "comparing" the WMI DCOM security settings between a system of the same OS that works and one that doesn't to determine the difference

Some links to check related to WMI troublshooting...

 

https://msdn.microsoft.com/en-us/library/aa393266(v=vs.85).aspx

https://msdn.microsoft.com/en-us/library/aa822854(v=vs.85).aspx

https://technet.microsoft.com/en-us/library/cc771551(v=ws.11).aspx

https://msdn.microsoft.com/en-us/library/windows/desktop/aa394603(v=vs.85).aspx

 

If the configuration has been restricted then I'd be asking the server\application owner if the WMI security settings are required by the application running on the system.

 

You might also try the connecting remotely using powershell using same credentials as the application you are using to collect the logs. If you recieve the same error then try using different credentials of an administrator account on the remote system.

 

https://msdn.microsoft.com/en-us/library/ee309377(v=vs.85).aspx

 

/Matt

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.