File "/usr/share/cherokee/admin/server.py", line 76, in init
    CTK.init (host="localhost", port=int(scgi_port), sec_cookie=True)
  File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 315, in init
    srv.init_server (*args, **kwargs)
  File "/usr/share/cherokee/admin/CTK/CTK/Server.py", line 214, in
init_server
    self._scgi = pyscgi.ServerFactory (*args, **kwargs)
  File "/usr/share/cherokee/admin/CTK/CTK/pyscgi.py", line 223, in
ServerFactory
    return SCGIServer(*args, **kargs)
  File "/usr/share/cherokee/admin/CTK/CTK/pyscgi.py", line 196, in __init__
    ThreadingTCPServer_Custom.__init__ (self, (host, port), handler_class)
  File "/usr/lib/python2.5/SocketServer.py", line 330, in __init__
    self.server_bind()
  File "/usr/lib/python2.5/SocketServer.py", line 341, in server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.gaierror: (-2, 'Name or service not known')

Any ideas what is wrong? Any additional information I can provide?

Has your host an IP defined for "localhost"?
Maybe that is the problem.

Yes, that looks like the problem.

I have just added a new check to the SCGI backend to check that "localhost" can 
actually be resolved. Even if it would not make the server work, at least the user would 
get an error message reporting the issue:

   http://svn.cherokee-project.com/changeset/6347



Antonio, Alvaro, that was exactly the problem, thanks for pointing it out. And great that there'll be a check for this!

Cheers!
Gregor
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to