Agents are unable to download packages from a package server even though SMP reports all packages are available for that site server
Last Updated March 07, 2013
Symantec Management Agents are unable to download packages from their site server. This is a unique situation in that the site server has all packages as "available" (per the agent's user interface) and the Symantec Management Platform (SMP) server also displays that site server with all packages available (per the SMP console at Settings > Notification Server > Site Server Settings and highlighting the respective site server from the site management tree). The agent attempting to dowload the package is receiving the following error message in the logs:
Error while downloading package: No package sources returned by server (-2147023728)
Even if the package server agent has downloaded all available packages into its local repository, it may not be providing download locations back to the SMP server for specific packages. The packages most likely to exhibit this behavior are those configured to download to an alternate location on the package server, especially if IIS is not installed or has been improperly configured on the site server.
To determine if your site server (package server) is experiencing this issue, first run though the following steps on the package server:
1. Open regedit and navigate to HKLM\Software\Altiris\Altiris Agent\Transport. Enter a path value for 'Capture Events Folder' such as C:\NSE_Capture. 2. Double-click on the Symantec Management Agent icon in the System Tray to open the user interface. From the Package Server tab, click on the button to 'Resend Package Status'. 3. From Windows Explorer, browse to the C:\NSE_Capture directory created in step 1 above. As the agent successfully sends information to the SMP server, the corresponding NSE file will also be captured in this directory. Note this directory may contain multiple NSE files and so it may become necessary to open several of them in order to find the package status NSE file. 4. Open the package status NSE file to determine if download locations are provided by the package server agent. Below is an example of a package status NSE file containing no download locations except for the last entry with a UNC share location. In this example, only the last package in the list contains will have a download location available for agents. 5. Clear the path provided in Step 1 above to stop the capture of NSE files.
It is important to know that the package server agent is responsible for sending its download location back to the SMP server, which in turn is stored in the Symantec_CMDB database. If no download locations are provided, then no source locations will be available for agents requiring the package.
If IIS is installed on the package server and no HTTP codebases are found in the package status NSE (as in the example above), verify that IIS has been configured properly. See TECH46601 and HOWTO77389 for common FAQ on package servers. One of the most common mistakes with IIS 7 is to forget to include ASP and IIS6 Management Compatibility options for the web server role. Once IIS is configured properly, restart the Symantec Management Agent service.
NOTE: Packages configured to download to an alternate location on package servers by default will only have HTTP codebases available from the package server unless the \\%COMPUTERNAME%\UNC_Share_Name is used for the alternate location. See HOWTO77389 section 2.6 - Packages stored in non-default locations. The Package Server agent will not create a shared folder for a package stored in a custom location so the share must already exist.