Actions
Incident #10004
closedckan-sobigdata2 fails to restart because it cannot find the oaipmh plugin
Status:
Closed
Priority:
Urgent
Assignee:
Category:
System Application
Target version:
Start date:
Oct 22, 2017
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
The apache reload after the log rotation failed with the following error:
[Sun Oct 22 06:25:12.451876 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] Traceback (most recent call last): [Sun Oct 22 06:25:12.451891 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/etc/ckan/default/apache.wsgi", line 10, in <module> [Sun Oct 22 06:25:12.451956 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] _application = loadapp('config:%s' % config_filepath) [Sun Oct 22 06:25:12.451971 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp [Sun Oct 22 06:25:12.452206 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] return loadobj(APP, uri, name=name, **kw) [Sun Oct 22 06:25:12.452223 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj [Sun Oct 22 06:25:12.452240 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] return context.create() [Sun Oct 22 06:25:12.452247 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create [Sun Oct 22 06:25:12.452258 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] return self.object_type.invoke(self) [Sun Oct 22 06:25:12.452264 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke [Sun Oct 22 06:25:12.452274 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] return fix_call(context.object, context.global_conf, **context.local_conf) [Sun Oct 22 06:25:12.452288 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call [Sun Oct 22 06:25:12.452343 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] val = callable(*args, **kw) [Sun Oct 22 06:25:12.452356 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware/__init__.py", line 45, in make_app [Sun Oct 22 06:25:12.452431 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] load_environment(conf, app_conf) [Sun Oct 22 06:25:12.452449 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 97, in load_environment [Sun Oct 22 06:25:12.452554 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] p.load_all() [Sun Oct 22 06:25:12.452571 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 139, in load_all [Sun Oct 22 06:25:12.452653 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] load(*plugins) [Sun Oct 22 06:25:12.452661 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 153, in load [Sun Oct 22 06:25:12.452675 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] service = _get_service(plugin) [Sun Oct 22 06:25:12.452681 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 256, in _get_service [Sun Oct 22 06:25:12.452692 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] raise PluginNotFoundException(plugin_name) [Sun Oct 22 06:25:12.452707 2017] [:error] [pid 25301:tid 139879935280896] [remote 127.0.0.1:20573] PluginNotFoundException: oaipmh
I had to remove the oaipmh plugin from the CKAN configuration to make the service work again.
Actions