VMware VirtualCenter Server service fails to start with the error: The password for user account 'username' has expired
search cancel

VMware VirtualCenter Server service fails to start with the error: The password for user account 'username' has expired

book

Article ID: 343599

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • The VMware VirtualCenter Server service fails to start.
  • In the vpxd.log file on vCenter Server, you see an error similar to:

    The password for user account 'username' has expired. Failed to initialize VMware Virtual Center. Shutting down.

    where username is the account used by the VMware VirtualCenter Server service to connect to the SQL database used for vCenter Server.

  • Cannot log in to Single Sign-On using admin@system-domain.
  • In the Lookupserver.log file, you see entries similar to:

    Constructor threw exception; nested exception is com.vmware.vim.lookup.exception.StorageException: Error executing statement "Caused by: java.sql.SQLException: Login failed for user 'username'. Reason: The password of the account has expired"


Environment

VMware vCenter Server 5.5.x
VMware vCenter Server 5.1.x
VMware vCenter Server 4.0.x
VMware vCenter Server 5.0.x
VMware VirtualCenter 2.5.x

Cause

This issue occurs if the password for the account on the SQL database server used to connect to the vCenter Server database has expired. You must configure the account password, so that it is no longer expired.

Resolution

To resolve this issue, configure the account password:
Note: Before performing any database operations make a full backup of the database. Consult with the Database Administrator (DBA) before implementing any changes to the database configuration.
  1. Log in as an administrator using the appropriate SQL management utility to access the vCenter database server.
    • If you are using Microsoft SQL Server 2000, log in using SQL Enterprise Manager.
    • If using Microsoft SQL Server 2005, log in using SQL Management Studio.
    • If using Microsoft SQL Server 2005 Express, log in using SQL Server Management Studio Express.

      Note: SQL Server Management Studio Express can be downloaded from the Microsoft Download Center.

      The preceding link was correct as of March 24, 2014. If you find the link is broken, provide feedback and a VMware employee will update the article as necessary.

  2. Go to Security > Logins and select the account being used by the VirtualCenter Server service to connect to the vCenter database.

    Note: This is the account whose username is listed in the error in the vpxd.log.

  3. Right-click account and select Properties to view its Login Properties.
  4. Select the General page.
  5. Deselect Enforce password expiration.The password for the account is no longer expired.
  6. Exit from the SQL management utility.
  7. Start the VMware VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Note: To reset the password that the vCenter Server and ODBC connection uses, see vCenter Server installation fails with ODBC and DSN errors (1003928).


Additional Information

If you experience a problem where the VMware VirtualCenter Server service does not start and error is not displayed in the vpxd.log file, see Troubleshooting the VMware VirtualCenter Server service when it does not start or fails on vCenter Server (1003926).

Note: For vCenter Server 2.5, the vpxd.log files are stored at C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs.

How to stop, start, or restart vCenter Server services
Troubleshooting the vCenter Server service
vCenter Server installation fails with ODBC and DSN errors