-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datadog dpkg returning error, breaking apt-get #1130
Comments
Others seem to have same problem https://gist.github.com/moodh/af122aa53cd5d8579bcb |
Hi @ssbarnea . Thanks for the report. Did you have a previous version of the agent running ? And kill them ? Then try to install the agent: It should fix your issue. |
thanks, this solved the problem. The jmxfetch was still running. |
Please reopen this, it seems that there is serious bug around:
|
I have to kill all these processes just in order to be able to run apt-get autoremove again, that's not right. I have to do this again today after I had a similar problem 3 days ago. |
Thanks @ssbarnea . Do you mind sending your logs (from /var/log/datadog) by email to support at datadoghq.com ? Also it looks like that some of the instances of jmxfetch have been running for a while now, which is not related to the latest version of the agent (most jmxfetch instances use the old path /usr/share/...). There was a known bug with a specific version of the agent that had been fixed with Agent 4.2.0. Can you kill all these instances and see if the issue is still happening with Agent 5.0.0 |
Closing the issue as we didn't receive any clear report of it happening. I suspect this was caused by the usage of dd-agent restart to restart the agent which is not the proper way to restart the agent. (#1180 ) |
root@info:~# apt-get install ldap-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
ldap-utils
0 to upgrade, 1 to newly install, 0 to remove and 12 not to upgrade.
1 not fully installed or removed.
Need to get 283 kB of archives.
After this operation, 698 kB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main ldap-utils amd64 2.4.28-1.1ubuntu4.4 [283 kB]
Fetched 283 kB in 0s (813 kB/s)
Selecting previously unselected package ldap-utils.
(Reading database ... 198034 files and directories currently installed.)
Unpacking ldap-utils (from .../ldap-utils_2.4.28-1.1ubuntu4.4_amd64.deb) ...
Processing triggers for man-db ...
Setting up datadog-agent (1:5.0.0-496) ...
System start/stop links for /etc/init.d/datadog-agent already exist.
usermod: user dd-agent is currently logged in
dpkg: error processing datadog-agent (--configure):
subprocess installed post-installation script returned error exit status 8
Setting up ldap-utils (2.4.28-1.1ubuntu4.4) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered: