Closed realtyassistantcrm closed 1 year ago
issue fixed
installed cli
apt install awscli
remove codedeploy
sudo dpkg -r codedeploy-agent
Try to run update
sudo ./install auto
before the run kill
sudo kill -9 pgrep -f 'codedeploy-agent'
sudo service codedeploy-agent start
sudo service codedeploy-agent status × codedeploy-agent.service - LSB: AWS CodeDeploy Host Agent Loaded: loaded (/etc/init.d/codedeploy-agent; generated) Active: failed (Result: exit-code) since Mon 2023-07-17 09:55:13 UTC; 3min 29s ago Docs: man:systemd-sysv-generator(8) Process: 66962 ExecStart=/etc/init.d/codedeploy-agent start (code=exited, status=127) Tasks: 3 (limit: 4676) Memory: 2.7G CPU: 51ms CGroup: /system.slice/codedeploy-agent.service ├─2551 "codedeploy-agent: master 2551" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" └─2553 "codedeploy-agent: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller of master 2551"
Jul 17 09:55:13 ip-172-31-36-74 systemd[1]: Starting LSB: AWS CodeDeploy Host Agent... Jul 17 09:55:13 ip-172-31-36-74 codedeploy-agent[66962]: Starting codedeploy-agent: Jul 17 09:55:13 ip-172-31-36-74 systemd[1]: codedeploy-agent.service: Control process exited, code=exited, status=127/n/a Jul 17 09:55:13 ip-172-31-36-74 systemd[1]: codedeploy-agent.service: Failed with result 'exit-code'. Jul 17 09:55:13 ip-172-31-36-74 systemd[1]: codedeploy-agent.service: Unit process 2551 (ruby) remains running after unit stopped. Jul 17 09:55:13 ip-172-31-36-74 systemd[1]: codedeploy-agent.service: Unit process 2553 (ruby) remains running after unit stopped. Jul 17 09:55:13 ip-172-31-36-74 systemd[1]: Failed to start LSB: AWS CodeDeploy Host Agent.