Comments (6)
Repro
- Install agent
- Remove or move /etc/dd-agent/supervisor_ddagent.conf away
- Restart supervisord
- Stop agent with
sudo service datadog-agent stop
from dd-agent.
Here's a patch to unstuck apt-get:
wget -O - https://raw.github.com/gist/2890110/e44a07a62f787405f23163daf13743231488c98e/datadog-agent.diff 2> /dev/null | sudo patch /etc/init.d/datadog-agent
from dd-agent.
Same issue:
Errors were encountered while processing:
datadog-agent-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
Patch does not work anymore.
patching file /etc/init.d/datadog-agent
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file /etc/init.d/datadog-agent.rej
which contains:
--- datadog-agent.init
+++ datadog-agent.init
@@ -54,8 +54,15 @@
echo -n "Stopping $DESC: "
if [ -f $USE_SUPERVISOR ]; then
-
echo -n "(using supervisorctl) "
-
supervisorctl stop datadog-agent:*
-
# Prevent errors if not under actual supervision
-
supervised=$(supervisorctl avail | grep datadog-agent | wc -l)
-
if [ $supervised -gt 1 ]; then
-
echo -n "(using supervisorctl) "
-
supervisorctl stop datadog-agent:*
-
else
-
# Should have been
-
echo -n "(warning: datadog-agent supervisor config is missing) "
-
fi else su $AGENTUSER -c "$AGENTPATH stop init" fi
from dd-agent.
Was able to solve with:
mv /etc/init.d/datadog-agent.orig /etc/init.d/datadog-agent
from dd-agent.
Pleaser reopen this bug, moving the file doesn't solve a product bug, see #1130
from dd-agent.
Maybe is different because in my case removing the file didn't solve the problem.
from dd-agent.
Related Issues (20)
- [{"message": "Could not find the TLS certificate file, invalid path HOT 3
- Datadog not honoring DD_COLLECT_EC2_TAGS when ec2 integration is turned on
- Unable to run check 'container' HOT 6
- [systemd] opening of /run/systemd/private causes errors in system journal
- ImportError: No module named checks HOT 3
- DataDog intermittent failure when install using PowerShell script HOT 1
- Permission denied: '/sys/kernel/debug/tracing' HOT 2
- dd-agent NOt sending logs after file roatations HOT 3
- Proxy Certificate Expired HOT 2
- Cleanup: remove `set_win32_cert_path()` unused function.
- doesn't work with image tomcat:9 HOT 3
- sampleRate from dd-trace-js is not taken into account in statistics HOT 1
- use_mount not working on Windows with volumes mapped to drive path HOT 1
- High CPU use by datadog agent (CentOS) HOT 1
- Docker: Datadog agent stops sending default JMX metrics after adding bean HOT 2
- Datadog agent installation issue HOT 2
- synthetic monitoring for endpoint HOT 2
- Unbound: unable to import module 'unbound': No module named 'unbound'
- Is it possible to run dd-agent inside same docker container as my application? HOT 2
- Issue with setup_agent.sh file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-agent.