We are using java instrumentation for our applications running on the Kubernetes cluster.
The applications are running with a normal user "appuser" , where appd agent is showing an error.
MultiTenantAgent Dynamic Service error - could not open Dynamic Service Log /opt/appdynamics-java/ver22.4.0.33722/logs/fixeddeposit-service-cb865796d-jp29w/argentoDynamicService_05-09-2022-05.10.44.log
Running as user appuser
Cannot write to parent folder /opt/appdynamics-java/ver22.4.0.33722/logs/fixeddeposit-service-cb865796d-jp29w
Could NOT get owner for MultiTenantAgent Dynamic Services Folder
Likely due to fact that owner (null) is not same user as the runtime user (appuser)
which means you will need to give group write access using this command: find external-services/argentoDynamicService -type d -exec chmod g+w {}
Possibly due to lack of permissions or file access to folder: Exists: false, CanRead: false, CanWrite: false
Possibly due to lack of permissions or file access to log: Exists: false, CanRead: false, CanWrite: false
Possibly due to java.security.Manager set - null
Possibly due to missed agent-runtime-dir in Controller-XML and will need the property set to correct this...
Call Stack: java.io.FileNotFoundException: /opt/appdynamics-java/ver22.4.0.33722/logs/fixeddeposit-service-cb865796d-jp29w/argentoDynamicService_05-09-2022-05.10.44.log (No such file or directory)
can anyone help me here?
... View more