appdynamics-cookbooks
appdynamics-cookbooks copied to clipboard
Java_Agent permission problems on conf dir
When running Java Agent as a different user than root, the conf directory needs also be changed with the specificed owner and group, not only controller-info.xml
[AD Thread Pool-Global1] 19 Dec 2018 10:19:17,101 INFO TransactionConfigUpdater - Updating transactions.xml to /opt/appdynamics/javaagent/conf/hostname.domain.com/transactions.xml
[AD Thread Pool-Global1] 19 Dec 2018 10:19:17,101 INFO TransactionConfigUpdater - Failed to create directory [/opt/appdynamics/javaagent/conf/hostname.domain.com]
directory "#{agent['install_dir']}/javaagent/conf" do
owner agent['owner']
group agent['group']
mode '0755'
end