This problem can happen due to a number of reasons as follows:
1. As a part of password rotation policy followed for security purpose, the password for Shareplex user in the database was changed by administrators. This renders entry in the paramdb file invalid. A Shareplex process makes connection to database using the username and password from paramdb file. The following is the sample entry where the password is encrypted:
SP_ORD_LOGIN_O.ILP "77bff9a39a0c36deb4362d"
SP_ORD_OWNER_O.ILP "SPLEX"
When Shareplex process attempts to make connection to the database using the invalid values for username/password from paramdb, it errors out with ORA-01017. The changes to password for Shareplex user should be done via ora_chpwd utility located in /proddir/bin directory and not directly by DBA users. This ensures that the paramdb file is updated with the value for password. The changes to username or password can also be done by running ora_setup.
Caution: For username change, one needs to take additional steps if there is currently replication happening on the system. Please consult Shareplex Admin Guide for details.
2. Duplicate entry for username in paramdb can cause this problem. Normally this should not happen if the username is entered via ora_setup. If done by editing paramdb directly, this can happen. The solution lies in removing the additional entry or remove all the entries for username/password and rerun ora_setup.
3. Incorrect setting of ORACLE_SID and ORACLE_HOME can also cause Shareplex to report this error. One should set the variables ORACLE_HOME, ORACLE_SID, SP_COP_UPORT, SP_COP_TPORT, SP_SYS_VARDIR, etc, correctly before starting Shareplex.