Configuring the Crawler principal user password
Use the Contenta Password Manager utility (dbpwdmgr) to configure the Crawler principle user password.
On each Crawler server you must set the Crawler principle user (sysadmin) password for each database that the Crawler will index. To determine which databases the Crawler will index, run regedit to display the list of databases in the value DATABASES_TO_INDEX, found under the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\XyEnterprise\Contenta Crawler. (On Linux run fileregedit, like so: fileregedit list | grep -i DATABASES_TO_INDEX to see this value). Make sure you run dbpwdmgr on each Crawler server. Set the password for each of the database names in the registry value DATABASES_TO_INDEX. If you see databases ACME and APEX in DATABASES_TO_INDEX on the same computer, run dbpwdmgr to set the passwords for both databases. The only time that you do not need to set sysadmin password with dbpwdmgr is when your database uses the SDL default password for sysadmin.
From the command line run ContentaHome\bin\dbpwdmgr to change the sysadmin password for the Crawler.
The following examples shows how to run dbpwdmgr to set the sysadmin password.
Example 1
In this example, the sysadmin password for the database apex is being set for the first time using the create command.
C:\Program Files (x86)\XyEnterprise\Contenta\bin>dbpwdmgr
Type 'help' for a list of commands.
DBPWDMGR> create
Available options:
1 Configure Contenta database passwords
2 Configure LDAP principle account
3 Configure Crawler principle user password
4 Configure Contenta Web and Contenta Server trust key
r Return to command choices
Your choice:3
Proceeding to configure Crawler principle user password.
Press CTRL+C to exit the application.
Enter Contenta database name: apex
Enter NEW password: *******
Reenter NEW password: *******
Crawler principle user entry successfully modified.
Example 2
In this example, the database, acme, has previously had the sysadmin password set. The example shows how to change it using the modify command.
C:\Program Files (x86)\XyEnterprise\Contenta\bin>dbpwdmgr
Type 'help' for a list of commands.
DBPWDMGR> modify
Available options:
1 Configure Contenta database passwords
2 Configure LDAP principle account
3 Configure Crawler principle user password
4 Configure Contenta Web and Contenta Server trust key
r Return to command choices
Your choice:3
Proceeding to configure Crawler principle user password.
Press CTRL+C to exit the application.
Enter Contenta database name: apex
Enter EXISTING password : *******
Enter NEW password: *******
Reenter NEW password: *******
Crawler principle user entry successfully modified.
For more information about configuring passwords with the Contenta Password Manager utility, see Using the Contenta Password Manager utility in this documentation.