Registering VMware vSphere Replication to VMware vCenter Server fails with the error: The session is not authenticated
search cancel

Registering VMware vSphere Replication to VMware vCenter Server fails with the error: The session is not authenticated

book

Article ID: 338577

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Registering VMware vSphere Replication (VR) to VMware vCenter Server fails after the vCenter Server 5.5 upgrade.
  • Attempting to re-register vSphere Replication to vCenter Server fails.
  • In the hms.log located in /opt/vmware/log/hms on the appliance, you see an error similar to:

    inherited from com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated


Environment

VMware vSphere Replication 5.5.x

Cause

Resolution

To resolve this issue, add the service account credentials to the VMware vSphere Profile-Driven Storage Service used to start the VMware VirtualCenter Server service and the VMware VirtualCenter Management Webservices service.

Note: By default, the account used is Local System.

To change the service account for the vSphere Profile-Driven Storage Service:

  1. Log in to the vCenter Server machine.
  2. Click Start > Run, type services.msc, and click OK. The Services window opens.
  3. Locate the VMware VirtualCenter Server service. Make a note of the Log On As user account.
  4. Locate the VMware vSphere Profile-Driven Storage Service, the status should be Started/Automatic.
  5. Right-click the VMware vSphere Profile-Driven Storage Service and click Properties > Log On tab and select the radio button next to This Account. Change to use the same account used to run the vCenter Server service found in Step 3 and click OK.
  6. Restart the VMware vSphere Profile-Driven Storage service and VMware VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).