<?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>Question Re: Content Server- SQLConnect failed - Invalid Command State in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250353#M4587543</link>
    <description>&lt;P&gt;Hi brent I would like to clarify that the sdb and sqdsdb UID and GID are the same? and they are patterned to the Old Content Server?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 09:38:34 GMT</pubDate>
    <dc:creator>kathleen_a_sales</dc:creator>
    <dc:date>2021-03-09T09:38:34Z</dc:date>
    <item>
      <title>Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaq-p/12250344</link>
      <description>&lt;P&gt;Dear experts&lt;/P&gt;
  &lt;P&gt;Recently I have installed a SAP Content Server (7.53) with MaxDB 7.9 on SLES 15 SP1&lt;/P&gt;
  &lt;P&gt;When creating access the server info file, I get the following error:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1861805-h5snv.png" /&gt;&lt;/P&gt;
  &lt;P&gt;contRepStatus="offline";contRepStatusDescription="SQLConnect failed (DBPARAMETERS): [SAP AG][LIBSDBOD SO][SAP MaxDB] General error;-10210 Invalid command state (No prepared SQL command), ec=-10210, rc=-1&lt;/P&gt;
  &lt;P&gt;This is my cs.info file:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1861803-3xk6q.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Also when checking OAC0 I am able to connect to the repositories, but they are showing as offline.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1861802-au6xf.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1861804-ynwsf.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I am able to connect to the database in MaxDB studio and use SQL editor, so it's not an issue with accessing the database I think.&lt;/P&gt;
  &lt;P&gt;Help is appreciated.&lt;/P&gt;
  &lt;P&gt;Thanks in advance!&lt;/P&gt;
  &lt;P&gt;Kr,&lt;BR /&gt;Brent&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaq-p/12250344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-11-18T15:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250345#M4587535</link>
      <description>&lt;P&gt;Hi Brent, &lt;/P&gt;&lt;P&gt;Please try the below and let's see if it helps.&lt;/P&gt;&lt;P&gt;Add the below two entries alongwith others in cs.conf for each of the contRep.&lt;/P&gt;&lt;P&gt;AdminSecurity=0 &lt;/P&gt;&lt;P&gt;PSEDir=&amp;lt;path to security directory&amp;gt;&lt;/P&gt;&lt;P&gt;Restart the apache.&lt;/P&gt;&lt;P&gt;Go to tcode OAC0 and exchange the certificate. Confirm the same in CSADMIN
