Skip to content

Instantly share code, notes, and snippets.

@jespada
Created August 6, 2012 19:04
Show Gist options
  • Select an option

  • Save jespada/3277590 to your computer and use it in GitHub Desktop.

Select an option

Save jespada/3277590 to your computer and use it in GitHub Desktop.
data dog
Traceback (most recent call last):
File "/usr/bin/dd-forwarder", line 274, in <module>
main()
File "/usr/bin/dd-forwarder", line 271, in main
app.run()
File "/usr/bin/dd-forwarder", line 229, in run
http_server.listen(self._port)
File "/usr/lib/pymodules/python2.6/tornado/httpserver.py", line 133, in listen
self.bind(port, address)
File "/usr/lib/pymodules/python2.6/tornado/httpserver.py", line 150, in bind
self._socket.bind((address, port))
File "<string>", line 1, in bind
TypeError: an integer is required
@alq666

alq666 commented Aug 6, 2012

Copy link
Copy Markdown

This should fix it:

curl -L http://dtdg.co/NXVC11 > /tmp/ddagent.py.diff
cd /usr/share/datadog/agent
patch -p1 < /tmp/ddagent.py.diff

If the latter complains, try with patch -p0 instead of -p1

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