Created
May 29, 2013 16:22
-
-
Save LotharSee/5671593 to your computer and use it in GitHub Desktop.
BadStatusLine error on FreeBSD.
Output of source install on FreeBSD 9.1, with last version of ports.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /root/.datadog-agent/ddagent-install.log | |
Creating log file /root/.datadog-agent/ddagent-install.log.....Done | |
Operating System: FreeBSD | |
Setting up virtual environment..... % Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 112k 100 112k 0 0 94728 0 0:00:01 0:00:01 --:--:-- 99k | |
New python executable in /root/.datadog-agent/venv/bin/python | |
Installing setuptools............................done. | |
Installing pip...................done. | |
Done | |
Installing tornado 2.4.1 using pip.....Exception in thread Thread-2: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/threading.py", line 808, in __bootstrap_inner | |
self.run() | |
File "/usr/local/lib/python2.7/threading.py", line 761, in run | |
self.__target(*self.__args, **self.__kwargs) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 261, in _get_queued_page | |
page = self._get_page(location, req) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 353, in _get_page | |
return HTMLPage.get_page(link, req, cache=self.cache) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 471, in get_page | |
resp = urlopen(url) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/download.py", line 143, in __call__ | |
response = self.get_opener(scheme=scheme).open(url) | |
File "/usr/local/lib/python2.7/urllib2.py", line 404, in open | |
response = self._open(req, data) | |
File "/usr/local/lib/python2.7/urllib2.py", line 422, in _open | |
'_open', req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain | |
result = func(*args) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1214, in http_open | |
return self.do_open(httplib.HTTPConnection, req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1187, in do_open | |
r = h.getresponse(buffering=True) | |
File "/usr/local/lib/python2.7/httplib.py", line 1045, in getresponse | |
response.begin() | |
File "/usr/local/lib/python2.7/httplib.py", line 409, in begin | |
version, status, reason = self._read_status() | |
File "/usr/local/lib/python2.7/httplib.py", line 373, in _read_status | |
raise BadStatusLine(line) | |
BadStatusLine: '' | |
Exception in thread Thread-1: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/threading.py", line 808, in __bootstrap_inner | |
self.run() | |
File "/usr/local/lib/python2.7/threading.py", line 761, in run | |
self.__target(*self.__args, **self.__kwargs) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 261, in _get_queued_page | |
page = self._get_page(location, req) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 353, in _get_page | |
return HTMLPage.get_page(link, req, cache=self.cache) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 452, in get_page | |
content_type = cls._get_content_type(url) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 528, in _get_content_type | |
resp = urlopen(req) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/download.py", line 143, in __call__ | |
response = self.get_opener(scheme=scheme).open(url) | |
File "/usr/local/lib/python2.7/urllib2.py", line 404, in open | |
response = self._open(req, data) | |
File "/usr/local/lib/python2.7/urllib2.py", line 422, in _open | |
'_open', req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain | |
result = func(*args) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1214, in http_open | |
return self.do_open(httplib.HTTPConnection, req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1187, in do_open | |
r = h.getresponse(buffering=True) | |
File "/usr/local/lib/python2.7/httplib.py", line 1045, in getresponse | |
response.begin() | |
File "/usr/local/lib/python2.7/httplib.py", line 409, in begin | |
version, status, reason = self._read_status() | |
File "/usr/local/lib/python2.7/httplib.py", line 373, in _read_status | |
raise BadStatusLine(line) | |
BadStatusLine: '' | |
Downloading/unpacking tornado==2.4.1 | |
Running setup.py egg_info for package tornado | |
warning: no previously-included files matching '_auto2to3*' found anywhere in distribution | |
Installing collected packages: tornado | |
Running setup.py install for tornado | |
warning: no previously-included files matching '_auto2to3*' found anywhere in distribution | |
Successfully installed tornado | |
Cleaning up... | |
Done | |
Downloading the latest version of the agent from github (~2.5 MB)..... % Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 130 100 130 0 0 1006 0 --:--:-- --:--:-- --:--:-- 1226 | |
100 2505k 100 2505k 0 0 1171k 0 0:00:02 0:00:02 --:--:-- 2723k | |
Done | |
Uncompressing the archive.....Done | |
Configuring datadog.conf file......Done | |
Setting up launching scripts.....Done | |
Setting up supervisor.....Exception in thread Thread-1: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/threading.py", line 808, in __bootstrap_inner | |
self.run() | |
File "/usr/local/lib/python2.7/threading.py", line 761, in run | |
self.__target(*self.__args, **self.__kwargs) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 261, in _get_queued_page | |
page = self._get_page(location, req) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 353, in _get_page | |
return HTMLPage.get_page(link, req, cache=self.cache) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 471, in get_page | |
resp = urlopen(url) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/download.py", line 143, in __call__ | |
response = self.get_opener(scheme=scheme).open(url) | |
File "/usr/local/lib/python2.7/urllib2.py", line 404, in open | |
response = self._open(req, data) | |
File "/usr/local/lib/python2.7/urllib2.py", line 422, in _open | |
'_open', req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain | |
result = func(*args) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1214, in http_open | |
return self.do_open(httplib.HTTPConnection, req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1187, in do_open | |
r = h.getresponse(buffering=True) | |
File "/usr/local/lib/python2.7/httplib.py", line 1045, in getresponse | |
response.begin() | |
File "/usr/local/lib/python2.7/httplib.py", line 409, in begin | |
version, status, reason = self._read_status() | |
File "/usr/local/lib/python2.7/httplib.py", line 373, in _read_status | |
raise BadStatusLine(line) | |
BadStatusLine: '' | |
Exception in thread Thread-2: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/threading.py", line 808, in __bootstrap_inner | |
self.run() | |
File "/usr/local/lib/python2.7/threading.py", line 761, in run | |
self.__target(*self.__args, **self.__kwargs) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 261, in _get_queued_page | |
page = self._get_page(location, req) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 353, in _get_page | |
return HTMLPage.get_page(link, req, cache=self.cache) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 471, in get_page | |
resp = urlopen(url) | |
File "/root/.datadog-agent/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/download.py", line 143, in __call__ | |
response = self.get_opener(scheme=scheme).open(url) | |
File "/usr/local/lib/python2.7/urllib2.py", line 404, in open | |
response = self._open(req, data) | |
File "/usr/local/lib/python2.7/urllib2.py", line 422, in _open | |
'_open', req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain | |
result = func(*args) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1214, in http_open | |
return self.do_open(httplib.HTTPConnection, req) | |
File "/usr/local/lib/python2.7/urllib2.py", line 1187, in do_open | |
r = h.getresponse(buffering=True) | |
File "/usr/local/lib/python2.7/httplib.py", line 1045, in getresponse | |
response.begin() | |
File "/usr/local/lib/python2.7/httplib.py", line 409, in begin | |
version, status, reason = self._read_status() | |
File "/usr/local/lib/python2.7/httplib.py", line 373, in _read_status | |
raise BadStatusLine(line) | |
BadStatusLine: '' | |
Downloading/unpacking supervisor | |
Running setup.py egg_info for package supervisor | |
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./.datadog-agent/venv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg (from supervisor) | |
Downloading/unpacking meld3>=0.6.5 (from supervisor) | |
Running setup.py egg_info for package meld3 | |
Installing collected packages: supervisor, meld3 | |
Running setup.py install for supervisor | |
Skipping installation of /root/.datadog-agent/venv/lib/python2.7/site-packages/supervisor/__init__.py (namespace package) | |
Installing /root/.datadog-agent/venv/lib/python2.7/site-packages/supervisor-3.0b2-py2.7-nspkg.pth | |
Installing echo_supervisord_conf script to /root/.datadog-agent/venv/bin | |
Installing pidproxy script to /root/.datadog-agent/venv/bin | |
Installing supervisorctl script to /root/.datadog-agent/venv/bin | |
Installing supervisord script to /root/.datadog-agent/venv/bin | |
Running setup.py install for meld3 | |
Successfully installed supervisor meld3 | |
Cleaning up... | |
Done | |
Consolidating logging.....Done | |
Cleaning up the installation directory.....Done | |
Starting the agent.....Error: Invalid user name dd-agent | |
For help, use /root/.datadog-agent/venv/bin/supervisord -h | |
It looks like you hit an issue when trying to install the agent. | |
Failure when launching supervisor. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment