Eu instalei o tomcat / solr seguindo as instruções encontradas aqui e ckan seguindo estas instruções no meu Ubuntu 14.04.
já que as instruções de instalação do ckan são baseadas no jetty, eu pulei a parte que diz
Eu acho que esse pode ser o problema porque eu não consigo encontrar onde configurar o solr. Quando eu tento executar ckan paster serve /etc/ckan/default/development.ini
eu recebo esses erros / avisos
2015-06-07 09:27:29,048 ERROR [ckan.lib.search.common] [Errno 111]
Connection refused Traceback (most recent call last):
File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/common.py", line 51,
in is_available
conn.query(":", rows=1)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 703, in query return
self.select(*args, **params)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 798, in call
xml = self.raw(**params)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 823, in raw
rsp = conn._post(self.selector, request, conn.form_headers)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 646, in _post
self._reconnect()
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 625, in _reconnect
self.conn.connect()
File "/usr/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
2015-06-07 09:27:29,111 WARNI [ckan.lib.search] Problems were found while
connecting to the SOLR server
2015-06-07 09:27:30,449 ERROR [ckan.lib.search.common] [Errno 111] Connection refused Traceback (most recent call last):
File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/common.py", line 51,
in is_available
conn.query(":", rows=1)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 703, in query
return self.select(*args, **params)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 798, in call
xml = self.raw(**params)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 823, in raw
rsp = conn._post(self.selector, request, conn.form_headers)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 646, in _post
self._reconnect()
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py",
line 625, in _reconnect
self.conn.connect()
File "/usr/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
2015-06-07 09:27:30,454
WARNI [ckan.lib.search] Problems were found while connecting to the SOLR server
2015-06-07 09:27:30,792 CRITI [ckan.lib.uploader] Please specify a ckan.storage_path in your config for your uploads
Starting server in PID 4186. serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
eu encontrei o arquivo xml solr, mas não consegui ver o que deveria mudar.