Hello,
I perform fresh install of the Salt-minion 3000.5 and when I start the service after installation the status immediately change to Paused.
I tried to re-install the minion in different locations, to provide full access for Everyone on the Salt folder but without any results.
In Event log I see this error The description for Event ID 1034 from source nssm cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
salt-minion 1500 60000 Also from Salt log I see this 2025-03-18 13:10:14,718 [salt._logging.impl:1069][ERROR ][118212] An un-handled exception was caught by Salt's global exception handler: AttributeError: winmgmts:.Win32_ComputerSystem Traceback (most recent call last): File "wmi.py", line 1209, in __getattr__ File "wmi.py", line 1220, in _cached_classes File "<COMObject winmgmts:>", line 2, in Get File "win32com\client\dynamic.py", line 368, in _ApplyTypes_ result = self._oleobj_.InvokeTypes( pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'SWbemServicesEx', 'Not found ', None, 0, -2147217406), None) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "salt", line 118, in <module> File "salt", line 113, in redirect File "salt\scripts.py", line 186, in salt_minion minion.start() File "salt\cli\daemons.py", line 325, in start self._real_start() File "salt\cli\daemons.py", line 337, in _real_start self.minion.tune_in() File "salt\minion.py", line 1179, in tune_in self._spawn_minions() File "salt\minion.py", line 1109, in _spawn_minions minion = self._create_minion_object( File "salt\minion.py", line 1074, in _create_minion_object return Minion( File "salt\minion.py", line 1271, in __init__ self.opts["grains"] = salt.loader.grains(opts) File "salt\loader\__init__.py", line 1116, in grains ret = funcs[key]() File "salt\loader\lazy.py", line 149, in __call__ return self.loader.run(run_func, *args, **kwargs) File "salt\loader\lazy.py", line 1228, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "salt\loader\lazy.py", line 1243, in _run_as return _func_or_method(*args, **kwargs) File "C:\Program Files\Salt Project\Salt\bin\salt\grains\core.py", line 1840, in os_data grains.update(_windows_platform_data()) File "C:\Program Files\Salt Project\Salt\bin\salt\grains\core.py", line 1421, in _windows_platform_data systeminfo = wmi_c.Win32_ComputerSystem()[0] File "wmi.py", line 1211, in __getattr__ File "win32com\client\dynamic.py", line 639, in __getattr__ raise AttributeError("%s.%s" % (self._username_, attr)) AttributeError: winmgmts:.Win32_ComputerSystem
If I try to start the service the error is:
Windows could not resume the salt-minion service on Local Computer.
The service did not return error.
This could be an internal Windows error or an internal service error