The password for DCS database users changed and the DCS services will not start
search cancel

The password for DCS database users changed and the DCS services will not start

book

Article ID: 413250

calendar_today

Updated On:

Products

Data Center Security Server Advanced

Issue/Introduction

The passwords in SQL Studio for the DCS user accounts where changed and now the services will not start up.

Environment

DCS 6.10.x

Cause

Passwords for the users are encrypted and stored in the application.properties file. If a password is changed, you have to update the .properties file.

Resolution

Please stop the DCS Management and Communication Services on each DCS Manager where you need to change the password.

Check in SQL Studio and ensure that any users in question are not locked out.

From an admin command prompt, change to the management server tools folder
cd C:\Program Files\Symantec\Symantec Data Center Security\Server\Management\tools

Run the encryptor.bat to generate the encrypted string for the password

Detail on usage:
encryptor.bat
When prompted, enter the password you used for SQL

This will generate the encrypted string that you must put into the application.properties file 

Example:

C:\Program Files\Symantec\Symantec Data Center Security\Server\Management\tools>encryptor.bat
Please enter your password: Enter the password you used for the account
Encrypting "... redacted..."...
70000000000000000abcdefghijklmnopthisisnotrealexample1
C:\Program Files\Symantec\Symantec Data Center Security\Server\Management\tools>

The new encrypted password, in this example "70000000000000000abcdefghijklmnopthisisnotrealexample1" would then be put into the settings. (no quotes, just the password)
Path
C:\Program Files\Symantec\Symantec Data Center Security\Server\Management
File
application.properties
Section of the file 
spring.datasource.password=OLDENCRYPTEDSTRINGOLDENCRYPTEDSTRINGOLDENCRYPTEDSTRINGOLDENCRYPTEDSTRING

Enter the new encrypted password in the application.properties,save the file and then start the "Symantec Data Center Security Management Server" Service.
Repeat as necessary for all DCS Management Servers


If you have also changed the password for the Communication Service, which the username starts with dcs_agent_ops, you will have to run the tool again, to generate the encrypted password for that service.

For the Communication Server
Path
C:\Program Files\Symantec\Symantec Data Center Security\Server\Communication
Filename
application.properties

Section of the file
spring.datasource.password=OLDENCRYPTEDSTRINGOLDENCRYPTEDSTRINGOLDENCRYPTEDSTRINGOLDENCRYPTEDSTRING

Enter the new encrypted password in the application.properties,save the file and then start the "Symantec Data Center Security Communication Server" Service.
Repeat as necessary for all DCS Communication Servers