AppD Archive

Failed to create Controller admin user

CommunityUser
Splunk Employee
Splunk Employee
I tried to install AppDynamics in Secondary mode but I got error to create admin account UI
I did this in Microsoft Azure, Windows Server 2012 R2
Primary node installed successfully



0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you quickly confirm below:

- does any of the params like root password, username passed during controller installtion are differnet from primary controller install args and have any special args?

- also check whether you are running as controller installed as "Run as administator"

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I execute controller_64bit_windows-4.1.1.2.exe with "Run as administator" without any special args just click on it and install with same credentials as I use on Primary Controller.

I tried install it without  "Run as administator" and got the same error.

0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you rerun (run in elevanted prompt) as below post making sure no port (say 49948) or the user running controller have permissions to open such large port numbers and see how it goes:

cmd> controller.exe -Djava.io.tmpdir=C:\Users\DrazzEn\Temp\

 [ERROR] com.install4j.runtime.beans.actions.control.RunScriptAction [ID 359]: Initial Account/Admin User creation failed due to unknown error: Can't get http://127.0.0.1:49948/controller/createAccount?auto=true&name=customer1&displayName=customer1&accou... to C:\Users\DrazzEn\AppData\Local\Temp\2\create_account_143834397611560478618431.tmp

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Though I am not in the habbit of beating dead horses, I'm bumping this Thread anyway, as I seem to have come across the same problem. My attempt at installing AppDynamics V4.1.1.2 64bit on a maiden Windows Server 2008 R2 failed with a "Initial Account/Admin User creation failed!" message, followed by a "Failed to create Controller admin user! Setup will now quit!" dialogue.

  • made sure I have Administrative privileges
  • ran the Installer using "Run as Admin"
  • didn't change the default port settings
  • picked single tennancy mode
  • opted against a HA setup


Full disclosure here:

  • The Windows system is running inside a virtual machine (VMWare)
  • It has been "clamped down" by the IT security department, restricting it in more ways than I can count. HOWEVER:
    • Creating OS-Users seems to work. At least I can create users through the "Control Panel".
    • Opening ports greater than 50000 seems to work just fine.
  • Rather strict firewall rules are in place too.
  • The Installer warned about low disc capacity, but with 20 GB of space left, that shouldn't become a problem in a small demo setup.

    
What irks me most is that I can't tell for sure if the "Controller admin user" is an OS-User or a user in the context AppDynamics that couldn't be created and if there was perhaps a root cause to that problem. (E.g.: Couldn't connect to userDB -> Failed to create Controller admin user").


Any insight into this would be quite helpful. The Log files I found and studied where rather inconclusive and didn't offer any answers as to that end.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I have the same problem installing secondary node on CentOS 7.2. The controller version is 4.2.0.2.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I was getting this in appserver/glassfish/domains/domain1/logs/server.log until I removed the $ and semicolon from my password.

[#|2016-02-26T12:39:36.481-0500|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web._vs.server|_ThreadID=146;_ThreadName=Thread-23;|StandardWrapperValve[CreateRootUser]: PWC1406: Servlet.service() for servlet CreateRootUser threw exception
javax.servlet.ServletException: Bad Input in HttpRequest
        at com.singularity.ee.controller.servlet.XssInputValidator.sanityCheckIncomingData(XssInputValidator.java:177)
        at com.singularity.ee.controller.servlet.XssInputValidator.doCreateRootUserParameterValidation(XssInputValidator.java:143)
        at com.singularity.ee.controller.servlet.CreateUserFilter.doFilter(CreateUserFilter.java:50)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I did that

Port is open and create_account_*.tmp is null

but account still not created :disappointed_face:

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...