Skip to content

Instantly share code, notes, and snippets.

@is
Created October 20, 2011 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save is/1300210 to your computer and use it in GitHub Desktop.
Save is/1300210 to your computer and use it in GitHub Desktop.
cherokee-admin error in restricted network.
[root@ci2 app]# /is/app/cherokee/sbin/cherokee-admin -b 0.0.0.0 -i -x -u
[20/10/2011 09:46:12.488] (warning) rrd_tools.c:121 - Could not find the
rrdtool binary. | A custom rrdtool binary has not been defined, and the
server could not find one in the $PATH.
Cherokee Web Server 1.2.100 (Oct 19 2011): Listening on port 0.0.0.0:9090, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
connections, 2 threads, 1020 connections per thread, standard scheduling policy
Web Interface:
URL: http://0.0.0.0:9090/
DEBUG: SIGUSR1 invokes the console..
SIGUSR2 prints a backtrace..
Server 1.2.100 running.. PID=5460 Port=4000
Unhandled exception in thread started by <function thread_func at 0x1f0bb90>
Traceback (most recent call last):
File "/is/app/cherokee/share/cherokee/admin/server.py", line 139, in thread_func
index = market.Distro.Index()
File "/is/app/cherokee/share/cherokee/admin/market/Distro.py", line 51, in Index
global_index = Index_Class()
File "/is/app/cherokee/share/cherokee/admin/market/Distro.py", line 117, in __init__
self.Update()
File "/is/app/cherokee/share/cherokee/admin/market/Distro.py", line 122, in Update
local_file = cached_download (self.url)
File "/is/app/cherokee/share/cherokee/admin/market/Distro.py", line 85, in cached_download
stream = opener.open (request, timeout=10)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1163, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1138, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error timed out>
@shvchk
Copy link

shvchk commented Nov 24, 2011

Workaround: add -t option, like this: sudo cherokee-admin -b -t

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