Replication shares NOT WORKING
I am not sure they have ever worked...
It seems that the shares are populated, and they seem to have everything required, but for some unknown reason, I still cannot run patching with a replication share involved! It works everytime when I set "Failover to K1000" or Disable the replication share, but it fails when the replication share is enabled and not set to failover.
I have checked passwords, usernames, different methods of typing in usernames, erased the entire share and let it rebuild, and even got support involved, but nothing has been able to resolve it. Anyone else ran across this?
The error I get is:
"error (Handshake Failed)"
I checked the debug logs and it says the following:
[Wed Sep 25 08:31:40 2013] DownloadSMBFile: unable to copy file from: '\\SERVER\nas_rep/repl2/dell/FOLDER01749242M/1/InvColPC_126.96.36.199.exe.23b61890c58d8b23274c3c1f65b4f939' to: 'C:\ProgramData\Dell\KACE\dell\InvColPC_188.8.131.52.exe': (1326) Logon failure: unknown user name or bad password.
I have also checked and the handshake.LST file comes from the K1000:
[Thu Nov 14 10:02:44 2013] DownloadFile: download with no speed limit [Thu Nov 14 10:02:44 2013] DownloadFile: Downloaded C:\ProgramData\Dell\KACE\patches\HANDSHAKE.LST.gz from http://K1000.domain.com/service/patchhandshake.php?kuid=577A79F4-756A-45A8-B103-BD4573358019&path=windows/ Download speed: 23000.000000 bytes/second
[Thu Nov 14 10:02:44 2013] pluginPatching: DownloadResource: download Required for 'C:\Program Files\Dell\KACE\windependencies.ospx' [Thu Nov 14 10:02:45 2013] DownloadSMBFile: unable to copy file from: '\\SERVER\nas_rep/repl2/patches/windependencies.ospx.e409b34955e77020d8dec9ca22214354' to: 'C:\Program Files\Dell\KACE\windependencies.ospx': (1326) Logon failure: unknown user name or bad password.
[Thu Nov 14 10:02:45 2013] pluginPatching: VerifyPartChecksum: Part file does not exist 'C:\Program Files\Dell\KACE\windependencies.ospx.part' [Thu Nov 14 10:02:45 2013] pluginPatching: DownloadPatchEssentials: failed to process '"windependencies.ospx""1""e409b34955e77020d8dec9ca22214354""2073242""smb://firstname.lastname@example.org@SERVER/nas_rep/repl2/patches/windependencies.ospx.e409b34955e77020d8dec9ca22214354"""' error 99
[Thu Nov 14 10:02:45 2013] pluginPatching: Failed to download and process patch essentials. [Thu Nov 14 10:06:37 2013] pluginPatching: kpiRecvPayload: adding message to the queue (queued messages=0) len=323 recv='HANDSHAKE http://K1000.domain.com/service/patchhandshake.php?kuid=577A79F4-756A-45A8-B103-BD4573358019 http://K1000.domain.com/service/kbot_upload.php?machineId=3046&filename=handshake.log.gz&checksum=849a2857a1d4e36c072c12fb83c5a226&mac=577A79F4-756A-45A8-B103-BD4573358019&patchscheduleid=31
Community Chosen Answer
I experienced a very similar issue with my 12 replication shares never completing successfully once I upgraded my K1000 to v5.5. The problem continued even after I upgraded to v6.0 My replication shares would either restart completely or the amount of files/data in the replication queue would fluctuate, increasing or decreasing randomly. Also, when attempting to perform a patch job on my desktops, it would fail with a "Error (Handshake Failed)" status.
I eventually resolved this issue on my own, even though I had worked with KACE support. In my replication share settings, under Destination Share > Path, I used a UNC path of \\ServerA\KACE_Share. I had a User and Password specified. The issue was resolved when I specified a local path of C:\KACE_Share (my replicating device was also storing the replicated data) with no Username and no Password (neither are needed for local paths). Once I made this change, my replications completed successfully and patching from replication shares had no errors. Specifying a UNC path was never an issue before v5.5 and KACE support made no mention of it when they reviewed my replication share settings.
I hope that writing about my experience saves someone else a lot of time.