<?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: error with sr_add_message_server in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831682#M4862525</link>
    <description>&lt;PRE&gt;select *
from sysserver S key left join sysexternlogin EL
where S.srvname = 'dbremote_msgs_server'
&lt;/PRE&gt;

&lt;P&gt;FWIW, the contents of the SQL Remote management procedures like sr_add_message_server() is available in the SYSPROCEDURE system table, so that may provide further hints.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 09:07:42 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2022-07-06T09:07:42Z</dc:date>
    <item>
      <title>error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaq-p/13831678</link>
      <description>&lt;P&gt;What could be the reason that while calling sr_add_message_server('Cons'), I get the following error:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Unable to connect to server 'dbremote_msgs_server': DirectoryAccess servers require an externlogin&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;the user Cons is existing and the publish role is granted to him, and a role is created for him!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaq-p/13831678</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2022-07-06T06:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831680#M4862523</link>
      <description>&lt;P&gt;Is there an EXTERNLOGIN entry for the according remote server "dbremote_msgs_server"? AFAIK, this is required unless the directory access server was created with option ALLOW 'ALL' USERS.&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;As this error appears during the "sr_add_message_server" call, what have you specified as @owner parameter? Because the procedure will do a CREATE EXTERNLOGIN for that username (among others) to "dbremote_msgs_server...&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 07:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831680#M4862523</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2022-07-06T07:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831681#M4862524</link>
      <description>&lt;P&gt;How can I check whether there is EXTERNLOGIN or not?&lt;/P&gt;
&lt;P&gt;I call the procedure exactly like in the documentation:&lt;/P&gt;
&lt;P&gt;CALL sr_add_message_server( 'cons' );&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 08:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831681#M4862524</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2022-07-06T08:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831682#M4862525</link>
      <description>&lt;PRE&gt;select *
from sysserver S key left join sysexternlogin EL
where S.srvname = 'dbremote_msgs_server'
&lt;/PRE&gt;

&lt;P&gt;FWIW, the contents of the SQL Remote management procedures like sr_add_message_server() is available in the SYSPROCEDURE system table, so that may provide further hints.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831682#M4862525</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2022-07-06T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831683#M4862526</link>
      <description>&lt;P&gt;Was this missed?  &lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt; CREATE ROLE FOR USER cons;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;See the following:
&lt;A href="https://help.sap.com/docs/SAP_SQL_Anywhere/dc2260c1b8de4966b6cdee9c6d5cbcb2/95f5f7ee6ea1101481bdbc14ab63a739.html?q=Tutorial%3A%20Setting%20up%20a%20replication%20system%20using%20the%20HTTP%20message%20system%20with%20the%20consolidated%20database%20as%20the%20message%20server"&gt;Tutorial: Setting up a Replication System Using the HTTP Message System with the Consolidated Database as the Message Server&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831683#M4862526</guid>
      <dc:creator>chris_keating</dc:creator>
      <dc:date>2022-07-06T09:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831684#M4862527</link>
      <description>&lt;P&gt;No, this is done&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831684#M4862527</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2022-07-06T09:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831679#M4862522</link>
      <description>&lt;P&gt;I have two databases:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;@@version = '17.0.9.4882': this one had the problem, the procedure sr_add_message_server is defined here with &lt;STRONG&gt;sql security definer&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;@@version = '17.0.9.4803': this worked fine, the procedure sr_add_message_server is defined here with &lt;STRONG&gt;sql security invoker&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Changing the sql security to &lt;STRONG&gt;invoker&lt;/STRONG&gt; has solved the problem in the first database.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831679#M4862522</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2022-07-06T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: error with sr_add_message_server</title>
      <link>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831685#M4862528</link>
      <description>&lt;P&gt;Wow, a subtle difference with a drastic effect &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-with-sr-add-message-server/qaa-p/13831685#M4862528</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2022-07-06T11:55:15Z</dc:date>
    </item>
  </channel>
</rss>

