[ckan-dev] Start-up issue after install from source

BIHANIC Laurent laurent.bihanic at atos.net
Tue Apr 17 14:50:07 UTC 2012


Hi,

 > 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/?

SOLR is running OK: I can connect to it, go to the admin page and display the
CKAN schema 1.3.
This SOLR instance was actually installed previously through the CKAN package
installer and I copied the SOLR URL from the std.ini.

That may be the cause of the 403 (forbidden) error I'm encountering.
Is there some kind of security/authentication configuration that the package
installer may have set up that I should copy into my developer.ini ?

Thanks,

Laurent


Le 17/04/12 11:05, Sean Hammond a écrit :
>> 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/ ?
>
________________________________


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.




More information about the ckan-dev mailing list