<?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: SUM authentication issue with saphostctrl – Authentication Required in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468268#M77007</link>
    <description>&lt;P&gt;After getting a hint of a colleague we checked the fstab and the options for the mounted file systems. All directories were mounted with the option "nosuid", which prevented the SUM from starting with the user "&lt;EM&gt;sidadm&lt;/EM&gt;". After re-mounting the directories without the nosuid option we were able to authenticate with the user "&lt;EM&gt;sidadm&lt;/EM&gt;" in the SUM.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 13:57:20 GMT</pubDate>
    <dc:creator>tenbussa</dc:creator>
    <dc:date>2017-07-12T13:57:20Z</dc:date>
    <item>
      <title>SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaq-p/468266</link>
      <description>&lt;P&gt;We are trying to start the Software Update Manager (SUM) 1.0 SP20 PL4 on an Netweaver 7.02 Sandbox with Red Hat Enterprise Linux 7 and DB2 (DB6).&lt;/P&gt;
  &lt;P&gt;We extracted the SUM package to /usr/sap/&amp;lt;SID&amp;gt;/SUM and started the tool via command (&lt;STRONG&gt;with root&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;./STARTUP confighostagent QHR &amp;amp;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;or&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;./STARTUP &amp;lt;SID&amp;gt; &amp;amp;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;When calling the URL &lt;A href="http://localhost:1128/lmsl/sumabap/QHR/doc/sluigui"&gt;http://localhost:1128/lmsl/sumabap/QHR/doc/sluigui&lt;/A&gt; the authentication box appears where we type in the sidadm credentials. When we confirm the credentials the box appears again after 1 second. No matter if the credentials are correct (sidadm with correct password) or not (any login with any password), the authentication box appears again (see attached screenshot).&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/50330-scn-shot1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;This is, what we already checked:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;OL&gt; 
   &lt;LI&gt;Restart of the SUM&lt;/LI&gt; 
   &lt;LI&gt;Restart of SAP Host Agent&lt;/LI&gt; 
   &lt;LI&gt;Installation of latest SAP Host Agent version&lt;/LI&gt; 
   &lt;LI&gt;Restart of complete virtual machine&lt;/LI&gt; 
   &lt;LI&gt;Tried Internet Explorer, Firefox, Chrome in normal mode and in private browsing mode&lt;/LI&gt; 
   &lt;LI&gt;Re-download / re-extract of SUM to /usr/sap/&amp;lt;SID&amp;gt;/SUM&lt;/LI&gt; 
   &lt;LI&gt;Check of file authorizations of SUM&lt;/LI&gt; 
  &lt;/OL&gt;
  &lt;P&gt;&lt;STRONG&gt;Notes we checked:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;&lt;A target="_blank" href="http://rz10.de/927637"&gt;927637&lt;/A&gt; - Web service authentication in sapstartsrv as of Release 7.00&lt;/LI&gt; 
   &lt;LI&gt;&lt;A target="_blank" href="http://rz10.de/1563660"&gt;1563660&lt;/A&gt; - sapcontrol, user authorization issues (SUM)&lt;/LI&gt; 
   &lt;LI&gt;&lt;A target="_blank" href="http://rz10.de/2284028 "&gt;2284028 &lt;/A&gt;- SUM SL Common UI : Troubleshooting problems with the new SUM UI&lt;/LI&gt; 
   &lt;LI&gt;&lt;A target="_blank" href="http://rz10.de/2426160"&gt;2426160&lt;/A&gt; - DB6: Add. Info - Software Update Manager 1.0 SP20&lt;/LI&gt; 
  &lt;/UL&gt;
  &lt;P&gt;We changed the saphostctrl tracelevel to 3 and found an error in the &lt;EM&gt;/usr/sap/hostctrl/work/sapstartsrv.log&lt;/EM&gt; after trying to authenticate again:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;[Thr 140134583793408] Authenticate check on cache failed

Tue Jul 11 17:21:34 2017

pam_authenticate_user -&amp;gt; service( sapstartsrv ) user (
qhradm )

*** ERROR =&amp;gt; pam_authenticate ( qhradm ) failed :
Authentication failure  [usercheckux. 243]

[Thr 140134583793408] helper exit with return code 251

Tue Jul 11 17:21:34 2017

pam_authenticate_user -&amp;gt; service( login ) user ( qhradm )

Tue Jul 11 17:21:36 2017

*** ERROR =&amp;gt; pam_authenticate ( qhradm ) failed :
Authentication failure  [usercheckux. 243]

[Thr 140134583793408] Tue Jul 11 17:21:36 2017

[Thr 140134583793408] helper exit with return code 251

[Thr 140134583793408] *** ERROR =&amp;gt; soap_check_permission
authentication: ( qhradm, ExecutOperation ) FAILED [DefaultOpera 163]

[Thr 140134583793408] Authenticate clear cache

[Thr 140134583793408] Unauthorized (user authentication
required)

[Thr 140134583793408] *** ERROR =&amp;gt; Authentication is
required  [HTTPProxyHan 258]

[Thr 140134583793408] HTTPResponse::SendError HTTP 401:
'Unauthorized: User authentication required' send as 'Unauthorized'
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;A target="_blank" href="http://rz10.de/927637"&gt;SAP note 927637&lt;/A&gt; says the following:&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;[…]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;If the user/password check fails, the system generates an "Invalid Credentials" SOAP exception.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;[…]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;Unfortunately there are no hints what to do with the above error message.&lt;/P&gt;
  &lt;P&gt;Do you have any idea, what we can do to find/solve the problem?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 09:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaq-p/468266</guid>
      <dc:creator>tenbussa</dc:creator>
      <dc:date>2017-07-12T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468267#M77006</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;we now tried to login with the user "&lt;EM&gt;sapadm&lt;/EM&gt;" and the login worked.&lt;/STRONG&gt; The SUM process has been started with the user "&lt;EM&gt;&amp;lt;sid&amp;gt;adm&lt;/EM&gt;". The logs created in /usr/sap/&amp;lt;SID&amp;gt;/SUM/abap/logs are owned by the user "&lt;EM&gt;&amp;lt;sid&amp;gt;adm&lt;/EM&gt;".&lt;/P&gt;
  &lt;P&gt;We can not completely explain why this is working but since the SUM is started with "&lt;EM&gt;&amp;lt;sid&amp;gt;adm&lt;/EM&gt;" we will try to update our sandbox system.&lt;/P&gt;
  &lt;P&gt;I will report back with further information.&lt;/P&gt;
  &lt;P&gt;Kind regards&lt;BR /&gt;Andre&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468267#M77006</guid>
      <dc:creator>tenbussa</dc:creator>
      <dc:date>2017-07-12T13:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468268#M77007</link>
      <description>&lt;P&gt;After getting a hint of a colleague we checked the fstab and the options for the mounted file systems. All directories were mounted with the option "nosuid", which prevented the SUM from starting with the user "&lt;EM&gt;sidadm&lt;/EM&gt;". After re-mounting the directories without the nosuid option we were able to authenticate with the user "&lt;EM&gt;sidadm&lt;/EM&gt;" in the SUM.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468268#M77007</guid>
      <dc:creator>tenbussa</dc:creator>
      <dc:date>2017-07-12T13:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468269#M77008</link>
      <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/89626/tenbussa.html"&gt;Andre&lt;/A&gt;,&lt;/P&gt;
  &lt;P&gt;Please see the SAP KBA ##2428412 - RequestLogonFile -- "FAIL: Cannot create logon file" error&lt;/P&gt;
  &lt;P&gt;In here you can see there are different options given which will help in checking with the s-bit.&lt;/P&gt;
  &lt;P&gt;Regards, &lt;BR /&gt;Manjunath Hanmantgad&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 19:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468269#M77008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-16T19:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468270#M77009</link>
      <description>&lt;P&gt;Hi Andre,Currently we are upgrading Solman to 7.2 and now we are in downtime phase and Java is at 50% and ABAP is waiting for Java to proceed however we currently stuck in Java upgrade and we are getting similar errors as yours(i understand you now able to start SUM).&lt;/P&gt;
  &lt;P&gt;Our current Java upgrade phase is "Rename Start Profiles" and we are getting below error on the server.&lt;/P&gt;
  &lt;P&gt;&amp;lt;!--LOGHEADER[START]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--HELP[Manual modification of the header may cause parsing problem!]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--LOGGINGVERSION[2.0.7.1006]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--NAME[/usr/sap/MD1/SUM/sdt/log/SUM/REGISTER-SERVICES_01.LOG]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--PATTERN[REGISTER-SERVICES_01.LOG]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--ENCODING[UTF8]/--&amp;gt;&lt;BR /&gt;&amp;lt;!--LOGHEADER[END]/--&amp;gt;&lt;BR /&gt;Jul 19, 2017 8:30:22 AM [Info ]: The application server instances do not require registration with instance profile on dual stack system.&lt;BR /&gt;Jul 19, 2017 8:30:22 AM [Info ]: Registering service of instance SCS61 with new profile /usr/sap/MD1/SYS/profile/MD1_SCS61_md1ci.&lt;BR /&gt;Jul 19, 2017 8:30:22 AM [Info ]: Registering sapcontrol service using saphostagent for host md1ci, instance number 61 with start profile /usr/sap/MD1/SYS/profile/MD1_S&lt;BR /&gt;CS61_md1ci&lt;BR /&gt;Jul 19, 2017 8:30:24 AM [Error ]: The following problem has occurred during step execution: com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP&lt;/P&gt;
  &lt;P&gt;Fault from server: Invalid Credentials Please see the server log to find more detail regarding exact cause of the failure..&lt;/P&gt;
  &lt;P&gt;We upgraded the hostagent in message server and App server(our's is a distributed environment) to fix it but even after installing new host agent we couldn't proceed ahead and we kept on getting this issue&lt;/P&gt;
  &lt;P&gt;We followed the SAP notes but no luck.&lt;/P&gt;
  &lt;P&gt;is anything you can suggest to fix the issue and proceed ahead.&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;&lt;A href="http://rz10.de/1563660"&gt;1563660&lt;/A&gt; - sapcontrol, user authorization issues (SUM)&lt;/LI&gt;
  &lt;/UL&gt;</description>
      <pubDate>Wed, 19 Jul 2017 18:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468270#M77009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-19T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468271#M77010</link>
      <description>&lt;P&gt;Hi Supragya,&lt;/P&gt;
  &lt;P&gt;Did you check the note #2428412 &lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Manjunath&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 19:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468271#M77010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-19T19:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468272#M77011</link>
      <description>&lt;P&gt;Check permission and owner this files "/usr/sap/hostctrl/exe/sapuxuserchk" and "/usr/sap/hostctrl/exe/sapstartsrv"&lt;/P&gt;
  &lt;P&gt; -rwsr-x--- 1 root sapsys sapuxuserchk &lt;/P&gt;
  &lt;P&gt;-rwxr-x--- 1 sapadm sapsys sapstartsrv&lt;/P&gt;
  &lt;P&gt;GuilhermeVieira&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 16:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468272#M77011</guid>
      <dc:creator>gvieira_basis_br_sp</dc:creator>
      <dc:date>2017-09-27T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: SUM authentication issue with saphostctrl – Authentication Required</title>
      <link>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468273#M77012</link>
      <description>&lt;P&gt;hi team,&lt;/P&gt;&lt;P&gt;I updated the hostagent and problem and the problem got resolved.&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;see hot to update it below. &lt;/P&gt;&lt;P&gt;abcsmn:/usr/sap/hostctrl/exe # ./saphostexec -upgrade -archive /install/SAPHOSTAGENT58_58-80004822.SAR &lt;BR /&gt;Upgrade service&lt;BR /&gt;Extracting archive&lt;BR /&gt;ExtractHostagentSAR: Executing: "/usr/sap/hostctrl/exe/SAPCAR" -manifest "/usr/sap/hostctrl/work/archive/SIGNATURE.SMF" -xfvs "/install/SAPHOSTAGENT58_58-80004822.SAR" -R "/usr/sap/hostctrl/work/archive" &lt;BR /&gt;ExtractHostagentSAR: SAPCAR: processing archive /install/SAPHOSTAGENT58_58-80004822.SAR (version 2.01)&lt;BR /&gt;ExtractHostagentSAR: SAPCAR: 46 file(s) extracted&lt;BR /&gt;ExtractHostagentSAR: SAPCAR: rc 0 &lt;BR /&gt;[OK] ExtractHostagentSAR: Archive directory '/usr/sap/hostctrl/work/archive' added to delete list.&lt;BR /&gt;[OK] Extract SAP Host Agent SAR successful&lt;BR /&gt;Executing upgrade command './saphostexec -upgrade' &lt;BR /&gt;Upgrade service&lt;BR /&gt;[Thr 140527752836992] Mon Nov 14 13:45:46 2022&lt;BR /&gt;[Thr 140527752836992] SAPCryptoPath /usr/sap/hostctrl/exe/libsapcrypto.so &lt;BR /&gt;IsUpgradeNecessary: /usr/sap/hostctrl/work/archive/saphostexec is newer than /usr/sap/hostctrl/exe/saphostexec&lt;BR /&gt;Upgrade saphostexec / saphostcontrol &lt;BR /&gt;&lt;BR /&gt;Check Installation Path ...&lt;BR /&gt;saphostexec is already running (pid=19441). Stopping...ok&lt;BR /&gt;Copy Executable ...ok&lt;BR /&gt;Migrating ...ok&lt;BR /&gt;Install systemd service saphostagent.service ...ok&lt;BR /&gt;Install SYS-V service ...&lt;BR /&gt;Note: This output shows SysV services only and does not include native&lt;BR /&gt;systemd services. SysV configuration data might be overridden by native&lt;BR /&gt;systemd configuration.&lt;BR /&gt;&lt;BR /&gt;If you want to list systemd services use 'systemctl list-unit-files'.&lt;BR /&gt;To see services enabled on particular target use&lt;BR /&gt;'systemctl list-dependencies [target]'.&lt;BR /&gt;&lt;BR /&gt;ok&lt;BR /&gt;Updating /usr/sap/hostctrl/exe/host_profile ...&lt;BR /&gt;-&amp;gt; Start saphostagent.service &amp;lt;- &lt;BR /&gt;ok&lt;BR /&gt;[OK] SAPHostExec / SAPHostControl successfully upgraded&lt;BR /&gt;Executing: "/usr/sap/hostctrl/exe/SAPCAR" -xvf "./SHADBMETRICSDEF.SAR" -R "/usr/sap/hostctrl/exe/config.d" &lt;BR /&gt;SAPCAR: processing archive ./SHADBMETRICSDEF.SAR (version 2.01)&lt;BR /&gt;x dbmetric.definition.db4.cimobj&lt;BR /&gt;x dbmetric.definition.db6.cimobj&lt;BR /&gt;x dbmetric.definition.hdb.cimobj&lt;BR /&gt;x dbmetric.definition.mss.cimobj&lt;BR /&gt;x dbmetric.definition.ora.cimobj&lt;BR /&gt;x dbmetric.definition.sap.cimobj&lt;BR /&gt;x dbmetric.definition.siq.cimobj&lt;BR /&gt;x dbmetric.definition.syb.cimobj&lt;BR /&gt;x dbmetric.definition.tst.cimobj&lt;BR /&gt;x dbmetrics.d&lt;BR /&gt;x dbmetrics.d/00.general.hdb.cimobj&lt;BR /&gt;x dbmetrics.d/00.state.hdb.cimobj&lt;BR /&gt;x dbmetrics.d/10.host.capacity.hdb.cimobj&lt;BR /&gt;x dbmetrics.d/20.indexserver.hdb.cimobj&lt;BR /&gt;x dbmetrics.d/20.nameserver.hdb.cimobj&lt;BR /&gt;x dbmetrics.d/50.adhocsql.frun.hdb.cimobj&lt;BR /&gt;x dbmetrics.d/99.outsidediscovery.hdb.cimobj&lt;BR /&gt;SAPCAR: 17 file(s) extracted&lt;BR /&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 11:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sum-authentication-issue-with-saphostctrl-authentication-required/qaa-p/468273#M77012</guid>
      <dc:creator>ethornsapbasis</dc:creator>
      <dc:date>2022-11-14T11:45:27Z</dc:date>
    </item>
  </channel>
</rss>

