
anttimustonen asked a question.
Hi,
We cases that Snow Inventory Agent fails to start scan due to 'Running multiple instances of the scanjner on the same machine is not possible'. This happens both with 'Snowagent scan' and regular agent inventory schedule.
This happens on some Win Server 2008 R2 x64 machines. Attempted:
- Restarting Snowinventory agent service and running scans again
- Removing the Snow Inventory agent, deleting agent service and removing inventory agent folders
- Reinstalling the Snow inventory agent
What has not been attempted is restarting the server and we wish to avoid this to the last.
Snowagent.log has always the following lines on both scheduled and manually-intiated scans:
Starting scanner
2020-09-23T09:02:00+03:00; Trace; snowagent; win32\app.cpp; Scanner_wmain; A scan is currently in progress. Running multiple instances of the scanner on the same machine is not possible.
Are you able to confirm if on these 2008 R2 servers you have PowerShell 3 or greater installed?
I've seen this when it isn't.
The requirements state PS 3 or greater is needed.
They altered how the agent runs the included scripts to determine if PS3 was installed and if not supposedly not run the scripts. I've seen this work "some" of the time so may be something to try on this particular set of servers.
Hi, thanks for swift reply. You may be right. They have PS 2.0 installed, but to my understanding PS 3.0 is not a requirement. We've run many 6.5 fine with 2008 R2s on with PS version 2.0 also on my test setup with 2008 R2 with PS 2.0 no problems have arisen at least yet. Maybe requirements are a bit misleading then.
BR, Antti
Hi, many thanks for this info!
Essentially this sounds like more like a bug as you stated, with requirements stating a bit ambiguously:
"PowerShell scripting support: PowerShell 3 to PowerShell 5.1"