Skip to content

Instantly share code, notes, and snippets.

@moodh
Created July 21, 2014 22:39
Show Gist options
  • Save moodh/af122aa53cd5d8579bcb to your computer and use it in GitHub Desktop.
Save moodh/af122aa53cd5d8579bcb to your computer and use it in GitHub Desktop.
bash -c "$(curl -L -k https://raw.githubusercontent.com/DataDog/dd-agent/tsca_install_script/packaging/datadog-agent/source/install_agent.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5798 100 5798 0 0 28538 0 --:--:-- --:--:-- --:--:-- 36696
* Installing APT package sources for Datadog
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.CRbqobgJxx --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 C7A7DA52
gpg: requesting key C7A7DA52 from hkp server keyserver.ubuntu.com
gpg: key C7A7DA52: "Datadog Packages <package@datadoghq.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
* Installing the Datadog Agent package
Hit http://eu-west-1.ec2.archive.ubuntu.com precise Release.gpg
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates Release.gpg
Hit http://eu-west-1.ec2.archive.ubuntu.com precise Release
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates Release
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/main Sources
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/universe Sources
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/main amd64 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/universe amd64 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/main i386 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/universe i386 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/main TranslationIndex
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/universe TranslationIndex
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main Sources
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe Sources
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://apt.datadoghq.com stable Release.gpg
Hit http://security.ubuntu.com precise-security Release
Hit http://apt.datadoghq.com stable Release
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://www.rabbitmq.com testing Release.gpg
Hit http://apt.datadoghq.com stable/main amd64 Packages
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://apt.datadoghq.com stable/main i386 Packages
Hit http://www.rabbitmq.com testing Release
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Ign http://apt.datadoghq.com stable/main TranslationIndex
Hit http://www.rabbitmq.com testing/main amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://www.rabbitmq.com testing/main i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://www.rabbitmq.com testing/main TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://apt.datadoghq.com stable/main Translation-en_US
Ign http://apt.datadoghq.com stable/main Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/main Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/universe Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe Translation-en
Ign http://www.rabbitmq.com testing/main Translation-en_US
Ign http://www.rabbitmq.com testing/main Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
datadog-agent is already the newest version.
The following packages were automatically installed and are no longer required:
libsensors4 sysstat supervisor python-tornado python-meld3 python-medusa
python-support
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up datadog-agent (1:5.0.0-421) ...
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
Errors were encountered while processing:
datadog-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like you hit an issue when trying to install the Agent.
Troubleshooting and basic usage information for the Agent are available at:
http://docs.datadoghq.com/guides/basic_agent_usage/
If you're still having problems, please send an email to support@datadoghq.com
with the contents of ddagent-install.log and we'll do our very best to help you
solve your problem.
@ssbarnea
Copy link

Got he same problem, how did you solve it? DataDog/dd-agent#1130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment