cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ravi.Biradar
AppDynamics Team

In order to change the owner of the Controller, complete the following steps.

 

  1. Stop all running Controller services using the following command in the machine terminal.
    • ./controller.sh stop
  2. Change the username and user group of the Controller directory.
    • chown -R <New User>:<User Group> <Controller Folder>
  3. Update the new user in the db.cnf file located at Controller/db/db.cnf.
    •   user=<New User>
  4. Start the Controller.
    • ./controller.sh start

 

Comments
Eli.Rodriguez
AppDynamics Team

Oops  you've accidently started your controller with root user instead of your app service user (ie appd, appdynamics, etc...) ?

 

1. First stop controller (as root) 

 

2. As root, change permissions back to original user and group

 

chown -R <original user>:<original group> <controller home>

 

Ie: chown -R appd:appd /opt/appdynamics/controller

 

3. Start controller with your original user.

 

That's it.

 

Thanks, 

--Eli

Jeanie.Kedia
AppDynamics Team (Retired)

Good tip @Eli.Rodriguez  Thanks for contributing. 

Version history
Last update:
‎09-14-2018 09:59 AM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here