{"id":4776,"date":"2020-10-02T10:54:59","date_gmt":"2020-10-02T13:54:59","guid":{"rendered":"https:\/\/www.dbarj.com.br\/?p=4776"},"modified":"2020-10-02T10:54:59","modified_gmt":"2020-10-02T13:54:59","slug":"oci-21500-internal-error-code-arguments-kpcerecv-auth-9","status":"publish","type":"post","link":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/","title":{"rendered":"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []"},"content":{"rendered":"<p>Those days, for one of my customers, I was having a bizarre oracle connection error, where the Oracle Client connecting using sqlplus was calling a package procedure and this error was being returned:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">[user@machine ~]$ sqlplus \/@dbname\r\n\r\nSQL*Plus: Release 18.0.0.0.0 - Production on Thu Sep 10 00:07:43 2020\r\nVersion 18.3.0.0.0\r\n\r\nCopyright (c) 1982, 2018, Oracle. All rights reserved.\r\n\r\n\r\nConnected to:\r\nOracle Database 11g EE Extreme Perf Release 11.2.0.4.0 - 64bit Production\r\nWith the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,\r\nOLAP, Data Mining and Real Application Testing options\r\n\r\nSQL&gt; exec dwxp.p_xxxx;\r\nErrors in file :\r\nOCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []\r\n\r\n\r\n----- Call Stack Trace -----\r\ncalling call entry argument values in hex\r\nlocation type point (? means dubious value)\r\n-------------------- -------- -------------------- ----------------------------\r\nskgudmp()+171 call kgdsdst() 000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\nkgerinv_internal()+ call skgudmp() 000000000 ? 000000000 ?\r\n115 000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\nkgerinv()+40 call kgerinv_internal() 000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\nkgeasnmierr()+150 call kgerinv() 000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\nkpcerecv()+3828 call kgeasnmierr() 000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\nstart_thread()+209 call kpcerecv() 000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\n000000000 ? 000000000 ?\r\n\r\nCall stack signature: 0x8f11d4ecfccf723a\r\n\r\n\r\n\r\ncall stack performance statistics:\r\ntotal : 0.010000 sec\r\nsetup : 0.000000 sec\r\nstack unwind : 0.000000 sec\r\nsymbol translation : 0.010000 sec\r\nprinting the call stack: 0.000000 sec\r\nprinting frame data : 0.000000 sec\r\nprinting argument data : 0.000000 sec\r\n\r\n\r\n----- End of Call Stack Trace -----\r\n\r\nErrors in file :\r\nOCI-21500: internal error code, arguments: [kgepop: no error frame to pop to], [], [], [], [], [], [], []\r\nOCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []<\/pre>\n<p>As I was using a Oracle 18c client to connect on Oracle 11g, my first try was to use the 11g client so I would remove completely a possible compatible matrix issue from the table. However, the issue persisted.<\/p>\n<p>The biggest problem is that this issue was so <span style=\"text-decoration: underline;\"><strong>intermittent<\/strong><\/span> that was so hard do reproduce when we were together with Oracle Support in a call. And the worst thing is that even though this error was returned to the client, the package execution continued on the server side.<\/p>\n<p>Finally after +1 month of Oracle Support investigation, they came with a solution:<\/p>\n<pre class=\"\">I came across an internal bug where the client was getting similar errors when AQ_HA_NOTIFICATION is turned on on services.\r\nIn your scenario, this database hasAQ_HA_NOTIFICATION turned on and the rest of the databases- where the issue does not exhibit, does not have it turned on.\r\n\r\nCan you please turn off AQ_HA_NOTIFICATION for this service and monitor.\r\nYou can use dbms_service.modify_service to turn off AQ_HA_NOTIFICATION .\r\n<\/pre>\n<p>So the issue was finally fixed when we disable the AQ_HA_NOTIFICATION on the service.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">SQL&gt; execute dbms_service.modify_service( SERVICE_NAME =&gt; 'myservice', AQ_HA_NOTIFICATIONS =&gt; FALSE);<\/pre>\n<p>This one is not easy to spot on MOS or over the internet. Hope this helps if you face the same.<\/p>\n<b>Have you enjoyed? Please leave a comment or give a \ud83d\udc4d!<\/b>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-4776 jlk' href='javascript:void(0)' data-task='like' data-post_id='4776' data-nonce='de4404f630' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-4776 lc'>+1<\/span><\/a><\/div><\/div> <div class='status-4776 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Those days, for one of my customers, I was having a bizarre oracle connection error, where the Oracle Client connecting using sqlplus was calling a package procedure and this error was being returned: [user@machine ~]$ sqlplus \/@dbname SQL*Plus: Release 18.0.0.0.0 &#8211; Production on Thu Sep 10 00:07:43 2020 Version 18.3.0.0.0 Copyright (c) 1982, 2018, Oracle. &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-4776","post","type-post","status-publish","format-standard","hentry","category-database-en","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], [] - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"How to solve the intermitent issue of &quot;OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []&quot;.\" \/>\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.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\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.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []\",\"datePublished\":\"2020-10-02T13:54:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/\"},\"wordCount\":181,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"articleSection\":[\"Oracle Database General\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/\",\"name\":\"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], [] - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#website\"},\"datePublished\":\"2020-10-02T13:54:59+00:00\",\"description\":\"How to solve the intermitent issue of \\\"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []\\\".\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2020\\\/10\\\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], [] - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"How to solve the intermitent issue of \"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []\".","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.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/","twitter_misc":{"Written by":"DBA RJ","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/#article","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/"},"author":{"name":"DBA RJ","@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []","datePublished":"2020-10-02T13:54:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/"},"wordCount":181,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"articleSection":["Oracle Database General"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/","url":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/","name":"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], [] - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/en\/#website"},"datePublished":"2020-10-02T13:54:59+00:00","description":"How to solve the intermitent issue of \"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []\".","breadcrumb":{"@id":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbarj.com.br\/en\/2020\/10\/oci-21500-internal-error-code-arguments-kpcerecv-auth-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbarj.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"OCI-21500: internal error code, arguments: [kpcerecv: auth], [9], [], [], [], [], [], []"}]},{"@type":"WebSite","@id":"https:\/\/www.dbarj.com.br\/en\/#website","url":"https:\/\/www.dbarj.com.br\/en\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbarj.com.br\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/4776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/comments?post=4776"}],"version-history":[{"count":2,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/4776\/revisions"}],"predecessor-version":[{"id":4778,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/4776\/revisions\/4778"}],"wp:attachment":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/media?parent=4776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/categories?post=4776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/tags?post=4776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}