AppD Archive

Controller not starting

CommunityUser
Splunk Employee
Splunk Employee

I have downloaded AppController on windows 32bit machine, finished the installation but controller not started even after waiting for 30 mins

it waits on to connect to mysql db on port 3388 which is already running (at least my tcpview shows so).

database log file shows

140630 18:02:02 InnoDB: Operating system error number 32 in a file operation.
InnoDB: The error means that another program is using InnoDB's files.
InnoDB: This might be a backup or antivirus software or another instance
InnoDB: of MySQL. Please close it to get rid of this error.

0 Karma
1 Solution

Arun_Dasetty
Super Champion

Hi Rajeev,

Can you try the following steps:

- Make sure the endpoint protection software is not blocking any mysql and java process if possible add exception rules in endpoint protection to allow full controller for controller mysql and glassfish mysql process 

- make sure you have stopped both mysql and java process

- Try to start controller as follows and see if that helps:

1) opon cmd prompt as "run as administrator" in new window

2) restart the process again:
cmd> cd C:\AppDynamics\Controller\bin
cmd> controller.bat stop-appserver

cmd> controller.bat stop-db
cmd> controller.bat start-db
cmd> contoller.bat login-db
mysql>

type "quit" to exit the mysql prompt
cmd> controller.bat start-appserver

If issue still persists send the output of the following command in addition to latest server.log ,startAs.log and database.log :

cmd> echo %PATH%

cmd> echo %JAVA_HOME%

We requested above information as we see not much logging in server.log, we see such issue where Glassfish failed to start due to problem in Path env. variables.

Regards,

Arun

View solution in original post

Arun_Dasetty
Super Champion

Hi Rajeev,

Can you provide the following information to assist you further:

- screenshot from windows with process sorted by name with mysql name highlighted , we requested to see if there are any mysql process running

- Have you installed any anti virus softare , we see earlier such issues where anti virus software blocking AD process to access few resources 

- latest datbase.log, startAs.log and server.log under <controller_install_dir>/logs path

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Attached are the screenshots and log files

Yes I do have Microsoft Forefront Endpoint protection

0 Karma

Arun_Dasetty
Super Champion

Hi Rajeev,

Can you try the following steps:

- Make sure the endpoint protection software is not blocking any mysql and java process if possible add exception rules in endpoint protection to allow full controller for controller mysql and glassfish mysql process 

- make sure you have stopped both mysql and java process

- Try to start controller as follows and see if that helps:

1) opon cmd prompt as "run as administrator" in new window

2) restart the process again:
cmd> cd C:\AppDynamics\Controller\bin
cmd> controller.bat stop-appserver

cmd> controller.bat stop-db
cmd> controller.bat start-db
cmd> contoller.bat login-db
mysql>

type "quit" to exit the mysql prompt
cmd> controller.bat start-appserver

If issue still persists send the output of the following command in addition to latest server.log ,startAs.log and database.log :

cmd> echo %PATH%

cmd> echo %JAVA_HOME%

We requested above information as we see not much logging in server.log, we see such issue where Glassfish failed to start due to problem in Path env. variables.

Regards,

Arun

CommunityUser
Splunk Employee
Splunk Employee

Running as an admin worked

thanks

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