[ckan-dev] starting CKAN problem displaying with a warning : 'internal server error' :"error: [Errno 111] Connection refused"

bupt bupt buptloveandroid at gmail.com
Sat Mar 16 12:41:13 UTC 2013


Thank you very much, that's the solr configure problem indeed~~

2013/3/15 Ross Jones <ross at servercode.co.uk>

> Hi,
>
> Looks like it is failing to connect to Solr, is Solr up and running? The
> docs for 1.8 are at http://docs.ckan.org/en/ckan-1.8/solr-setup.html
>
> Ross.
>
>
>
> On Fri, Mar 15, 2013 at 10:44 AM, bupt bupt <buptloveandroid at gmail.com>wrote:
>
>> Could you help me solve this problem? Thank you !
>>
>>
>> 2013/3/15 bupt bupt <buptloveandroid at gmail.com>
>>
>>>
>>>
>>> hi everyone,
>>>     when I finish installing CKAN, I ran paster serve development.ini
>>> to start CKAN,but it appears error: [Errno 111] Connection refused", when I
>>> visit the CKAN from web browser, it displays with a warning : 'internal
>>> server error' :"
>>>
>>> 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
>>>
>>>
>>> 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 ?
>>>
>>>
>>>>>>
>>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130316/8cee0b90/attachment-0001.html>


More information about the ckan-dev mailing list