Skip to content

Instantly share code, notes, and snippets.

@amitjamadagni
Created May 8, 2013 08:37
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 amitjamadagni/5539089 to your computer and use it in GitHub Desktop.
Save amitjamadagni/5539089 to your computer and use it in GitHub Desktop.
Error
First I did this and got
(indico)amit@esornep:~/Documents/indico/src$ indico_shell
+ 'MaKaC' : MaKaC base package
+ 'Conference'
+ 'Category'
+ 'ConferenceHolder'
+ 'CategoryManager'
+ 'AvatarHolder'
+ 'GroupHolder'
+ 'HelperMaKaCInfo'
+ 'PluginsHolder'
+ 'Catalog'
+ 'IndexesHolder'
+ 'minfo' : MaKaCInfo instance
indico 1.0
In [1]:
This is the output that I get but there is no response on the localhost.The page says
Firefox can't establish a connection to the server at localhost:8000.
Then I tried it once again but then this was the error as it was suggested I had given all permissions to the db folder.
(indico)amit@esornep:~/Documents/ndico/src$ zdaemon -C etc/zdctl.conf start
.
daemon process started, pid=21700
(indico)amit@esornep:~/Documents/indico/src$ sudo indico_shell --web-server
Traceback (most recent call last):
File "/usr/local/bin/indico_shell", line 9, in <module>
load_entry_point('indico==1.0', 'console_scripts', 'indico_shell')()
File "/usr/local/lib/python2.7/dist-packages/indico-1.0-py2.7.egg/indico/util/shell.py", line 167, in main
refserver = RefServer(config.getHostNameURL(), int(config.getPortURL()), enable_ipv6=args.with_ipv6)
File "/usr/local/lib/python2.7/dist-packages/indico-1.0-py2.7.egg/indico/util/shell.py", line 113, in __init__
handler_class=WSGIRequestHandler)
File "/usr/lib/python2.7/wsgiref/simple_server.py", line 144, in make_server
server = server_class((host, port), handler_class)
File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
self.server_bind()
File "/usr/lib/python2.7/wsgiref/simple_server.py", line 48, in server_bind
HTTPServer.server_bind(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment