<?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 Re: Controller server don´t start in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719987#M1796</link>
    <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Can you please do a stepwise restart of controller and let us know your observations.&lt;/SPAN&gt;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="il"&gt;Stop&lt;/SPAN&gt; the &lt;SPAN class="il"&gt;controller&lt;/SPAN&gt; app-server&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; &lt;SPAN class="il"&gt;stop&lt;/SPAN&gt;-appserver&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="il"&gt;Stop&lt;/SPAN&gt; the &lt;SPAN class="il"&gt;DB&lt;/SPAN&gt;&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; &lt;SPAN class="il"&gt;stop&lt;/SPAN&gt;-&lt;SPAN class="il"&gt;db&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Make sure that the mysql and java processes are not running on the machine, if it exists, kill them. Below command should not return any process:&lt;BR /&gt;ps -ef | grep java&lt;BR /&gt;ps -ef | grep mysql&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Start the &lt;SPAN class="il"&gt;DB&lt;/SPAN&gt;&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; start-&lt;SPAN class="il"&gt;db&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Start the &lt;SPAN class="il"&gt;controller&lt;/SPAN&gt; app-server&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; start-appserver&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;This should hopefully fix the issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Let us know how it goes. Please wait for 10-15 mins once you see the controller has started message&amp;nbsp;after you&amp;nbsp;run point #5.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;One reason where you see HTTP 500 error is&amp;nbsp;that controller could be in a state of warming up and it might take controller to do some house keeping tasks related to database. During that time, you could expect to see HTTP 500&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rajesh&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 09:15:09 GMT</pubDate>
    <dc:creator>Rajesh_Putta</dc:creator>
    <dc:date>2017-04-25T09:15:09Z</dc:date>
    <item>
      <title>Controller server don´t start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719986#M1795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I´am new in Appdynamics have some problem after shutdown (./stopController.sh) it wont start anymore or it seems to start but it dosen´t work when i try to connect to the console i get http error 500 and i get this messagen in the server.log&lt;/P&gt;

&lt;P&gt;[#|2017-04-24T13:43:51.174+0200|SEVERE|glassfish 4.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RunLevelControllerThread-1493034179004;_TimeMillis=1493034231174;_LevelValue=1000;&lt;BR /&gt;_MessageID=NCLS-CORE-00026;|Exception during lifecycle processing&lt;BR /&gt;org.glassfish.deployment.common.DeploymentException: Error in linking security policy for controller -- Inconsistent Module State&lt;BR /&gt; at com.sun.enterprise.security.ee.SecurityUtil.linkPolicyFile(SecurityUtil.java:336)&lt;BR /&gt; at com.sun.enterprise.security.ee.SecurityDeployer.linkPolicies(SecurityDeployer.java:319)&lt;BR /&gt; at com.sun.enterprise.security.ee.SecurityDeployer.access$100(SecurityDeployer.java:87)&lt;BR /&gt; at com.sun.enterprise.security.ee.SecurityDeployer$AppDeployEventListener.event(SecurityDeployer.java:145)&lt;BR /&gt; at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)&lt;BR /&gt; at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)&lt;BR /&gt; at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)&lt;BR /&gt; at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)&lt;BR /&gt; at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:243)&lt;BR /&gt; at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:326)&lt;BR /&gt; at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)&lt;BR /&gt; at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)&lt;BR /&gt; at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)&lt;BR /&gt; at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)&lt;BR /&gt; at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)&lt;BR /&gt; at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)&lt;BR /&gt; at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)&lt;BR /&gt; at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)&lt;BR /&gt; at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:745)&lt;BR /&gt;|#]&lt;/P&gt;

&lt;P&gt;[#|2017-04-24T13:43:51.175+0200|SEVERE|glassfish 4.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RunLevelControllerThread-1493034179004;_TimeMillis=1493034231175;_LevelValue=1000;|Exception while loading the app|#]&lt;/P&gt;

&lt;P&gt;[#|2017-04-24T13:43:51.266+0200|SEVERE|glassfish 4.1|javax.enterprise.web|_ThreadID=31;_ThreadName=RunLevelControllerThread-1493034179004;_TimeMillis=1493034231266;_LevelValue=1000;_MessageID=AS-WEB-GLUE-00192;|Undeployment failed for context /controller|#]&lt;/P&gt;

&lt;P&gt;//Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 11:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719986#M1795</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-24T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Controller server don´t start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719987#M1796</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Can you please do a stepwise restart of controller and let us know your observations.&lt;/SPAN&gt;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="il"&gt;Stop&lt;/SPAN&gt; the &lt;SPAN class="il"&gt;controller&lt;/SPAN&gt; app-server&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; &lt;SPAN class="il"&gt;stop&lt;/SPAN&gt;-appserver&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="il"&gt;Stop&lt;/SPAN&gt; the &lt;SPAN class="il"&gt;DB&lt;/SPAN&gt;&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; &lt;SPAN class="il"&gt;stop&lt;/SPAN&gt;-&lt;SPAN class="il"&gt;db&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Make sure that the mysql and java processes are not running on the machine, if it exists, kill them. Below command should not return any process:&lt;BR /&gt;ps -ef | grep java&lt;BR /&gt;ps -ef | grep mysql&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Start the &lt;SPAN class="il"&gt;DB&lt;/SPAN&gt;&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; start-&lt;SPAN class="il"&gt;db&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Start the &lt;SPAN class="il"&gt;controller&lt;/SPAN&gt; app-server&lt;BR /&gt;/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;/bin/&lt;SPAN class="il"&gt;controller&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sh&lt;/SPAN&gt; start-appserver&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;This should hopefully fix the issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Let us know how it goes. Please wait for 10-15 mins once you see the controller has started message&amp;nbsp;after you&amp;nbsp;run point #5.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;One reason where you see HTTP 500 error is&amp;nbsp;that controller could be in a state of warming up and it might take controller to do some house keeping tasks related to database. During that time, you could expect to see HTTP 500&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rajesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 09:15:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719987#M1796</guid>
      <dc:creator>Rajesh_Putta</dc:creator>
      <dc:date>2017-04-25T09:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Controller server don´t start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719988#M1797</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I reinstalled the controller and now it works fine.&lt;/P&gt;

&lt;P&gt;//Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 09:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719988#M1797</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-25T09:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Controller server don´t start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719989#M1798</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;

&lt;P&gt;Glad to hear this good news.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 09:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-server-don-t-start/m-p/719989#M1798</guid>
      <dc:creator>Rajesh_Putta</dc:creator>
      <dc:date>2017-04-25T09:22:05Z</dc:date>
    </item>
  </channel>
</rss>

