The SMP Server (Symantec Management Platform) console shows one or more Package Server's packages as invalid, but the Package Server Console on the Package Server itself shows those same packages as ready. When you create a new test package and confirm the Package Server downloads it and marks it as available, the NS initially shows it as pending, then changes it to invalid once it receives the status report from the Package Server.
Symptoms
One or more of the following are present:
<event date='May 16 11:51:05' severity='2' hostName='xx100' source='CreateDirectoryPath' module='AeXNSAgent.exe' process='AeXNSAgent.exe' pid='724' thread='1740' tickCount='495844828' > <![CDATA[Cannot create directory: 0x80070005 [Access is denied] d:]]></event><event date='May 16 11:51:05' severity='2' hostName='xx100' source='EventTransport' module='AeXNSAgent.exe' process='AeXNSAgent.exe' pid='724' thread='1740' tickCount='495844843' > <![CDATA[Error while copying event to capture directory: Access is denied (-2147024891)]]></event>ITMS 8.x
Package Servers
The Package Server agent failed to apply the credentials configured in the SMP Console under:
Settings > Notification Server > Site Server Settings > Site Server Settings tree > Package Services > Package Service Settings > Security Settings
This prevents the Package Server from authenticating correctly when reporting package status back to the SMP Server, causing the SMP Server to mark those packages as invalid. A secondary cause is the configured credential account missing NTFS permissions on the Package Delivery directories, which prevents the agent from writing status files even if the credential is applied.
Understanding the credential flow helps identify where this failure occurs.
The NS stores the Package Service credential configuration centrally under: Settings > Notification Server > Site Server Settings > Package Services > Package Service Settings > Security Settings
Three credential options are available:
When a credential option is configured, the NS distributes it to Package Servers via the Client Settings Policy. The Package Server agent receives this policy, applies the credentials to its package delivery service, and then reports its package status back to the NS using an NSE file. The NS processes this NSE and updates the SWDPackageServer table. The console reads from this table to display package status.
Common failure points in this flow:
The NSE containing the status update fails to reach or be processed by the NS, leaving the SWDPackageServer table with stale invalid status even after the credential is corrected.
In order to address this issue:
Run Procedure 1 first. If the NS still shows packages as invalid after completing Procedure 1, continue to Procedure 2 to clear stale snapshot and status files.
Before you begin: Confirm which credential type is configured under Settings > Notification Server > Site Server Settings > Package Services > Package Service Settings > Security Settings. The steps below reset and re-apply whichever credential type is active.
Run this procedure only if Procedure 1 did not resolve the invalid status. This procedure manually re-synchronizes the snapshot files between the NS and the affected Package Servers.
Warning: Deleting snapshots on the NS causes all clients to download new versions of those snapshots on their next configuration update, which can generate significant IIS and network traffic. Delete only the snapshots for the affected packages, not all snapshots, unless all packages are affected.
On the SMP Server:
C:\ProgramData\Symantec\SMP\Snapshots\On each affected Package Server:
C:\ProgramData\Symantec\Symantec Agent\Package Delivery\
Delete the snapshot.xml file from each <GUID> subdirectory for the affected packages.
C:\ProgramData\Symantec\Symantec Agent\Package Server Agent\PackageStatus\
Delete the PackageStatus.xml file from each <GUID> subdirectory for the affected packages.
After completing either procedure:
SELECTvi.[Name] AS 'Package Server',pack.[Name] AS 'Package Name',ps.[Status] AS 'Status',pack.[Package Version] AS [Package Version on NS],ps.Version AS [Version Last Reported by PS],ps.[PackageId] AS 'Package GUID'FROM SWDPackageServer psJOIN vItem viON vi.[Guid] = ps.[PkgSvrId]JOIN SWDPackage packON pack.[PackageId] = ps.[PackageId]AND pack.[_Latest] = 1WHERE ps.[Status] != 'Ready'ORDER BY vi.[Name], ps.[Status]
A result set with no rows confirms all packages on the affected Package Servers are now reporting as Ready.