[ckan-dev] RE : Trouble installing ckan
Rufus Pollock
rufus.pollock at okfn.org
Thu Aug 23 15:48:52 UTC 2012
On 23 August 2012 16:46, mehdi benchoufi <benchoufi.mehdi at gmail.com> wrote:
> Hi again Sean,
>
> I finally managed to activate the copy-paste between my mac and
> ubuntu-guest. So, I downloaded what I could using the command
>
> Then, I followed step by step the doc, I ran paster serve development.ini,
> and here's what I get:
>
> 2012-08-23 17:41:20,486 ERROR [ckan.lib.search.common] [Errno 111]
> Connection refused
> Traceback (most recent call last):
> File "/home/mbenchoufi/pyenv/src/ckan/ckan/lib/search/common.py", line 51,
> in is_available
> conn.query("*:*", rows=1)
> File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 703, in
> query
> return self.select(*args, **params)
> File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 798, in
> __call__
> xml = self.raw(**params)
> File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 823, in
> raw
> rsp = conn._post(self.selector, request, conn.form_headers)
> File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 646, in
> _post
> self._reconnect()
> File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 625, in
> _reconnect
> self.conn.connect()
> File "/usr/lib/python2.7/httplib.py", line 757, 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
> 2012-08-23 17:41:20,547 WARNI [ckan.lib.search] Problems were found while
> connecting to the SOLR server
> Starting server in PID 2023.
> serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
See that error message:
error: [Errno 111] Connection refused
> 2012-08-23 17:41:20,547 WARNI [ckan.lib.search] Problems were found while
> connecting to the SOLR server
That means your SOLR server is not setup. Note that you can set (at
least in current master):
ckan.simple_search = 1
And disable use of SOLR (though not all features may work perfectly).
> When I try to connect to http://127.0.0.1:5000/, I have the ckan
> environement displaying with a warning : 'internal server error'
>
> Do you think I can fix it ?
Get your SOLR connection working :-)
Rufus
More information about the ckan-dev
mailing list