aws / aws/aws-codedeploy-agent

Service is running but with errors

Open
#379 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
337
Forks
195
Avg merge
10h 54m
Merged PRs (30d)
4

Description

Hello all,

Aftes installing codedeploy-agent on a AWS Linux 2023, service has started but with errors.

Instalation followed this steps:
https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install-linux.html

```
Sep 25 19:04:07 myserver.local bash[5385]: /usr/bin/sh: _parse_usage: line 16: syntax error near unexpected token `('
Sep 25 19:04:07 myserver.local bash[5385]: /usr/bin/sh: _parse_usage: line 16: ` -?(\[)+([a-zA-Z0-9?]))'
Sep 25 19:04:07 myserver.local bash[5385]: /usr/bin/sh: error importing function definition for `_parse_usage'
Sep 25 19:04:07 myserver.local bash[5385]: /usr/bin/sh: _services: line 5: syntax error near unexpected token `('
Sep 25 19:04:07 myserver.local bash[5385]: /usr/bin/sh: _services: line 5: ` COMPREPLY=($(printf '%s\n' ${sysvdirs[0]}/!($_backup_glob|functions>
Sep 25 19:04:08 myserver.local bash[5360]: /opt/codedeploy-agent/vendor/gems/gli-2.11.0/lib/gli/commands/help_modules/global_help_format.rb:37: >
Sep 25 19:04:08 myserver.local bash[5360]: /opt/codedeploy-agent/vendor/gems/gli-2.11.0/lib/gli/commands/help_modules/global_help_format.rb:37: >
Sep 25 19:04:08 myserver.local bash[5360]: /opt/codedeploy-agent/vendor/gems/gli-2.11.0/lib/gli/commands/help_modules/command_help_format.rb:27:>
Sep 25 19:04:08 myserver.local bash[5360]: /opt/codedeploy-agent/vendor/gems/gli-2.11.0/lib/gli/commands/help_modules/command_help_format.rb:27:>
Sep 25 19:04:08 myserver.local systemd[1]: Started codedeploy-agent.service - AWS CodeDeploy Host Agent.

```

Does anyone have any hint to solve that ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.