{"id":42877,"date":"2026-02-17T08:11:00","date_gmt":"2026-02-17T07:11:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=42877"},"modified":"2026-02-17T10:41:38","modified_gmt":"2026-02-17T09:41:38","slug":"save-your-credential-store-before-patching-goldengate","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/","title":{"rendered":"Save your credential store before patching GoldenGate !"},"content":{"rendered":"\n<p>I recently had an issue with the GoldenGate <strong>credential store<\/strong> at a customer when patching a <strong>GoldenGate 19c<\/strong> setup with the <strong>latest 19.30 patch<\/strong>. Since it is not the first time that I have encountered this problem, I figured it would be worth doing some scripting around it. So what is the problem exactly ?<\/p>\n\n\n\n<p>When patching a GoldenGate installation and restarting it, we had the following error with the credential store: <code>OGG-30555  Timeout waiting for credential store wallet upgrade<\/code>. The <strong>patching corrupted GoldenGate credential store<\/strong>.<\/p>\n\n\n\n<p><strong>NB:<\/strong> You can apply the same method if you encounter the following error: <code>OGG-03556  Auto-login wallet conversion failed. Error: 29,105.<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GGSCI (vmogg) 1&gt; info credentialstore\n\nReading from credential store:\n\nSource Context\n  SourceModule            : &#091;ggsec.CCredentialStore]\n  SourcelD                : &#091;ggsec\/CCredentialStore.cpp]\n  SourceMethod            : &#091;load]\n  SourceLine              : &#091;352]\n  ThreadBacktrace         : &#091;15]\n...\n                          : &#091;\/lib64\/1ibc.so.6(__libc_start_main)]\n                          : &#091;.\/ggsci()]\n\n2026-02-12 14:49:32 ERROR   OGG-30555  Timeout waiting for credential store wallet upgrade.\n\n2026-02-12 14:49:32 ERROR   OGG-01668  PROCESS ABENDING.<\/code><\/pre>\n\n\n\n<p>I tried rolling back the patch, and the credential store was accessible. Applying the patch did break something, but how to solve this ?<\/p>\n\n\n\n<p>If you encounter this error, you have three possibilities:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you are in a hurry, just <strong>roll back the patch<\/strong>. Whenever I had this issue, rolling back the patch corrected the issue. After rolling back, I had access to the credential store again. This is just a temporary workaround, of course, but it&#8217;s better than stopping all your replication processes. For this specific patch, you can do it with <code>opatch rollback -id 38781237<\/code><\/li>\n\n\n\n<li>If you have the time, <strong>contact the Oracle Support<\/strong>. There might be a bigger problem here.<\/li>\n\n\n\n<li>Sometimes, <strong>recreating the credential store is the only solution<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>We will focus on the third option here, trying to <strong>rebuild the credential store<\/strong>. But of course, if you cannot access the credential store, it is hard to know what needs to be recreated. This is why you should always make a backup of the credential store before patching ! In our case, <strong>rolling back the patch gave back access to the credential store<\/strong>, so I could retrieve the entries.<\/p>\n\n\n\n<p>But because I was tired of encountering this issue, I made this script that will generate the instructions to recreate the credential store in case you have an issue when patching.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#!\/bin\/bash\n\nOGG_HOME=&quot;\/u01\/app\/oracle\/product\/ogg&quot;\nGGSCI=&quot;$OGG_HOME\/ggsci&quot;\ndomain=&quot;${1:-OracleGoldenGate}&quot;\nDEBUG=&quot;${DEBUG:-0}&quot;\n\nlog() {\n    &#x5B; &quot;$DEBUG&quot; -eq 1 ] &amp;&amp; printf &#039;%s\\n&#039; &quot;$*&quot; &gt;&amp;2\n}\n\nlog &quot;Processing domain: $domain&quot;\nlog &quot;Running: info credentialstore domain $domain&quot;\n\ndomain_output=&quot;$(\n    &quot;$GGSCI&quot; &lt;&lt;EOF\ninfo credentialstore domain $domain\nEOF\n)&quot;\n\nlog &quot;Raw output:&quot;\nlog &quot;$domain_output&quot;\n\ncommands=&quot;$(\n    awk -v dom=&quot;$domain&quot; &#039;\n    \/Alias:\/ {\n        alias = $2\n        getline\n        if ($1 == &quot;Userid:&quot;) {\n            user = $2\n            printf &quot;alter credentialstore add user %s alias %s domain %s\\n&quot;,\n                   user, alias, dom\n        }\n    }&#039; &lt;&lt;&lt; &quot;$domain_output&quot;\n)&quot;\n\nif &#x5B;&#x5B; -n &quot;$commands&quot; ]]; then\n    printf &#039;%s\\n&#039; &quot;$commands&quot;\nelse\n    log &quot;No aliases found in domain $domain&quot;\nfi\n<\/pre><\/div>\n\n\n<p>You just have to run the script to <strong>get the credential store recreation instructions<\/strong>. If you have one or more custom domains in your credential store, run the script with the custom domain as an argument.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; .\/recreate_credentialstore.sh\nalter credentialstore add user ggadmin@DB01.WORLD alias db01 domain OracleGoldenGate\nalter credentialstore add user ggadmin@DB02.WORLD alias db02 domain OracleGoldenGate\nalter credentialstore add user ggadmin@DB03.WORLD alias db03 domain OracleGoldenGate\nalter credentialstore add user ggadmin@DB04.WORLD alias db04 domain OracleGoldenGate<\/code><\/pre>\n\n\n\n<p>Or with a custom domain:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; .\/recreate_credentialstore.sh CustomDomain\nalter credentialstore add user ggadmin@DB01.WORLD alias CustomDomain<\/code><\/pre>\n\n\n\n<p>Once you have this backup plan organized, to get rid of the <code>OGG-30555<\/code> error after patching:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Stop all GoldenGate processes<\/li>\n\n\n\n<li>Backup your credential store files. In the classic architecture, they are located in <code>$OGG_HOME\/dircrd<\/code><\/li>\n\n\n\n<li>Patch your GoldenGate setup<\/li>\n\n\n\n<li>Recreate the credential store with the following commands<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>GGSCI (vmogg) 1&gt; drop credentialstore\n\nCredential store deleted.\n\nGGSCI (vmogg) 2&gt; info credentialstore\n\nReading from credential store:\n\nERROR: Unable to open credential store.\n\nGGSCI (vmogg) 3&gt; add credentialstore\n\nCredential store added.\n\nGGSCI (vmogg) 4&gt; alter credentialstore add user ggadmin@DB01.WORLD alias db01 password ***\n\nCredential store altered.\n\nGGSCI (vmogg) 5&gt; info credentialstore\n\nReading from credential store:\n\nDefault domain: OracleGoldenGate\n\n  Alias: db01\n  Userid: ggadmin@DB01.WORLD<\/code><\/pre>\n\n\n\n<p>Make sure to integrate this in your GoldenGate patching strategy to avoid being surprised with a corrupted GoldenGate credential store ! And of course, this is also valid for <a href=\"https:\/\/www.dbi-services.com\/blog\/goldengate-26ai-installation-and-new-administration-features\/\" target=\"_blank\" rel=\"noreferrer noopener\">GoldenGate 26ai<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently had an issue with the GoldenGate credential store at a customer when patching a GoldenGate 19c setup with the latest 19.30 patch. Since it is not the first time that I have encountered this problem, I figured it would be worth doing some scripting around it. So what is the problem exactly ? [&hellip;]<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3787,59],"tags":[2500,3850,328,3855,3853,3851,3033,735,2601,2786],"type_dbi":[3848,3849,3740,3856,3852,3854,3041,3858,3308,3857],"class_list":["post-42877","post","type-post","status-publish","format-standard","hentry","category-goldengate","category-oracle","tag-credential","tag-credentialstore","tag-goldengate","tag-ogg-30555","tag-recreate","tag-recreation","tag-store","tag-timeout","tag-upgrade-2","tag-wallet","type-credential","type-credentialstore","type-goldengate","type-ogg-30555","type-recreate","type-recreation","type-store","type-timeout","type-upgrade","type-wallet"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Save your credential store before patching GoldenGate ! - dbi Blog<\/title>\n<meta name=\"description\" content=\"Avoid getting stuck with OGG-30555 and a corrupted GoldenGate credential store by preparing a credential store recreation before patching.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Save your credential store before patching GoldenGate !\" \/>\n<meta property=\"og:description\" content=\"Avoid getting stuck with OGG-30555 and a corrupted GoldenGate credential store by preparing a credential store recreation before patching.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-17T07:11:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-17T09:41:38+00:00\" \/>\n<meta name=\"author\" content=\"Julien Delattre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Delattre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\"},\"author\":{\"name\":\"Julien Delattre\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e\"},\"headline\":\"Save your credential store before patching GoldenGate !\",\"datePublished\":\"2026-02-17T07:11:00+00:00\",\"dateModified\":\"2026-02-17T09:41:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\"},\"wordCount\":429,\"commentCount\":0,\"keywords\":[\"credential\",\"credentialstore\",\"GoldenGate\",\"ogg-30555\",\"recreate\",\"recreation\",\"store\",\"timeout\",\"upgrade\",\"wallet\"],\"articleSection\":[\"GoldenGate\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\",\"name\":\"Save your credential store before patching GoldenGate ! - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2026-02-17T07:11:00+00:00\",\"dateModified\":\"2026-02-17T09:41:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e\"},\"description\":\"Avoid getting stuck with OGG-30555 and a corrupted GoldenGate credential store by preparing a credential store recreation before patching.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Save your credential store before patching GoldenGate !\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"caption\":\"Julien Delattre\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Save your credential store before patching GoldenGate ! - dbi Blog","description":"Avoid getting stuck with OGG-30555 and a corrupted GoldenGate credential store by preparing a credential store recreation before patching.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/","og_locale":"en_US","og_type":"article","og_title":"Save your credential store before patching GoldenGate !","og_description":"Avoid getting stuck with OGG-30555 and a corrupted GoldenGate credential store by preparing a credential store recreation before patching.","og_url":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/","og_site_name":"dbi Blog","article_published_time":"2026-02-17T07:11:00+00:00","article_modified_time":"2026-02-17T09:41:38+00:00","author":"Julien Delattre","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julien Delattre","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/"},"author":{"name":"Julien Delattre","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"headline":"Save your credential store before patching GoldenGate !","datePublished":"2026-02-17T07:11:00+00:00","dateModified":"2026-02-17T09:41:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/"},"wordCount":429,"commentCount":0,"keywords":["credential","credentialstore","GoldenGate","ogg-30555","recreate","recreation","store","timeout","upgrade","wallet"],"articleSection":["GoldenGate","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/","url":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/","name":"Save your credential store before patching GoldenGate ! - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2026-02-17T07:11:00+00:00","dateModified":"2026-02-17T09:41:38+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"description":"Avoid getting stuck with OGG-30555 and a corrupted GoldenGate credential store by preparing a credential store recreation before patching.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/save-your-credential-store-before-patching-goldengate\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Save your credential store before patching GoldenGate !"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","caption":"Julien Delattre"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=42877"}],"version-history":[{"count":7,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42877\/revisions"}],"predecessor-version":[{"id":42978,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42877\/revisions\/42978"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=42877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=42877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=42877"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=42877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}