[ckan-dev] Start-up issue after install from source
Sean Hammond
sean.hammond at okfn.org
Tue Apr 17 09:05:19 UTC 2012
> After installing CKAN from the source (latest I guess), I get the following
> error when running $ paster serve development.ini:
>
> ...
> File "/home/lbihanic/pyenv/src/ckan/ckan/lib/search/__init__.py", line 259,
> in check_solr_schema_version
> res = urllib2.urlopen(req)
> ...
> urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
>
> The full trace is provided below.
>
> If I uncomment solr_url in development.ini to:
> solr_url = http://127.0.0.1:8983/solr
> I get:
> urllib2.HTTPError: HTTP Error 403: Forbidden
>
> Yet, the CKAN 1.3 schema is available at
> http://localhost:8983/solr/admin/file/?file=schema.xml
>
> Finally, if I use an incorrect URL (say "http://127.0.0.1:8983/solr/"), CKAN
> starts with the messages below but I can not add new datasets.
>
> SolrException: HTTP code=404, reason=Not Found
> 2012-04-13 17:36:09,062 WARNI [ckan.lib.search] Problems were found while
> connecting to the SOLR server
> Starting server in PID 9454.
> serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
>
> Could someone help me find me what I did wrong ?
Hi Laurent, it sounds like you don't have solr running right. Do you see the
solr welcome page with no errors when you go to http://localhost:8983/solr/ ?
More information about the ckan-dev
mailing list