[ckan-dev] Error 111 Connection Refused
akakorozya
akakorozya at gmail.com
Mon Oct 7 11:41:23 UTC 2013
Hi David,
I am deploying CKAN on remote server running Ubuntu 10.04 using virtual
Environment. Solr runs fine on port 8983 and I could successfully start
jetty
The problem I am facing is when I run the command
paster serve /etc/ckan/default/development.ini
The application successfully creates the database with its respective
tables but I get the following error message on the terminal saying
(default)root at ihidata:/usr/lib/ckan/default/src/ckan# paster db init -c
/etc/ckan/default/development.ini
2013-10-07 12:32:49,786 ERROR [ckan.lib.search.common] [Errno 111]
Connection refused
Traceback (most recent call last):
File "/root/ckan/lib/default/src/ckan/ckan/lib/search/common.py", line
51, in is_available
conn.query("*:*", rows=1)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 703, in query
return self.select(*args, **params)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 798, in __call__
xml = self.raw(**params)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 823, in raw
rsp = conn._post(self.selector, request, conn.form_headers)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 646, in _post
self._reconnect()
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 625, in _reconnect
self.conn.connect()
File "/usr/lib/python2.6/httplib.py", line 716, in connect
self.timeout)
File "/usr/lib/python2.6/socket.py", line 514, in create_connection
raise error, msg
error: [Errno 111] Connection refused
2013-10-07 12:32:49,787 WARNI [ckan.lib.search] Problems were found while
connecting to the SOLR server
2013-10-07 12:32:50,005 ERROR [ckan.lib.search.common] [Errno 111]
Connection refused
Traceback (most recent call last):
File "/root/ckan/lib/default/src/ckan/ckan/lib/search/common.py", line
51, in is_available
conn.query("*:*", rows=1)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 703, in query
return self.select(*args, **params)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 798, in __call__
xml = self.raw(**params)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 823, in raw
rsp = conn._post(self.selector, request, conn.form_headers)
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 646, in _post
self._reconnect()
File "/usr/lib/ckan/default/lib/python2.6/site-packages/solr/core.py",
line 625, in _reconnect
self.conn.connect()
File "/usr/lib/python2.6/httplib.py", line 716, in connect
self.timeout)
File "/usr/lib/python2.6/socket.py", line 514, in create_connection
raise error, msg
error: [Errno 111] Connection refused
*2013-10-07 12:32:50,005 WARNI [ckan.lib.search] Problems were found while
connecting to the SOLR server*
2013-10-07 12:32:50,225 INFO [ckan.model] CKAN database version remains
as: 70
2013-10-07 12:32:50,305 INFO [ckan.model] Database initialised
Initialising DB: SUCCESS
When I open the browser on this URL http://127.0.0.1:5000/
The site open with message saying “Internal Server Error”
I am stuck here and can’t go any further, could you please help me on this
Kind regards,
Advocatus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131007/0530529e/attachment.html>
More information about the ckan-dev
mailing list