tcode.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 09:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250345#M4587535</guid>
      <dc:creator>sumitjais</dc:creator>
      <dc:date>2020-11-19T09:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250346#M4587536</link>
      <description>&lt;P&gt;Hi Sumit Jaiswal&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;As per SAP Content Server 7.5 some parameters are deprecated (https://launchpad.support.sap.com/#/notes/2786364)&lt;BR /&gt;PSEDir is obsolete as the repository certificates are now stored in the instance's security directory (SECUDIR).&lt;BR /&gt;AdminSecurity parameters are handled by the authentication handler in the profiles (icm/HTTP/auth_0).&lt;/P&gt;&lt;P&gt;I forgot to mention that this was a migration from a SAP Content Server 6.4. This issue has been resolved by adjusting the existing UID &amp;amp; GID of several DB owner accounts, which were unable to execute some SQL scripts.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Brent&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 08:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250346#M4587536</guid>
      <dc:creator>beernab</dc:creator>
      <dc:date>2020-11-21T08:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250347#M4587537</link>
      <description>&lt;P&gt;Thanks for the update Brent.&lt;/P&gt;&lt;P&gt;Glad to know that the issue got resolved.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 10:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250347#M4587537</guid>
      <dc:creator>sumitjais</dc:creator>
      <dc:date>2020-11-21T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250348#M4587538</link>
      <description>&lt;P&gt;Hi brent im having the same issues and we are doing the same thing how did you od this? can you please elaborate?&lt;/P&gt;&lt;P&gt;"This issue has been resolved by adjusting the existing UID &amp;amp; GID of several DB owner accounts, which were unable to execute some SQL scripts."&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250348#M4587538</guid>
      <dc:creator>kathleen_a_sales</dc:creator>
      <dc:date>2021-03-09T06:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250349#M4587539</link>
      <description>&lt;P&gt;Hi brent Im having the same issue can you please elaborate how you did this?&lt;/P&gt;&lt;P&gt;"This issue has been resolved by adjusting the existing UID &amp;amp; GID of several DB owner accounts, which were unable to execute some SQL scripts."&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250349#M4587539</guid>
      <dc:creator>kathleen_a_sales</dc:creator>
      <dc:date>2021-03-09T06:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250350#M4587540</link>
      <description>&lt;P&gt;how di you know whats the right UID and GID?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250350#M4587540</guid>
      <dc:creator>kathleen_a_sales</dc:creator>
      <dc:date>2021-03-09T06:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250351#M4587541</link>
      <description>&lt;P&gt;Hi Kathleen&lt;/P&gt;&lt;P&gt;Are you performing a clean install? For me this was a migration from an existing Content Server.&lt;BR /&gt;I've checked the old user &amp;amp; group id and made sure it was the same for the database software owner (sdb) &amp;amp; instance software owner (SIDsdb)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1901580-vsxvu.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1901581-qoyxx.png" /&gt;&lt;/P&gt;&lt;P&gt;You can also set this for SIDadm user.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://www.thegeekdiary.com/how-to-correctly-change-the-uid-and-gid-of-a-user-group-in-linux/" target="test_blank"&gt;https://www.thegeekdiary.com/how-to-correctly-change-the-uid-and-gid-of-a-user-group-in-linux/&lt;/A&gt;&lt;BR /&gt;Also check /etc/fstab if all UID entries are correct.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 07:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250351#M4587541</guid>
      <dc:creator>beernab</dc:creator>
      <dc:date>2021-03-09T07:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250352#M4587542</link>
      <description>&lt;P&gt;Will try this one, im also doing migration from an existing content server. Thanks for this!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 08:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250352#M4587542</guid>
      <dc:creator>kathleen_a_sales</dc:creator>
      <dc:date>2021-03-09T08:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250353#M4587543</link>
      <description>&lt;P&gt;Hi brent I would like to clarify that the sdb and sqdsdb UID and GID are the same? and they are patterned to the Old Content Server?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 09:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250353#M4587543</guid>
      <dc:creator>kathleen_a_sales</dc:creator>
      <dc:date>2021-03-09T09:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250354#M4587544</link>
      <description>&lt;P&gt;My issues are now fixed, thank you so much for this post.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 11:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250354#M4587544</guid>
      <dc:creator>kathleen_a_sales</dc:creator>
      <dc:date>2021-03-09T11:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250355#M4587545</link>
      <description>&lt;P&gt;No problem, glad I could help.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 11:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250355#M4587545</guid>
      <dc:creator>beernab</dc:creator>
      <dc:date>2021-03-09T11:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250356#M4587546</link>
      <description>&lt;P&gt;Hi Kathleen Sales,&lt;/P&gt;&lt;P&gt;I had similar issues after installed a SAP Content Server (7.53) with MaxDB 7.9 on SLES 12.sp5, while accessing content server in browser getting errors like ontRepStatusDescription="SQLConnect failed (DBPARAMETERS): [SAP AG][LIBSDBOD SO][SAP MaxDB] General error;-10210 Invalid command state (No prepared SQL command), ec=-10210, rc=-1";&lt;/P&gt;&lt;P&gt;Any support on prioirty is highly appriciated , thank you&lt;/P&gt;&lt;P&gt;Sarikar&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 20:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/12250356#M4587546</guid>
      <dc:creator>Sarikar_Dharmanna</dc:creator>
      <dc:date>2021-09-17T20:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server- SQLConnect failed - Invalid Command State</title>
      <link>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/13751415#M4835636</link>
      <description>Thanks Kathleen, I was facing the same issue and it was resolved by changing the UID of database software owner and instance software owner</description>
      <pubDate>Thu, 04 Jul 2024 10:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/content-server-sqlconnect-failed-invalid-command-state/qaa-p/13751415#M4835636</guid>
      <dc:creator>karan_moudgil</dc:creator>
      <dc:date>2024-07-04T10:58:04Z</dc:date>
    </item>
  </channel>
</rss>

