AppD Archive

Unable to login into AppD controller

CommunityUser
Splunk Employee
Splunk Employee

Hi

I installed the latest AppD Controller 4.1.4.3 on Windows 8.1 Pro. When I tried to login into the AppD controller, when the default dashboard appear, it keep throwing out the following message and kick me out.

Invalid principal name: ANONYMOUS
Client.Authentication Login required before authorization can proceed. null (userManager.getCurrentUser)

Session timed out
Your session has timed out.

Any advice is much appreciated.

Thanks

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi, I am facing same issue with login. Installation of controller is sucessful. 

0 Karma

Arun_Dasetty
Super Champion

Hi,

Did the controller install succeed during install process? if not send the following logs:

- install.log under <Controller_install_dir>/ and server.log and database.log under <controller_install_dir>/logs path

and if no error on install process can you clear cache and try below once to confirm user existince?

http://localhost:8090/controller/rest/applications

now type in browser login popup username@accountname as username and userpassword for password filed

ex: user1@customer1 and password

customer1 is default account 

- If you could not login using rest api as well, send the server.log and screenshot to debug further

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi

We didn't encountered any erorrs during installation. After installation and go to the AppD login page "http://demo_1:8090/controller" and login using "<Controller UserID>" & "<Controller Password>". We were unable to login.

(Refer to "AppD-issue-scr_cap_1.png" )

We cleared the IE browser cache, go to the AppD login page "http://localhost:8090/controller/rest/applications" and login using " <Controller UserID>@customer1" & "<Controller Password>"

( Refer to "AppD-issue-scr_cap_2.png" )

We cleared the IE browser cache, go to the AppD login page "http://localhost:8090/controller" and login using "<Controller UserID>" & "<Controller Password>". But the Left-Hand-Side menu is missing.

( Refer to "AppD-issue-scr_cap_3.png" )

We have attached the logs for your investigation.

Thank you in advance.

0 Karma

Arun_Dasetty
Super Champion

Hi,

Though from screenshots i could confirm we could not login (left menu is missing because we in home screen and no apps but UI logged in means user logged in fine)

But we see contorller db table corruption in logs

[#|2015-10-08T20:24:40.104-0700|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.agent.db.PerfDataUtils|_ThreadID=820;_ThreadName=Thread-5;|sql DML execute on shard failed:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'controller.metricdata_min_agg' doesn't exist

..151008 18:07:07 [ERROR] C:\AppDynamics\Controller\db\bin\mysqld.exe: Table '.\mysql\user' is marked as crashed and should be repaired

- We would suggest below 

- Uninstall controller C:\AppDynamics\Controller\uninstall.exe

and make sure that C:\AppDynamics\Controller\ is deleted post unistall process

- this time make sure you shutdown controller and mysql db process properly so that table corruption will not happen, as it looks from logs the controller mysql process have been shutdown abruptly earlier 

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 ...