Abhishek Joshi Learning SMS/SCCM/SQL 2005/2008

SMS and SCCM

September 2008 - Posts

Error sending DAV request. HTTP code 401, status 'Unauthorized'

Some of the systems were not scan for ITMU, when I have checked the subnets for these systems, I have clicked that It has been assosciated with the new distribution point. I went through DataTransferService.log, for 2 to 3 systems and I got a way towards accomplishment. The log was totally full of errors(As shown below). 

 I went to distribution point server, navigate to SMS_DP_SMS PKGD$ in the IIS and browse it. Though browsing was enable, but still it wasn't. When I have gone through security events on DP server, there were lot of failed logons from the systems which were not able to scan for ITMU. That's it! I have done following steps and it solved my problem.

1) Navigate to SMS_DP_SMSPKGD$ in IIS.

2) Right click, go to properties

3) Open a directory security tab and Edit the " Authentication and access control" 

4) It will open below window. I have just check " Integrated Windows authentication" and click ok. 

Share this post:                                       
While distributing a first pkg to a new DP ...How DistMgr.log will look like? and how will be the process of copying?
While distributing a first pkg to a new DP ...How DistMgr.log will look like? And how will be the process of copying?I have split the log so that it should be understandable.Everyone must be knowing SMSPKG<Driver letter>$ folder will not create until and unless you have not distributed any pkg to your New DP.

Following are the log file contains. Here some terms used as follows...

<New_DP_Server> ---- Server recently added as a DP.

<Site_Code>-------------- SMS site Code

<PKGID>------------------ Pkg which you have distributed to <New_DP_Server>

<Custom_Port>-------- On this Cutom port SMS is working (If your SMS site is working on Cutom port then it will show this entry)


Checking the DP folder path

Start updating the package on server ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\...

Attempting to add or update a package on a distribution point.

Established connection to ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\

The distribution point ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\ doesn't point to an existing path.

Checking the best drive from the available one

Enumerating disks to find best candidate.

IsPathSMSEligible() MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\C$\

IsPathSMSEligible() MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\D$\

The best drive for installing package on the distribution point ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\ is D:\

Share SMSPKGD$ does not exist on distribution point ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\

Creating SMSPKG<Drive Letter> folder

Try to create export SMSPKGD$ on ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\

The drive share is accessible.

Successfully created the directory for the export.

Successfully inserted SMSPKGD$ as an export to ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\

Creating Sub directory under SMSPKG<Drive Letter> folder

Attempting to create subdirectory <PKGID> under the export.

The export is accessible.

Successsfully created the package directory <PKGID>\ under the export.

Successfully created sub directory <PKGID> off MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\SMSPKGD$\

Setting up IIS

IISPortsList in the SCF is "<Custom_Port>".

Port = :80:

Adding Port = :80:

Adding Port = :<Custom_Port>:

Successfully updated the port list in IIS.

Successfully started the default website.

Installed ISAPI on <New_DP_Server>, copied E:\SMS\bin\i386\smsfileisapi.dll to \\<New_DP_Server>\ADMIN$\system32\inetsrv\smsfileisapi.dll

Successfully created application pool IIS://<New_DP_Server>/W3svc/AppPools/SMS Distribution Points Pool.

Successfully created the virtual directory SMS_DP_SMSPKGD$ for the physical path D:\SMSPKGD$.

Successfully added file extension C:\WINDOWS\system32\inetsrv\smsfileisapi.dll.

Successfully added application dependency SMS Distribution Point.

Checking free space and copying the pkg files

Get access to the package directory and the number of free bytes at that location.

Attempting to make an accessible connection to MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\SMSPKGD$\<PKGID>\, get its NOS path, and get its number of free bytes.

Start updating the package on server ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\...

Attempting to add or update a package on a distribution point.

No action specified for the package on server ["Display=\\<Central_Site_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<Central_Site_Server>\.

Established connection to MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\SMSPKGD$\<PKGID>\

Getting the NAL path's NOS equivalent.

The NOS path is \\<New_DP_Server>\SMSPKGD$\<PKGID>\

Getting the number of free bytes.

Established connection to ["Display=\\<New_DP_Server>\"]MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\

Enumerating disks to find best candidate.

The number of free bytes 31683208

Successfully made an accessible connection, got a NOS path, and, if requested, got the number of free bytes at this location.

IsPathSMSEligible() MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\C$\

Successfully set access security on MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\SMSPKGD$\<PKGID>\ for package <PKGID>

Copying <Central Site Sever Source path>\Test.vbs to \\<New_DP_Server>\SMSPKGD$\<PKGID>\Test.vbs, OK

Successfully copied package <PKGID> from <Central Site Sever Source path> to MSWNET:["SMS_SITE=<Site_Code>"]\\<New_DP_Server>\SMSPKGD$\<PKGID>\

Successfully created/updated the package server in the data source

Performing cleanup prior to returning.

Updating package info for package <PKGID>

Only retrying local DP update for package <PKGID>, no need to replicate package definition to child sites or DP info to parent site.

StoredPkgVersion (6) of package <PKGID>. StoredPkgVersion in database is 6.

Share this post: