<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error while setting up PTA DR in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300254#M3773</link>
    <description>&lt;P&gt;thank you for sharing this with the community! @Pradeep Shetty​&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2025 07:14:56 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-05-22T07:14:56Z</dc:date>
    <item>
      <title>Error while setting up PTA DR</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300252#M3771</link>
      <description>&lt;P&gt;I'm getting below error while running &lt;A alt="https://setupPrimary.sh" href="https://setupPrimary.sh" target="_blank"&gt;setupPrimary.sh&lt;/A&gt; script in prewiz.log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;OS: RHEL 8.6&lt;/B&gt;&lt;/P&gt;&lt;P&gt;There is no firewall between two PTA servers. Network connectivity is working fine on all required ports. Also verified certificates are created as per the requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no error in dbsync logs and all files are getting replicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Followed attached article . Still issue not resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://community.cyberark.com/s/article/PTA-PTA-DR-replication-status-shows-STARTUP2" href="https://community.cyberark.com/s/article/PTA-PTA-DR-replication-status-shows-STARTUP2" target="_blank"&gt;https://community.cyberark.com/s/article/PTA-PTA-DR-replication-status-shows-STARTUP2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RUN_DIAGNOSTICS P092 Output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy00000WSwJZIA1.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/92315i9887C1E207B89589/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy00000WSwJZIA1.png" alt="Field_Content_versions_oct20__068Vy00000WSwJZIA1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;B&gt;Prepwiz.log:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Successfully ran Mongo script /opt/tomcat/utility/dr/internal/replicaset-add-secondary.js&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Attempt 1 of 20: Running Mongo script /opt/tomcat/utility/dr/internal/check-replicaset-status.js&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Attempt 2 of 20: Running Mongo script /opt/tomcat/utility/dr/internal/check-replicaset-status.js&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;…&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Attempt 20 of 20: Running Mongo script /opt/tomcat/utility/dr/internal/check-replicaset-status.js&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Error initializing Mongo replicaset. /opt/tomcat/utility/dr/internal/check-replicaset-status.js returned an error. In some cases this could just be the initial replication taking an extremely long time to complete. See details in /opt/mongodb/log/mongod.log on the Primary and Secondary servers&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;LOG | [2025-05-08|13:33:53.776|AEST] | ERROR | {aid=} | {sid=} | {rid=} | {tid=main} | com.cyberark.diamond.wizard.steps.SetupDRUtil.run(SetupDRUtil.java:127) - An Exception occured while running step SetupDRUtil.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;--------------------------------------------------------------------------------------------------------------------------------&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 05:43:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300252#M3771</guid>
      <dc:creator>pradeep_shetty2</dc:creator>
      <dc:date>2025-05-10T05:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while setting up PTA DR</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300253#M3772</link>
      <description>&lt;P&gt;&lt;B&gt;It was due the certificate of having OSCP URL and no network between the PTA and the OSCP. &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; There are a few solutions, ordered by preferability:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; 1. Add an exception to the network zone so that the certificates can be confirmed and validated as designed.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; 2. Update the certificate to not include the OCSP URL, so that cert validation checking is disabled via the certificate&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; 3. Adding ocspEnabled: false to /etc/mongod.conf may fix this issue, however upgrades to PTA will overwrite this, and it isn't advisable to turn off this security module.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; You would add the following to the end of /etc/mongod.conf (make sure there is a space before the ocspEnabled line so it is indented like the other lines in the file):&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; setParameter:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; ocspEnabled: false&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; &lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 01:54:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300253#M3772</guid>
      <dc:creator>pradeep_shetty2</dc:creator>
      <dc:date>2025-05-12T01:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while setting up PTA DR</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300254#M3773</link>
      <description>&lt;P&gt;thank you for sharing this with the community! @Pradeep Shetty​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 07:14:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300254#M3773</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-05-22T07:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error while setting up PTA DR</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300255#M3774</link>
      <description>&lt;P&gt;Thanks @Pradeep Shetty​&amp;nbsp; for the insights. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I perform option 1? &lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 08:20:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/error-while-setting-up-pta-dr/m-p/1300255#M3774</guid>
      <dc:creator>D.Akankwasa746747</dc:creator>
      <dc:date>2025-08-01T08:20:05Z</dc:date>
    </item>
  </channel>
</rss>

