Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
04-05-2022 04:36 AM
Hello,
The reason for my question is that I cannot install the database agent, when I run the following command I get no response:
§ nohup java -Dappdynamics.agent.maxMetrics=300000 -Ddbagent.name=DBMon-Lab-Agent -jar db-agent.jar &
attached is screen shot.
Thanks for the help!
Solved! Go to Solution.
04-06-2022 10:42 PM
Hi Farzaneh
The command you are using, does not install the db agent as a service, that will start it when you reboot the machine or can be started/stopped by using linux commands.
The below nohup command, is just a manual way of starting the db agent, however as soon as the server is rebooted etc. The db agent service will not automatically start again.
What you see below is correct, it has started the db agent process in the background, and it's process id is - 31524, you can run a ps aux | grep agent command which should show you that process is running, and you will find that there is a nohup.out log file for the process.
If you want to install the db agent as a service instead of manually starting it as in your post you can refer to the documentation
Ciao
04-08-2022 05:50 AM - last edited on 04-11-2022 09:20 AM by Ryan.Paredez
Hello Mario,
Thanks for your answer. Indeed I have to install the Machine agent and not bd Agent.
I have already installed the Machine agent but I can't start it. I need the command to start the machine agent in Centos.
Thanks for your Help!
^ Post edited by @Ryan.Paredez for formatting
04-11-2022 09:22 AM
Here is an existing post that has a solution about starting up a Machine Agent in CentOS
Please review it and let me know if it helps.
Thanks,
Ryan, AppDynamics Community Manager
04-20-2022 01:53 PM
Thank you @Mario.Morelli for helping out and thanks @Farzaneh.Dehghani for confirming the Accepted Solution.
Thanks,
Ryan, AppDynamics Community Manager
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form