digitalocean / digitalocean/do-agent

do-agent does not start on CentOS v7

Open
#257 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
617
Forks
117
Avg merge
5d 6h
Merged PRs (30d)
1

Description

### To Reproduce
Install the latest do-agent from yum repository. Run `journalctl -f` to watch systemd logging in real time. From another shell run `systemctl restart do-agent`

You will see the following error in the journalctl shell:
```
Failed at step EXEC spawning /opt/digitalocean/bin/do-agent --syslog: Permission denied
```
### To Fix
```
chmod 755 /opt/digitalocean
chmod 755 /opt/digitalocean/bin
```
Run `systemctl restart do-agent` again and it should work now

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.