While installing Clone of CA on system then it throws the error "Message":"Error in populating database: java.io.IOException: Failed to setup the replication"
Steps to Reproduce:
1. Setup CA with TLS enabled LDAP. 2. Clone CA with TLS enabled LDAP.
Actual results:
pkispawn : INFO ....... configuring PKI configuration data. pkispawn : ERROR ....... Exception from Java Configuration Servlet: 500 Server Error: Internal Server Error pkispawn : ERROR ....... ParseError: not well-formed (invalid token): line 1, column 0: {"Attributes":{"Attribute":[]},"ClassName":"com.netscape.cert srv.base.PKIException","Code":500,"Message":"Error in populating database: java.io.IOException: Failed to setup the replication for cloning."} pkispawn : DEBUG ....... Error Type: ParseError pkispawn : DEBUG ....... Error Message: not well-formed (invalid token): line 1, column 0 pkispawn : DEBUG ....... File "/usr/sbin/pkispawn", line 528, in main scriptlet.spawn(deployer) File "/usr/lib/python2.7/site-packages/pki/server/deployment/scriptlets/confi guration.py", line 363, in spawn json.dumps(data, cls=pki.encoder.CustomTypeEncoder)) File "/usr/lib/python2.7/site-packages/pki/server/deployment/pkihelper.py", line 3972, in configure_pki_data root = ET.fromstring(text) File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML parser.feed(text) File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed self._raiseerror(v) File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror raise err
Expected results:
Installation should be successful.
Additional info:
Ldap Instances are able to search database from master machine to clone machine and vice versa. In corresponding bug: * Created attachment 1165085 Master CA Config file.
akahat needs to provide additional info here for the Wiki page
Replying to [comment:3 mharmsen]:
Amol K 2016-08-02 05:12:34 EDT
Actually this bug is produced because of wrong ldap configuration. I resolved this issue.
Metadata Update from @akahat@redhat.com: - Issue set to the milestone: 1.0 TASKS
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2490
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)