Splunk AppDynamics

Controller 500 error

CommunityUser
Splunk Employee
Splunk Employee

After a machine reboot, the controller is giving 500 error when I tried to open the controller UI. Restarting the controller doesn't solve the problem. Can someone help with this? I've attached the server log.

Labels (3)
0 Karma

Yogesh_Chouk
Builder

Hi,

Could you please go through the below KB and follow the steps mentioned.

https://community.appdynamics.com/t5/Knowledge-Base/How-to-resolve-inconsistent-module-state-while-s...

Please let us know if it helps.

Thanks,

Yogesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Yogesh,

Thanks for your help! I followed the steps given in the link. Now it seems to be a different error from the server log (still 500 error for the controller UI). The log is attached.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

It seems every time I reboot the machine and restart the controller, I'll get 500 error. Just wondering if there's any update on this? 

0 Karma

Yogesh_Chouk
Builder

Hi,

A restart of the controller will take some time to load the UI. Did you wait for the controller to come up for 15-20 mins? Or you are not at all able to access the controller. If yes, Please share the complete zip of controller logs from /<Controller_Home>/logs folder.

Thanks,

Yogesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks Yogesh. I'm not at all able to access the controller (waited for > an hour). Please find the attached logs.zip.

0 Karma

Yogesh_Chouk
Builder

Hi,

From the attached server.log, we see that the license file is not speciefied. Could you please try to copy the license file and paste inside controller home folder. 

[#|2017-10-19T19:50:46.316-0700|SEVERE|glassfish 4.1|com.singularity.ee.controller.beans.ControllerLicenseChecker|_ThreadID=235;_ThreadName=__ejb-thread-pool13;_TimeMillis=1508467846316;_LevelValue=1000;|License file is not specified. Please drop the license file in the controller installation directory.
com.singularity.ee.controller.api.exceptions.LicenseException: License file is not specified. Please drop the license file in the controller installation directory.

Try restarting as suggested earlier and let us know how it goes.

Thanks,

Yogesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Yogesh,

Thanks for following up on this! I double checked the license file is indeed present under controller home folder.

It seems this error message was probably produced at an earlier time, and at that time the license wasn't there. I droped the license into controller folder immediately after setting up things.

Somehow the server.log in logs.zip is not up-to-date. I've attached my most recent server.log. There are some "Could not read messages for timestamp" and other exceptions.

0 Karma

Yogesh_Chouk
Builder

Hi,

As per the attached logs we still see the below error of date 2017-10-20. Can you please if these are the latest logs

Can you please try to execute the steps again as suggested here and let us know how it goes.

[#|2017-10-20T10:58:02.375-0700|SEVERE|glassfish 4.1|javax.enterprise.system.core|_ThreadID=34;_ThreadName=RunLevelControllerThread-1508522236091;_TimeMillis=1508522282375;_LevelValue=1000;_MessageID=NCLS-CORE-00026;|Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: Error in linking security policy for controller -- Inconsistent Module State

If you still face any issues, please attach zip of all the latest controller logs.

Thanks,

Yogesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Yogesh,

Just wondering if there is any update on this? Not sure why Appdynamics stops working whenever the machine reboots. We have 40 licenses and really hope this can work for us. Thank you!

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Yogesh,

This log was produced after trying out the steps in the link, as well as all other suggestions in the above replies. The problem wasn't solved. I then backuped the log.

I did a fresh reinstallation. After rebooting the machine, I ran into the same problem. Tried all suggestions above. Please see the attached logs. 

0 Karma
Get Updates on the Splunk Community!

Bridging the Gap: Splunk Helps Students Move from Classroom to Career

The Splunk Community is a powerful network of users, educators, and organizations working together to tackle ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...