Synopsis
We installed a Flexera Inventory Agent onto a Windows Server 2008. After setting the correct registry setting for the uploading and downloading endpoint we started the ndtrack -t machine. The expectation was, that either tracker.log and uploader.log get any update on any activities. But nothing of that kind happened.
We checked further the incoming directory on the beacon and found a lot inventories not being processed to the master beacon.
The error message in the BeaconIIS.log is as follows:
2016-11-16 00:06:53,186 [ers.UploadRLController] [WARN ] An uploaded file C:\ProgramData\Flexera Software\Incoming\Inventories\administrator on zawhyperv-01 at 20161115T090739 (Full).ndi.gz already exists. The file will be replaced.
2016-11-16 00:06:53,186 [ers.UploadRLController] [ERROR] IOException error when saving file to disk.
System.IO.IOException: Der Prozess kann nicht auf die Datei "C:\ProgramData\Flexera Software\Incoming\Inventories\administrator on zawhyperv-01 at 20161115T090739 (Full).ndi.gz" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
bei Flexera.Beacon.HostIndependentWebService.Controllers.UploadRLController.SaveFileToDisk(Stream requestStream, String directoryName, String fileName)
In english: The process cannot access the file because another process is blocking it
Discussion
However checking the network connectivity again and Bitdefener the problem was solved. Either the Bitdefender wasn't really working properly and the firewall was supposed to have the rules in place.