none
2008 R2 file server, distribution manager access denied

    Question

  • I have recently migrating our main file server cluster over to 2008 r2 from 2003. Since this I have not been able to update packages in SCCM as Distribution Manager says that it is unable to access the files
    SMS Distribution Manager failed to access the source directory "\\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK" for package "LON00076". The operating system reported error 5: Access is denied.
    The sccm computer account is a member of domain admins and local administrators on the file server. As is the site system installation account which I have also configured. The share is full control to everyone and both the accounts mentioned have full control over the folder in ntfs permissions.
    The following spn's are set on the cluster
    HOST/ccmfp
    HOST/ccmfp.cheyne.local
    HOST/ccmfp$
    HOST/ccmfp$.CHEYNE
    Can anyone give me any pointers as to what to try next?

    Thanks

    Tim

    Friday, January 15, 2010 11:15 AM

Answers

All replies

  • That was the guide I was following to setup the site installation account. but no it doesn't seem to work.

    Tim
    Friday, January 15, 2010 11:45 AM
  • This is the distmgr.log
    Start updating the package LON00076... SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    CreatePackageSignature() called for Package LON00076 with version 5 with source as
    \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK. KeepUnpackedSignature = 1 SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK could not be located SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    RDC:Failed to create RDC signatures for source
    \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK for package LON00076 version 5. Error = 2 SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    Failed to generate hash of package LON00076 SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    ERROR: Failed to distribute the package, may not have access to the package source
    \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK. SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    STATMSG: ID=2307 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CCM-PRDSCCM01 SITE=LON PID=2804 TID=888 GMTDATE=Fri Jan 15 11:45:30.140 2010 ISTR0="
    \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK" ISTR1="LON00076" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="LON00076" SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CCM-PRDSCCM01 SITE=LON PID=2804 TID=888 GMTDATE=Fri Jan 15 11:45:30.140 2010 ISTR0="Office" ISTR1="LON00076" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="LON00076" SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    Failed to process package LON00076 after 62 retries, will retry 38 more times SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    Exiting package processing thread. SMS_DISTRIBUTION_MANAGER 1/15/2010 11:45:30 AM 888 (0x0378)
    Friday, January 15, 2010 11:49 AM
  • ERROR: Failed to distribute the package, may not have access to the package source \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK

    Open a cmd on the siteserver in SYSTEM context and check if you can access that directory (using dir "\\ccmfp\Deploy" etc).  That might bring up an error messages that could help getting the real cause of the error.
    Friday, January 15, 2010 12:49 PM
    Moderator
  • Using PSExec /s cmd.exe
    c:\Windows\System32>dir \\ccmfp\deploy
    Access is denied.

    C:\Windows\system32>net use * \\ccmfp\deploy
    The password is invalid for \\ccmfp\deploy.

    Enter the user name for 'ccmfp':  System error 1223 has occurred.

    The operation was canceled by the user.

    Friday, January 15, 2010 1:23 PM
  • A couple of things I can think of...

    1) Has there been a time drift on the Site Server compared to the DC? From an elevated cmd prompt map a drive to a share (C$ if nothing else) on the DC then run net time /Domain:<yourdomainhereminustheanglebrackets> /set
    2) Retry Torsten's suggestion and see if you get the same result
    3) If you do get the same result I would reboot of the Site Server..
    4) After reboot repeat step 2 above
    5) If you again get the same result open a CSS incident

    Eric

    Friday, January 15, 2010 2:23 PM
    Moderator
  • None of these has solved it so far, I have raised with PSS and will revert with the answer when a solution is found.

    Tim

    Friday, January 15, 2010 4:34 PM
  • Hmm so as it turned out, it was caused by the migration. I had duplicate SPNs set for the cluster on the the old one which I renamed to name-old and the new one.
    We deleted the old cluster computer object and it all sprung into life.
    To a point
    I am now stuck with this
    The source for package LON00076 has changed or the package source needs to be refreshed, delete the package.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Failed to copy old source for package LON00076 for delta replication (2). Package will be fully recompressed.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    The Package Action is 1 and the Update Mask is 0.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Package LON00076 uses the compressed copy of the source directory.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Package LON00076 doesn't have a compressed copy of the source directory, starting the compression.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Use drive D for storing the compressed package.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    The size of package LON00076 is 919789 KBytes	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Starting to compress \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK to D:\_S Mhlv9.TMP for package LON00076	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Error reading file : 50!	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    CTool::CompressAndAppendFile failed, error = 2, win32 = 0, filename = (null)	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Cannot compress \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK to D:\_S Mhlv9.TMP, last failed file is , Win32 error = 0	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    STATMSG: ID=2309 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CCM-PRDSCCM01 SITE=LON PID=2736 TID=1904 GMTDATE=Mon Jan 25 16:05:46.434 2010 ISTR0="LON00076" ISTR1="\\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK" ISTR2="" ISTR3="D:\_S Mhlv9.TMP" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="LON00076"	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Cannot create the compressed copy of the package.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CCM-PRDSCCM01 SITE=LON PID=2736 TID=1904 GMTDATE=Mon Jan 25 16:05:46.450 2010 ISTR0="Office" ISTR1="LON00076" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="LON00076"	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Failed to process package LON00076 after 36 retries, will retry 64 more times	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Exiting package processing thread.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:46 PM	1904 (0x0770)
    Used 0 out of 7 allowed processing threads.	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:51 PM	4580 (0x11E4)
    Sleep 85 seconds...	SMS_DISTRIBUTION_MANAGER	1/25/2010 4:05:51 PM	4580 (0x11E4)
    
    Monday, January 25, 2010 4:06 PM
  • In the system context I can copy the whole directory without error using robocopy.
    Monday, January 25, 2010 4:23 PM
  • Any ideas about this compression problem?

    Tim
    Tuesday, January 26, 2010 10:00 AM
  • Hey Tim - I've looped in via email link to this post a couple of folks within the PG who might have a better idea than me on this question.
    Tuesday, January 26, 2010 3:10 PM
    Moderator
  • Hi Tim,

    Can you check when distmgr is attempting to do compression whether it manages to create any tmp file in the D:\ root directory?

    Starting to compress \\ccmfp\Deploy\Landesk\Microsoft\Office\Office-2007-VLK to D:\_S Mhlv9.TMP for package LON00076 SMS_DISTRIBUTION_MANAGER 1/25/2010 4:05:46 PM 1904 (0x0770)
    Error reading file : 50! SMS_DISTRIBUTION_MANAGER 1/25/2010 4:05:46 PM 1904 (0x0770)


    Thanks,

    Bhaskar
    Tuesday, January 26, 2010 4:13 PM
    Moderator
  • This is a Windows bug and there is a hotfix available for this and it happens when the site server OS is running Windows Vista or Windows Server 2008 and is attempting to read a file from a destination location that is not running these OSes.

    http://support.microsoft.com/default.aspx/kb/973278

    Can you try out the above hotfix and see if it resolves your issue?

    Thanks,

    Bhaskar

    Tuesday, January 26, 2010 7:51 PM
    Moderator
  • I had the same problem recently, the patch application solved the issue !

    Configuration :

    Site Server : Windows 2008 64 bits Std

    Source Packages : Windows 2008 R2 DataCenter

    • Proposed as answer by BBGMR Wednesday, October 03, 2012 6:50 AM
    • Unproposed as answer by BBGMR Wednesday, October 03, 2012 6:51 AM
    Wednesday, January 26, 2011 9:59 AM