<?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>topic SAS Environment Agent not connecting to SAS Environment Manager in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825916#M24752</link>
    <description>&lt;P&gt;SAS Environment Agent not connecting to SAS Environment Manager, getting below error while connecting starting the agent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HQ Agent is running (PID:12037).&lt;BR /&gt;Unable to contact agent: Error sending argument: Unable to connect to 127.0.0.1:2145: java.security.cert.CertificateException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed, retried 5 times, cmd=agent:getCurrentAgentBundle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on the troubleshoot process.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 13:33:00 GMT</pubDate>
    <dc:creator>vamsinuthalapat</dc:creator>
    <dc:date>2022-07-28T13:33:00Z</dc:date>
    <item>
      <title>SAS Environment Agent not connecting to SAS Environment Manager</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825916#M24752</link>
      <description>&lt;P&gt;SAS Environment Agent not connecting to SAS Environment Manager, getting below error while connecting starting the agent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HQ Agent is running (PID:12037).&lt;BR /&gt;Unable to contact agent: Error sending argument: Unable to connect to 127.0.0.1:2145: java.security.cert.CertificateException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed, retried 5 times, cmd=agent:getCurrentAgentBundle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on the troubleshoot process.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825916#M24752</guid>
      <dc:creator>vamsinuthalapat</dc:creator>
      <dc:date>2022-07-28T13:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Environment Agent not connecting to SAS Environment Manager</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825923#M24753</link>
      <description>&lt;P&gt;Try the following:&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;1. Stop the agent&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;2. Make a backup of &amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/conf/agent.properties&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;3. Open the file and change from false to true below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;#&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;# Automatically accept unverified certificates&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;# accept.unverified.certificates=false&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;accept.unverified.certificates=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;4. Navigate to the &amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/data directory Rename the data folder to data.old.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;5. Start the agent and send the command output:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;&amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin/hq-agent.sh start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;6. Check this log file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csB2BE8A24"&gt;&amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/log/agent.log&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825923#M24753</guid>
      <dc:creator>anuraagjv</dc:creator>
      <dc:date>2022-07-28T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Environment Agent not connecting to SAS Environment Manager</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825924#M24754</link>
      <description>&lt;P&gt;Also, make sure nothing is using port&amp;nbsp;&lt;SPAN&gt;2145 and make sure no hung processes..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 14:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825924#M24754</guid>
      <dc:creator>anuraagjv</dc:creator>
      <dc:date>2022-07-28T14:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Environment Agent not connecting to SAS Environment Manager</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825966#M24756</link>
      <description>&lt;P&gt;Getting below message while starting the service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error executing remote method: org.hyperic.hq.agent.AgentRemoteException: Unauthorized&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 15:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825966#M24756</guid>
      <dc:creator>vamsinuthalapat</dc:creator>
      <dc:date>2022-07-28T15:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Environment Agent not connecting to SAS Environment Manager</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825985#M24757</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304019"&gt;@vamsinuthalapat&lt;/a&gt;&amp;nbsp;- Can you issue the command &amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin/hq-agent.sh &lt;STRONG&gt;restart&lt;/STRONG&gt; ,&amp;nbsp; instead of start.&amp;nbsp;The restart command forces agent setup.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check the agent.log.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the log is still pointing to the listening failure of the port, then you might want to change the port from 2145 to 2144 to see if that starts the agent successfully.&amp;nbsp;This will prove if something is still tying up port&amp;nbsp;2145.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;1) Run a stop command on the SAS Environment Manager Agent (./hq-agent.sh stop)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;2) Change the agent.properties for that particular agent to listen on a different port (i.e. 2145)&amp;nbsp; &amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.0.0-EE/conf/agent.properties&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;Change the following entries in the agent.properties file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;agent.listenPort=2145&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;agent.setup.agentPort=2145&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;toL&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;agent.listenPort=2144&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;agent.setup.agentPort=2144&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;3) Move the "data" directory itself from the following location &amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;4) Please issue this command and send the output: &amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin/hq-agent.sh&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csB9D89947"&gt;restart&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;5) If the agent starts this time, do a "status" on the agent to see if the hq-agent is not setup:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;SASCONFIG&amp;gt;/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin/hq-agent.sh status&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;If it is not setup, run a restart command on the hq-agent and then you should see the connections.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs71C8385E"&gt;If the above does not resolve the issue, I suggest you to open a ticket with SAS Technical Support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 16:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/825985#M24757</guid>
      <dc:creator>anuraagjv</dc:creator>
      <dc:date>2022-07-28T16:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Environment Agent not connecting to SAS Environment Manager</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/826141#M24763</link>
      <description>Thanks a lot &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/135254"&gt;@anuraagjv&lt;/a&gt; , it worked and running as expected.</description>
      <pubDate>Fri, 29 Jul 2022 11:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Environment-Agent-not-connecting-to-SAS-Environment-Manager/m-p/826141#M24763</guid>
      <dc:creator>vamsinuthalapat</dc:creator>
      <dc:date>2022-07-29T11:49:26Z</dc:date>
    </item>
  </channel>
</rss>

