AppD Archive

New installation of AppDynamics Controller can't start

CommunityUser
Splunk Employee
Splunk Employee

Hello,

I need help with AppDynamics Controller installation.

Installing AppDynamics Controller On Premise 4.0.0.5 on a new Windows VM machine fails with:

"Failed to start the Controller in the timeout period of 45 minutes.
If you are able to start the Controller manually, try re-installing the Controller after increasing the timeout.
If unable to start the Controller, contact AppDynamics support for assistance."

This is happening for 4th time now as after the first time I tried to uninstall it and reinstall again. After this I recreated the VM and again got the same result.

I am trying to install the Controller on a Windows 2008 R2 machine with 2GB of RAM. While installing the Controller I choose it to be sized as Demo, no HA and singletenant.

After trying to manually start the Controller with elevated command prompt using the StartController.bat I see the message:

"Controller application server started. Login URL is http://appdynamics:8090/controller"

I can access localhost:4848 but I only see the loading message which never loads the login screen:

 "Status: The Admin Console is starting. Please wait."

When I try to access the UI on port 8090 I get nothing, like page does not exist.

If I try to stop it using the stopControllerSvcs.bat I see all the AppDynamics Controller Application Server service in Stopping state for long and the java.exe process still running in the task manager. If I kill the java.exe, then the service is stopped. After this I need to run again the stopControllerSvcs.bat to stop the AppDynamics database.

Attached are the logs from the last try.

Lyubo

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Update: After about 15-20 minutes waiting at the Admic Consol login it finished and I am able to login in the console. However the COntroller UI on port 8090 is still not accessible...

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

New Update:

After I was able to login in the glassfish console I noticed the http-listener on port 8090 was not enabled. So I enabled it and checking with netstat I could see it is now listening on port 8090 (it was not previously). Even though I wasn't able to access the UI - blank page was presented.

After a restart the  http://appdynamics:8090/controller/ link presented the login screen. However I was not able to login I saw the line "Login failed".

The output of the query in mysql:

select * from user \G;

returned only 2 users: system and singularity-agent. I could not see the "admin" one which I entered during the installation. I decided to change the password for the system user and after a restart I am still not able to login in the UI and the Glassfish console is not loading so I guess I messed it up.

Anyway... maybe I am about to reinstall it again but before that if anyone could help me with what could have gone wrong during my previous installation because I see at least 2 points which does not seem correct:

- http listener on port 8090 was not enabled out of the box;

- admin user I defined during the installation is missing.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

You'll need more than 2GB of RAM to run the controller even with the demo performance profile. This is why the app server part of the controller is not starting properly. 

Given the issue with the user/password, I'd recommend re-installing on a VM wiht 4GB of RAM. That should work well.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

😞

I reinstalled the Controller on a fresh Windows 208 R2 with 4GB RAM and got the same error for failed to start after the 45 minutes timeout.

So far, among the maybe 7-8 tries to install it I have only one succeeded and it was on a machine with 2GB RAM where it started for about 15-20 minutes. So I don't think it is a timeout issue. I can't understand why this is happening but what do I need to get it running?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

facing same issue 😞

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...