There are a couple of packages that are failing to create the codebase when the "NS.Package Refresh" scheduled task runs on the Symantec Management Platform (SMP) Server. Also, Package Servers show a "retrying" status for those packages.
The NS logs include entries like these:
Unable to refresh the codebase information for package: 'BDC' (374e1c49-4f58-4f5c-8d51-07a30f0dxxx)
Could not access the path for package: 'BDC' (374e1c49-4f58-4f5c-8d51-07a30f0dxxx), path=\\SMPserver.example.com\NSCap\bin\Deployment\BDC [System.UnauthorizedAccessException @ Altiris.NS.StandardItems] at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.<>c__DisplayClass24_0.<ValidatePackageForMdp>b__0() at Altiris.NS.StandardItems.SoftwareDelivery.AccPackageAreaExtensions.Execute(IAccPackageArea area, Action action) at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.DistributionPointsPackageArea.Enter(PackageItem pkgItem, Boolean snapshotOnly) at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.ManageDistributionPoints(PackageItem pkgItem, Boolean snapshotOnly, ICollection`1 agentGuids) at Altiris.NS.StandardItems.SoftwareDelivery.PackageItem.UpdateDistributionPoints() at Altiris.NS.StandardItems.SoftwareDelivery.PackageItem.OnSchedule(String identifier)
Access to path '\\SMPserver.example.com\NSCap\bin\Deployment\BDC' has been denied. [System.UnauthorizedAccessException @ Altiris.Common] at Altiris.Common.IO.LongPathDirectory.Exists(String path) at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.<>c__DisplayClass24_0.<ValidatePackageForMdp>b__0()
Exception logged from: at Altiris.NS.StandardItems.SoftwareDelivery.PackageItem.OnSchedule(String) at Altiris.NS.Scheduling.Schedule.Execute(Altiris.Profiling.CodeProfiling.CodeProfiler, System.Guid) at Altiris.NS.Scheduling.Schedule.Execute(Altiris.NS.Security.SecurityContext, System.Guid) at Altiris.NS.Security.SecurityContext.ExecuteAsOwner(System.Collections.Generic.ICollection<System.Guid>, System.Guid, System.Action<Altiris.NS.Security.SecurityContext,System.Guid>, Int32, String, String) at Altiris.NS.Scheduling.Schedule.OnSchedule(String) at Altiris.NS.StandardItems.SoftwareDelivery.PackageRefreshSchedule.OnSchedule(String) at Altiris.NS.Scheduling.ScheduleService.ProcessScheduleImpl(String, Altiris.Profiling.CodeProfiling.CodeProfiler, Altiris.NS.Security.SecurityContext, System.Guid) at Altiris.NS.Scheduling.ScheduleService+<>c__DisplayClass0_1.<ProcessSchedule>b__0(Altiris.NS.Security.SecurityContext) at Altiris.NS.Security.SecurityContext+<>c__DisplayClass46_0.<ExecuteAsOwner>b__1(Altiris.NS.Security.SecurityContext) at Altiris.NS.Security.SecurityContext.ExecuteAs<T,TK>(Altiris.NS.Security.EExecuteAs, TK, System.Func<TK,Altiris.NS.Security.SecurityContext>, System.Func<Altiris.NS.Security.SecurityContext,T>) at Altiris.NS.Scheduling.ScheduleService.ProcessSchedule(String) at Altiris.NS.Scheduling.ScheduleService.ProcessScheduleWithCleanup(String, Boolean) at Altiris.Diagnostics.RemoteControl.ScheduleServiceProxy.ProcessScheduleImpl(String, Boolean) at Altiris.Diagnostics.RemoteControl.ScheduleServiceProxy.ProcessScheduleThreadProc(Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object) at Altiris.Diagnostics.RemoteControl.ScheduleServiceProxy.ProcessSchedule(String, Boolean) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, Object[], Object, Object[]&) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[]) at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage&) at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage&, System.Runtime.Remoting.Channels.ITransportHeaders&, System.IO.Stream&) at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage&, System.Runtime.Remoting.Channels.ITransportHeaders&, System.IO.Stream&) at System.Runtime.Remoting.MetadataServices.SdlChannelSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage&, System.Runtime.Remoting.Channels.ITransportHeaders&, System.IO.Stream&) at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object) at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow() at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult) at System.Net.LazyAsyncResult.Complete(IntPtr) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object) at System.Net.ContextAwareResult.Complete(IntPtr) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object, IntPtr) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
User [example\AltirisSrv], Auth [example\AltirisSrv], AppDomain [AeXSVC.exe]
-----------------------------------------------------------------------------------------------------Date: 9/29/2022 3:14:34 PM, Tick Count: 466710953 (5.09:38:30.9530000), Size: 6.68 KBProcess: AeXSvc (7264), Thread ID: 73, Module: Altiris.NS.StandardItems.dllPriority: 1, Source: Altiris.NS.StandardItems.SoftwareDelivery.PackageItem.OnSchedule
Could not access the path for package: 'BDC' (374e1c49-4f58-4f5c-8d51-07a30f0dxxx), path=\\SMPserver.example.com\NSCap\bin\Deployment\BDC [System.UnauthorizedAccessException @ ]
Access to path '\\SMPserver.example.com\NSCap\bin\Deployment\BDC' has been denied. [System.UnauthorizedAccessException @ Altiris.Common] at Altiris.Common.IO.LongPathDirectory.Exists(String path) at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.<>c__DisplayClass24_0.<ValidatePackageForMdp>b__0()
Exception logged from: at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport+<>c__DisplayClass24_0.<ValidatePackageForMdp>b__0() at Altiris.NS.StandardItems.SoftwareDelivery.AccPackageAreaExtensions.Execute(Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport+IAccPackageArea, Action) at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport+DistributionPointsPackageArea.Enter(Altiris.NS.StandardItems.SoftwareDelivery.PackageItem, Boolean) at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.ManageDistributionPoints(Altiris.NS.StandardItems.SoftwareDelivery.PackageItem, Boolean, System.Collections.Generic.ICollection<System.Guid>) at Altiris.NS.StandardItems.SoftwareDelivery.PackageItem.UpdateDistributionPoints() at Altiris.NS.StandardItems.SoftwareDelivery.PackageItem.OnSchedule(String) at Altiris.NS.Scheduling.Schedule.Execute(Altiris.Profiling.CodeProfiling.CodeProfiler, System.Guid) at Altiris.NS.Scheduling.Schedule.Execute(Altiris.NS.Security.SecurityContext, System.Guid) at Altiris.NS.Security.SecurityContext.ExecuteAsOwner(System.Collections.Generic.ICollection<System.Guid>, System.Guid, System.Action<Altiris.NS.Security.SecurityContext,System.Guid>, Int32, String, String) at Altiris.NS.Scheduling.Schedule.OnSchedule(String) at Altiris.NS.StandardItems.SoftwareDelivery.PackageRefreshSchedule.OnSchedule(String) at Altiris.NS.Scheduling.ScheduleService.ProcessScheduleImpl(String, Altiris.Profiling.CodeProfiling.CodeProfiler, Altiris.NS.Security.SecurityContext, System.Guid) at Altiris.NS.Scheduling.ScheduleService+<>c__DisplayClass0_1.<ProcessSchedule>b__0(Altiris.NS.Security.SecurityContext) at Altiris.NS.Security.SecurityContext+<>c__DisplayClass46_0.<ExecuteAsOwner>b__1(Altiris.NS.Security.SecurityContext) at Altiris.NS.Security.SecurityContext.ExecuteAs<T,TK>(Altiris.NS.Security.EExecuteAs, TK, System.Func<TK,Altiris.NS.Security.SecurityContext>, System.Func<Altiris.NS.Security.SecurityContext,T>) at Altiris.NS.Scheduling.ScheduleService.ProcessSchedule(String) at Altiris.NS.Scheduling.ScheduleService.ProcessScheduleWithCleanup(String, Boolean) at Altiris.Diagnostics.RemoteControl.ScheduleServiceProxy.ProcessScheduleImpl(String, Boolean) at Altiris.Diagnostics.RemoteControl.ScheduleServiceProxy.ProcessScheduleThreadProc(Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object) at Altiris.Diagnostics.RemoteControl.ScheduleServiceProxy.ProcessSchedule(String, Boolean) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, Object[], Object, Object[]&) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[]) at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage&) at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage&, System.Runtime.Remoting.Channels.ITransportHeaders&, System.IO.Stream&) at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage&, System.Runtime.Remoting.Channels.ITransportHeaders&, System.IO.Stream&) at System.Runtime.Remoting.MetadataServices.SdlChannelSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage&, System.Runtime.Remoting.Channels.ITransportHeaders&, System.IO.Stream&) at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object) at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow() at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult) at System.Net.LazyAsyncResult.Complete(IntPtr) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object) at System.Net.ContextAwareResult.Complete(IntPtr) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object, IntPtr) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
User [example\AltirisSrv], Auth [example\AltirisSrv], AppDomain [AeXSVC.exe]
-----------------------------------------------------------------------------------------------------Date: 9/29/2022 3:14:34 PM, Tick Count: 466710953 (5.09:38:30.9530000), Size: 6.62 KBProcess: AeXSvc (7264), Thread ID: 73, Module: Altiris.NS.StandardItems.dllPriority: 2, Source: Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport+<>c__DisplayClass24_0.<ValidatePackageForMdp>b__0
ITMS 8.x
The account in use didn't have rights to the "share" mentioned in the error message.
Other reasons to explore are that the actual package file no longer exists or the location specified is no longer available.
The NS log entry related to this issue should show the folder path that can't be accessed, for example:
Unable to refresh the codebase information for package: 'BDC' (374e1c49-4f58-4f5c-8d51-07a30f0dxxx)
Could not access the path for package: 'BDC' (374e1c49-4f58-4f5c-8d51-07a30f0dxxx), path=\\SMPserver.domain.com\NSCap\bin\Deployment\BDC
It also should mention the reason why it can't access the package, like in this example:
Access to path '\\SMPserver.example.com\NSCap\bin\Deployment\BDC' has been denied.
Usually a reference of the account being used is the one having an issue accessing the mentioned folder or path should be present at the bottom of the log entry. For example:
User [example\AltirisSrv], Auth [example\AltirisSrv], AppDomain [AeXSVC.exe]
Try the following:
"Unable to refresh the codebase information for package: '"Package Name"' ({Package GUID} Could not access the package path." (KB 163729)