Sessions fail or get stuck
Use this page when a session doesn't start, stays in a transitional status, or doesn't end cleanly. Each entry gives the symptom, the cause, and the fix.
Session actions run through the Action Service. Check the Action Service log first. See Log files and Start with the logs.
A session stays in Provisioning
Symptom: A session stays in the Provisioning status and never becomes active.
Cause: The services can't call the web service, or the NPS Rest URL ends with a trailing slash.
Fix:
- Select Configuration > Service Nodes, and confirm the Action and Scheduler services are online. See Services not running or not registered.
- Select System Settings > Services, and remove any trailing slash from NPS Rest URL. Click Save and Register Services. See Set the NPS REST URL and register services.
- Read the Action Service log for errors at the time of the request.
If the session stays in Provisioning after an upgrade, also see Troubleshoot installation and upgrade.
If provisioning finishes but takes more than 30 seconds, see Long Provisioning Times in Privilege Secure.
A session stays in Deprovisioning
Symptom: A session ends, but its status stays at Deprovisioning. The temporary account or group membership isn't removed. In Configuration > Service Nodes > Scheduler Service, the action queue shows the activity as Cancelling.
Fix: Check the Action Service log for the failed step. On Linux, see Linux deprovisioning fails because the account is still in use. For other targets, contact Netwrix Support with the Action Service log.
Linux deprovisioning fails because the account is still in use
Symptom: After a Linux session ends, the temporary user and the home directory remain, and the console shows an error. The log shows that userdel found the account still in use.
Cause: Deprovisioning ran before the user's processes finished ending. The command works a few seconds later.
Fix: Upgrade to 26.07.3 or later. From 26.07.3, the Linux remove-user step runs userdel -r up to 10 times, 3 seconds apart, until the account is gone. On an earlier release, the step runs userdel once. If the temporary account remains after the session ends, contact Netwrix Support with the Action Service log.
A bulk deprovision of many accounts can log a misleading error about removing a user from a group, even though the user is removed. Check the target before you deprovision again.
The session request returns "Unable to find policy"
Symptom: A user requests a session and gets the message "Unable to find policy for activity: <activity>, with resource: <resource>. Contact the NPS Administrator to request access." For a session on a credential, the message says "with credential: <credential>" instead of the resource.
Cause: No access policy includes the activity and applies to both the user and the resource. If more than one policy matches, Privilege Secure uses the first in alphabetical order by name.
Fix:
- Open the access policy that should grant the access. See Access policies.
- Confirm that it includes the activity named in the message.
- Confirm that the user, or a group or collection the user belongs to, is in the policy.
- Confirm that the resource is in the policy, either directly or through a resource collection. A collection that is tied to the resource's platform also matches. For a session on a credential, confirm that the credential is in the policy.
- Confirm that the policy is enabled. Disabled and deleted policies never match.
An error mentions a null PlatformID
If a scan or session fails with a null platform ID error, see Troubleshoot installation and upgrade.
Multifactor authentication rejects the code on the first attempts
Symptom: A user who connects with a Remote Desktop Protocol (RDP) file enters a valid multifactor authentication (MFA) code, and the console reports a wrong code. The code is accepted on the third or fourth attempt.
Fix: Ask the user to try again. Confirm that the Privilege Secure server and the user's device have synchronized clocks, for example with a network time protocol (NTP) source. The problem can occur without any clock drift.