[ckan-dev] CKAN installation - unable to create database tables

Ross Jones ross at servercode.co.uk
Thu Jul 10 08:33:48 UTC 2014


It’s trying to connect to Solr and failing.  Probably need to get solr up and running properly first.

Ross


On 10 Jul 2014, at 08:27, Library IT <libraryit at iimahd.ernet.in> wrote:

> Dear CKAN Tech Team,
> 
> I am new for CKAN and I am facing some issue while installing the CKAN.
> 
> System :
> ---------------
> System archit : 32-bit
> OS : Ubuntu 12.04 LTS (64-bit)
> 
> 
> ​I have try using Installing CKAN from Package as well as Installing CKAN from Source but on the both I am stuck on following command :
> paster db init -c /etc/ckan/default/development.ini
> 
> ​​​ ​It's showing me ​​some error as following :
> ------------------------
> (default)root at library-it:/usr/lib/ckan/default/src/ckan# paster db init -c /etc/ckan/default/development.ini
> Traceback (most recent call last):
>   File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
>     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
>   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 104, in run
>     invoke(command, command_name, options, args[1:])
>   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke
>     exit_code = runner.run(args)
>   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run
>     result = self.command()
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 141, in command
>     self._load_config()
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 96, in _load_config
>     load_environment(conf.global_conf, conf.local_conf)
>   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
>     p.load_all(config)
>   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 124, in load_all
>     unload_all()
>   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 182, in unload_all
>     unload(*reversed(_PLUGINS))
>   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 210, in unload
>     plugins_update()
>   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 116, in plugins_update
>     environment.update_config()
>   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 270, in update_config
>     search.check_solr_schema_version()
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/__init__.py", line 291, in check_solr_schema_version
>     res = urllib2.urlopen(req)
>   File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/usr/lib/python2.7/urllib2.py", line 406, in open
>     response = meth(req, response)
>   File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib/python2.7/urllib2.py", line 444, in error
>     return self._call_chain(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> urllib2.HTTPError: HTTP Error 503: Service Unavailable
> ------------------------------------------------------------------------
> What may be the issue.. please help me on this.
> 
> NOTE : Please find the attached image
> 
> Bhavesh Patel​
> <CKAN_database_init_error.png>_______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140710/15c50896/attachment-0003.html>


More information about the ckan-dev mailing list