3 Replies Latest reply on Jan 6, 2016 5:49 AM by cwinning

    Cannot deploy package on remote server,it tries to copy the patch through another C$ share without enough permission

    Rookie


      Hi,

       

      The deployment of a patch on a server is failing, I think I found why but I don't know how to solve the issue

      The patch is well downloaded in the shavlik repository and the antivirus,firewall have been also disabled to do the test.

      Unfortunately the copy to the remote server doesn't work.

       

      After some investigation in the ST.Protect.Managed......@......log, I have find that the copy to the C:\Windows\Propatches is done through \\serverip\V1_C$\Windows\Propatches\Staged.......; and not as It is done normally through \\serverip\C$\Windows\Propatches\Staged...

       

      Effectively, this server has a second network share on the C: drive called V1_C$ and the permission are very limited

      I still doesn't know why it doesn't take the C$ as the admin share in place of the V1_C$.

       

      Any help would be great

       

      Yesterday I upgraded our Shavlik Protect to the 9.2 .4988 on a Windows 7 Enterprise SP1

       

      2016-01-05T11:43:14.5444726Z 0040 V CredentialUsageController.cs:228|Found valid default credential (CredentialPresenter.cs:237)

      2016-01-05T11:43:14.7004729Z 0001 W PatchDownloadPresenter.cs:368|TotalFileSizes is 0

      2016-01-05T11:43:24.5908902Z 0026 I PreparePatchDeployment.cs:90|Deployment template initialized (FMD, 4)

      2016-01-05T11:43:24.6064903Z 0038 I PreparePatchDeployment.cs:95|Deployment record created, DeploymentId = 1106

      2016-01-05T11:43:24.6220903Z 0038 I PreparePatchDeployment.cs:316|Test deployment seats.

      2016-01-05T11:43:24.6220903Z 0040 V PreparePatchDeployment.cs:132|Found 1 patch deploy receiver(s), yielding control

      2016-01-05T11:43:24.7624905Z 0001 I WorkItemController.cs:377|Started

      2016-01-05T11:43:24.7780906Z 0044 V WorkItemController.cs:389|Processing work items

      2016-01-05T11:43:24.7780906Z 0044 I WorkItemController.cs:395|Record initial machine deployment status starting

      2016-01-05T11:43:24.8560907Z 0038 I WorkItemController.cs:410|Record initial machine deployment status ended with status: 'Completed'

      2016-01-05T11:43:24.8560907Z 0038 I WorkItemController.cs:395|Download patches for deployment starting

      2016-01-05T11:43:24.8560907Z 0038 W WorkItemDownloadPatchesForDeployment.cs:150|There are no downloadable files for this deployment

      2016-01-05T11:43:24.8560907Z 0038 I WorkItemController.cs:410|Download patches for deployment ended with status: 'Completed'

      2016-01-05T11:43:24.8716907Z 0038 I WorkItemController.cs:395|Verify patch signatures starting

      2016-01-05T11:43:24.8872908Z 0044 V PatchDeploymentEntry.cs:365|FileSigned for IE8-WindowsServer2003-KB3074886-x86.exe is Found

      2016-01-05T11:43:24.8872908Z 0035 V WorkItemVerifyPatchSignatures.cs:154|deployable patch count is now 1

      2016-01-05T11:43:24.8872908Z 0035 I WorkItemController.cs:410|Verify patch signatures ended with status: 'Completed'

      2016-01-05T11:43:24.9028908Z 0035 I WorkItemController.cs:395|Patch deployment starting

      2016-01-05T11:43:26.8372942Z 0026 V AddressTester.cs:128|AddressTesterInternal created

      2016-01-05T11:43:27.1492947Z 0038 V ResolvableMachine.cs:233|Resolved by machine name 'XXXXXXXX' - XXX.XXX.XXX.XX, 10.66.216.77.

      2016-01-05T11:43:28.0072962Z 0044 V ResolvableMachine.cs:313|Machine name: XXXXXXXX, hostname: XXXXXXXX, NetBIOS name: XXXXXXXX, IP address: XXX.XXX.XXX.XX, name or address: XXXXXXXX, FQDN: XXXXXXXX, domain: WORKGROUP ping: 00:00:00.2652005.

      2016-01-05T11:43:28.0072962Z 0026 V AddressTester.cs:114|AddressTesterInternal disposed

      2016-01-05T11:43:28.0540963Z 0035 I PatchDeployment.cs:95|Starting machine name: XXXXXXXX.

      2016-01-05T11:43:53.9813419Z 0040 V MachineDeployment.cs:444|Copying file 'C:\Users\XXX\AppData\Local\Temp\221a4b9c-6877-4379-ad90-d6f947941ccb\deployPackage-13565.zip' to '\\XXXXXXXX\V1_C$\WINDOWS\ProPatches\Staged\2016-01-05-T-11-43-53\deployPackage-13565.zip'.

      2016-01-05T11:43:53.9969419Z 0040 E MachineDeployment.cs:462|Copy file failed C:\Users\XXX\AppData\Local\Temp\221a4b9c-6877-4379-ad90-d6f947941ccb\deployPackage-13565.zip: System.UnauthorizedAccessException: Access to the path '\\XXX.XXX.XXX.XX\V1_C$\WINDOWS\ProPatches\Staged\2016-01-05-T-11-43-53' is denied.

         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

         at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)

         at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)

         at ST.Deployment.Distribution.DeploymentFileOperations.CreateDirectory(String directoryPath)

         at ST.Deployment.Distribution.DeploymentFileOperations.CopyFileWithTracking(String sourceFile, String destinationFile)

         at ST.Deployment.Distribution.MachineDeployment.CopyFileInternal(TargetMachineConnection connection, DeploymentContext context, IDeploymentProgress progress, FileToCopy fileToCopy, DeploymentFileOperations fileOperations)

      2016-01-05T11:43:53.9969419Z 0040 E MachineDeployment.cs:561|Copy Files operation failed with access violation file - [\\XXX.XXX.XXX.XX\V1_C$\WINDOWS\ProPatches\Staged\2016-01-05-T-11-43-53\deployPackage-13565.zip]: System.UnauthorizedAccessException: Access to the path '\\XXX.XXX.XXX.XX\V1_C$\WINDOWS\ProPatches\Staged\2016-01-05-T-11-43-53' is denied.

         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

         at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)

         at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)

         at ST.Deployment.Distribution.DeploymentFileOperations.CreateDirectory(String directoryPath)

         at ST.Deployment.Distribution.DeploymentFileOperations.CopyFileWithTracking(String sourceFile, String destinationFile)

         at ST.Deployment.Distribution.MachineDeployment.CopyFileInternal(TargetMachineConnection connection, DeploymentContext context, IDeploymentProgress progress, FileToCopy fileToCopy, DeploymentFileOperations fileOperations)