Some users may experience issues accessing the case portal. For more information, please click here.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discovery task fails due to issue on MGSIPSCAN.exe

Jump to solution

Hi ,

We are on FNMS multitenant environment, i have upgraded the beacon to 2022R1 version. After upgrading the beacon, vcenter inventory rule fails at discovery stage. on checking the logs we received the below failure. It seems like there is some issue with mgsipscan.exe. i ran the mgsipscan command manually and got msvcr120.dll is missing. but the file is present on the c:\windows\system32 folder. attached is the error screenshot of mgsipscan.exe command. kindly check and assist us on fixing the issue.

 

2022-07-11 11:03:30,144 [iscovery.NMapDiscovery|IPScan] [INFO ] Command line for mgsipScan: -p T:22,80,135,139,161,443,445,U:22,135,139,161,445 -oX "C:\Windows\TEMP\ManageSoft\discovery\mgsipscan-t-2022711_11330-66b4e8206d-078e-476f-a7dc-4ebd82bd437f.xml" -PI -sS -sU 10.10.12.166 10.10.13.52
2022-07-11 11:03:30,160 [iscoveryActionExecuter|Async] [INFO ] Enumerating devices from store after DNS lookup
2022-07-11 11:03:30,160 [iscoveryActionExecuter|Async] [INFO ] Completed enumeration of devices from store after DNS lookup
2022-07-11 11:03:30,175 [iscovery.NMapDiscovery|IPScan] [ERROR] MgsIPScan exited with error -1073741515
2022-07-11 11:03:30,175 [ource.NMapDeviceSource|IPScan] [ERROR] Failed to perform an IP scan.
System.IO.FileNotFoundException: Could not find file 'C:\Windows\TEMP\ManageSoft\discovery\mgsipscan-t-2022711_11330-66b4e8206d-078e-476f-a7dc-4ebd82bd437f.xml'.
File name: 'C:\Windows\TEMP\ManageSoft\discovery\mgsipscan-t-2022711_11330-66b4e8206d-078e-476f-a7dc-4ebd82bd437f.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions

Let me know for any clarification.

Thank you

Sasi

2 Solutions

Please install x86 & x64 bit Visual C++ Redistributable Packages for Visual Studio 2013. Belo link can be use for it.

https://www.microsoft.com/en-in/download/details.aspx?id=40784

View solution in original post

ChrisG
Community Manager Community Manager
Community Manager

Here is an article that has been posted about the issue: Known Issue: mgsipscan.exe process may fail during discovery operation on beacon without the x86 (32 bit) Visual C++ Redistributable Package for Visual Studio 2013 installed (IOK-752777)

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

View solution in original post

0 Kudos
3 Replies

Please install x86 & x64 bit Visual C++ Redistributable Packages for Visual Studio 2013. Belo link can be use for it.

https://www.microsoft.com/en-in/download/details.aspx?id=40784

I think it is actually the x86 (32 bit) package that is relevant here. The x64 (64 bit) package isn't necessary (but shouldn't hurt having  it installed too).

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)
0 Kudos
ChrisG
Community Manager Community Manager
Community Manager

Here is an article that has been posted about the issue: Known Issue: mgsipscan.exe process may fail during discovery operation on beacon without the x86 (32 bit) Visual C++ Redistributable Package for Visual Studio 2013 installed (IOK-752777)

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)
0 Kudos