CKAN Harvester failing to load individual harvest pages - mod-wsgi

Okey Doke,
This is a CKAN Harvester issue.
I've successfully installed CKAN 2.8.1
It is served with Apache 2.4.18
I've turned off the nginx caching server
I've installed an SSL certificate
Solr 3.6.2/Jetty 8 is functioning
PostGreSQL 9.5.14 is functioning
Then I've installed ckanext-harvest on top of a Redis 3.0.6 server. Everything seemed to load absolutely fine. The harvester Web UI comes up. It allows me to create a new harvest and all functionality with the add/search screen appears to be working.
The issue comes when I attempt to launch an individual harvest page. CKAN itself appears to be fine acting as a frame, but the page contents return a 500 Internal Server Error.
[Fri Oct 26 14:10:04.017779 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] Error - <type 'exceptions.TypeError'>: get() takes exactly 2 arguments (3 given)
[Fri Oct 26 14:10:04.019248 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] URL: https://my.ckan.instance/harvest/publications-test
[Fri Oct 26 14:10:04.019272 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
There were several more lines here which appeared to just be following the TypeError through several functions, and I'm already over my character count.
[Fri Oct 26 14:10:04.019450 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] reraise(exc_type, exc_value, tb)
[Fri Oct 26 14:10:04.019453 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/templates/source/read.html', line 1 in top-level template code
[Fri Oct 26 14:10:04.019457 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% extends "source/read_base.html" %}
[Fri Oct 26 14:10:04.019461 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/templates/source/read_base.html', line 1 in top-level template code
[Fri Oct 26 14:10:04.019465 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% extends "source/base.html" %}
[Fri Oct 26 14:10:04.019473 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/templates/source/base.html', line 7 in top-level template code
[Fri Oct 26 14:10:04.019478 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% set authorized_user = h.check_access('harvest_source_create') %}
[Fri Oct 26 14:10:04.019481 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckan/ckan/templates/page.html', line 1 in top-level template code
[Fri Oct 26 14:10:04.019485 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% extends "base.html" %}
[Fri Oct 26 14:10:04.019488 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/templates/base.html', line 1 in top-level template code
[Fri Oct 26 14:10:04.019492 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% ckan_extends %}
[Fri Oct 26 14:10:04.019495 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckan/ckan/templates/base.html', line 108 in top-level template code
[Fri Oct 26 14:10:04.019498 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {%- block page %}{% endblock -%}
[Fri Oct 26 14:10:04.019501 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckan/ckan/templates/page.html', line 19 in block "page"
[Fri Oct 26 14:10:04.019505 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {%- block content %}
[Fri Oct 26 14:10:04.019509 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckan/ckan/templates/page.html', line 22 in block "content"
[Fri Oct 26 14:10:04.019512 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% block main_content %}
[Fri Oct 26 14:10:04.019516 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckan/ckan/templates/page.html', line 74 in block "main_content"
[Fri Oct 26 14:10:04.019519 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% block primary %}
[Fri Oct 26 14:10:04.019523 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckan/ckan/templates/page.html', line 87 in block "primary"
[Fri Oct 26 14:10:04.019526 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% block primary_content %}
[Fri Oct 26 14:10:04.019530 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/templates/source/read_base.html', line 54 in block "primary_content"
[Fri Oct 26 14:10:04.019535 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {% block primary_content_inner %}{% endblock %}
[Fri Oct 26 14:10:04.019539 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/templates/source/read.html', line 6 in block "primary_content_inner"
[Fri Oct 26 14:10:04.019543 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] {{ h.package_list_for_source(source.id) }}
[Fri Oct 26 14:10:04.019546 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] File '/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/helpers.py', line 33 in package_list_for_source
[Fri Oct 26 14:10:04.019550 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] owner_org = p.toolkit.c.harvest_source.get('owner_org', '')
[Fri Oct 26 14:10:04.019554 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] TypeError: get() takes exactly 2 arguments (3 given)
[Fri Oct 26 14:10:04.019560 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139]
[Fri Oct 26 14:10:04.019562 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139]
[Fri Oct 26 14:10:04.019564 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] CGI Variables
[Fri Oct 26 14:10:04.019566 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] -------------
[Fri Oct 26 14:10:04.019569 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] AUTH_TYPE: 'cookie'
[Fri Oct 26 14:10:04.019571 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] CKAN_CURRENT_URL: '/harvest/publications-test'
[Fri Oct 26 14:10:04.019573 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] CKAN_LANG: 'en'
[Fri Oct 26 14:10:04.019575 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] CKAN_LANG_IS_DEFAULT: True
[Fri Oct 26 14:10:04.019577 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] CONTEXT_DOCUMENT_ROOT: '/var/www/html'
[Fri Oct 26 14:10:04.019580 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] DOCUMENT_ROOT: '/var/www/html'
[Fri Oct 26 14:10:04.019582 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] GATEWAY_INTERFACE: 'CGI/1.1'
[Fri Oct 26 14:10:04.019584 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
[Fri Oct 26 14:10:04.019586 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
[Fri Oct 26 14:10:04.019589 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_ACCEPT_LANGUAGE: 'en-GB,en;q=0.5'
[Fri Oct 26 14:10:04.019591 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_CACHE_CONTROL: 'no-cache'
[Fri Oct 26 14:10:04.019593 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_CONNECTION: 'keep-alive'
[Fri Oct 26 14:10:04.019596 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_COOKIE: '_ga=GA1.3.1163404101.1536593766; auth_tkt="b7a04011378bdd4f41b6413907535e5b5bbab899sexylegs!userid_type=unicode"; auth_tkt="b7a04011378bdd4f41b6413907535e5b5bbab899sexylegs!userid_type=unicode"; _gid=GA1.3.1885732594.1540384463; ckan=0a65c59174d44082cc2b662c58c667927520463e0cd27365dcce49b38b92df11e1a93d55'
[Fri Oct 26 14:10:04.019599 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_HOST: 'my.ckan.instance'
[Fri Oct 26 14:10:04.019601 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_PRAGMA: 'no-cache'
[Fri Oct 26 14:10:04.019603 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_REFERER: 'https://my.ckan.instance/harvest'
[Fri Oct 26 14:10:04.019605 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_UPGRADE_INSECURE_REQUESTS: '1'
[Fri Oct 26 14:10:04.019608 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] HTTP_USER_AGENT: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0'
[Fri Oct 26 14:10:04.019610 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] PATH_INFO: '/harvest/publications-test'
[Fri Oct 26 14:10:04.019612 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] PATH_TRANSLATED: '/etc/ckan/default/apache.wsgi/harvest/publications-test'
[Fri Oct 26 14:10:04.019615 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REMOTE_ADDR: '178.170.143.229'
[Fri Oct 26 14:10:04.019620 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REMOTE_PORT: '61260'
[Fri Oct 26 14:10:04.019622 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REMOTE_USER: u'sexylegs'
[Fri Oct 26 14:10:04.019624 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REMOTE_USER_DATA: 'userid_type=unicode'
[Fri Oct 26 14:10:04.019626 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REMOTE_USER_TOKENS: ['']
[Fri Oct 26 14:10:04.019628 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REQUEST_METHOD: 'GET'
[Fri Oct 26 14:10:04.019631 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REQUEST_SCHEME: 'https'
[Fri Oct 26 14:10:04.019633 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] REQUEST_URI: '/harvest/publications-test'
[Fri Oct 26 14:10:04.019635 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SCRIPT_FILENAME: '/etc/ckan/default/apache.wsgi'
[Fri Oct 26 14:10:04.019637 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_ADDR: 'top.secret.ip.address'
[Fri Oct 26 14:10:04.019639 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_ADMIN: '[no address given]'
[Fri Oct 26 14:10:04.019642 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_NAME: 'my.ckan.instance'
[Fri Oct 26 14:10:04.019644 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_PORT: '443'
[Fri Oct 26 14:10:04.019646 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_PROTOCOL: 'HTTP/1.1'
[Fri Oct 26 14:10:04.019648 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_SIGNATURE: '<address>Apache/2.4.18 (Ubuntu) Server at my.ckan.instance Port 443</address>\\n'
[Fri Oct 26 14:10:04.019651 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SERVER_SOFTWARE: 'Apache/2.4.18 (Ubuntu)'
[Fri Oct 26 14:10:04.019653 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] SSL_TLS_SNI: 'my.ckan.instance'
[Fri Oct 26 14:10:04.019655 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139]
[Fri Oct 26 14:10:04.019657 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139]
[Fri Oct 26 14:10:04.019659 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] WSGI Variables
[Fri Oct 26 14:10:04.019661 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] --------------
[Fri Oct 26 14:10:04.019663 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] __no_cache__: True
[Fri Oct 26 14:10:04.019665 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] apache.version: (2, 4, 18)
[Fri Oct 26 14:10:04.019668 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] application: <fanstatic.publisher.Delegator object at 0x7fdf44e09490>
[Fri Oct 26 14:10:04.019670 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] beaker.cache: <beaker.cache.CacheManager object at 0x7fdf44e093d0>
[Fri Oct 26 14:10:04.019672 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fdf44e09350>>
[Fri Oct 26 14:10:04.019675 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] beaker.session: {'_accessed_time': 1540563003.924279, '_creation_time': 1540529664.548382}
[Fri Oct 26 14:10:04.019677 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] ckan.app: 'pylons_app'
[Fri Oct 26 14:10:04.019679 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fdf44b0b8d0>
[Fri Oct 26 14:10:04.019687 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.application_group: 'my.ckan.instance|'
[Fri Oct 26 14:10:04.019690 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.callable_object: 'application'
[Fri Oct 26 14:10:04.019692 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.daemon_connects: '1'
[Fri Oct 26 14:10:04.019694 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.daemon_restarts: '0'
[Fri Oct 26 14:10:04.019696 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.daemon_start: '1540563003887410'
[Fri Oct 26 14:10:04.019699 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.enable_sendfile: '0'
[Fri Oct 26 14:10:04.019701 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.handler_script: ''
[Fri Oct 26 14:10:04.019703 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.input_chunked: '0'
[Fri Oct 26 14:10:04.019705 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.listener_host: ''
[Fri Oct 26 14:10:04.019707 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.listener_port: '443'
[Fri Oct 26 14:10:04.019709 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.process_group: 'ckan_default'
[Fri Oct 26 14:10:04.019711 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.queue_start: '1540563003887238'
[Fri Oct 26 14:10:04.019714 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.request_handler: 'wsgi-script'
[Fri Oct 26 14:10:04.019716 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.request_start: '1540563003887070'
[Fri Oct 26 14:10:04.019718 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.script_reloading: '1'
[Fri Oct 26 14:10:04.019720 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.script_start: '1540563003887475'
[Fri Oct 26 14:10:04.019722 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] mod_wsgi.version: (4, 3, 0)
[Fri Oct 26 14:10:04.019726 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] paste.cookies: (<SimpleCookie: _ga='GA1.3.1163404101.1536593766' _gid='GA1.3.1885732594.1540384463' auth_tkt='b7a04011378bdd4f41b6413907535e5b5bbab899sexylegs!userid_type=unicode' ckan='0a65c59174d44082cc2b662c58c667927520463e0cd27365dcce49b38b92df11e1a93d55'>, '_ga=GA1.3.1163404101.1536593766; auth_tkt="b7a04011378bdd4f41b6413907535e5b5bbab899sexylegs!userid_type=unicode"; auth_tkt="b7a04011378bdd4f41b6413907535e5b5bbab899sexylegs!userid_type=unicode"; _gid=GA1.3.1885732594.1540384463; ckan=0a65c59174d44082cc2b662c58c667927520463e0cd27365dcce49b38b92df11e1a93d55')
[Fri Oct 26 14:10:04.019729 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] paste.registry: <paste.registry.Registry object at 0x7fdf44aa3310>
[Fri Oct 26 14:10:04.019732 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] paste.throw_errors: True
[Fri Oct 26 14:10:04.019734 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] pylons.action_method: <bound method PackageController.read of <ckan.controllers.package.PackageController object at 0x7fdf44842b50>>
[Fri Oct 26 14:10:04.019737 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] pylons.controller: <ckan.controllers.package.PackageController object at 0x7fdf44842b50>
[Fri Oct 26 14:10:04.019739 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Fri Oct 26 14:10:04.019754 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] pylons.pylons: <pylons.util.PylonsContext object at 0x7fdf44842650>
[Fri Oct 26 14:10:04.019757 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] pylons.routes_dict: {'action': u'read', 'controller': u'package', 'id': u'publications-test'}
[Fri Oct 26 14:10:04.019759 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] repoze.who.api: <repoze.who.api.API object at 0x7fdf449ad4d0>
[Fri Oct 26 14:10:04.019762 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140596914222616>
[Fri Oct 26 14:10:04.019764 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] repoze.who.logger: <logging.Logger object at 0x7fdf44e58810>
[Fri Oct 26 14:10:04.019767 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fdf44e58750>, 'friendlyform': <FriendlyFormPlugin 140596910326416>, 'auth_tkt': <CkanAuthTktCookiePlugin 140596910326352>}
[Fri Oct 26 14:10:04.019769 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] routes.route: <routes.route.Route object at 0x7fdf450e0f10>
[Fri Oct 26 14:10:04.019772 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] routes.url: <routes.util.URLGenerator object at 0x7fdf44879110>
[Fri Oct 26 14:10:04.019774 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] webob._parsed_query_vars: (GET([]), '')
[Fri Oct 26 14:10:04.019776 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] webob.adhoc_attrs: {'response': <Response at 0x7fdf44879450 200 OK>, 'language': 'en-us'}
[Fri Oct 26 14:10:04.019778 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] wsgi process: 'Multi process AND threads (?)'
[Fri Oct 26 14:10:04.019781 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] wsgi.file_wrapper: <type 'mod_wsgi.FileWrapper'>
[Fri Oct 26 14:10:04.019783 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fdf44879110>, {'action': u'read', 'controller': u'package', 'id': u'publications-test'})
[Fri Oct 26 14:10:04.019786 2018] [wsgi:error] [pid 8201:tid 140597204223744] [remote 178.170.143.229:23139] ------------------------------------------------------------
[Fri Oct 26 14:10:04.083878 2018] [wsgi:error] [pid 8201:tid 140597204223744] 2018-10-26 14:10:04,083 INFO [ckan.lib.base] /harvest/publications-test render time 0.063 seconds
So, I have limited knowledge of server thingymabobs, but this is a whole lot of error which essentially seems to be saying that somethign has gone wrong with my mod_wsgi. Now I've uninstalled, reinstalled, newest version, then back to the original version. And everything I have found in stack overflow to wrangle a different way to approach this component. IN every iteration the whoel server will come down returning a 500 error. Only the original version of mod_wsgi setup in as per the instructions seems to work serving the website (with the exception of the content of an individual harvest page).
Reading the error as best I could I've noticed:
TypeError: get() takes exactly 2 arguments (3 given)
However, the line before presumably shows the call that generated this error and it only has two arguments:
owner_org = p.toolkit.c.harvest_source.get('owner_org', '')
The gather_consumer and fetch_consumer logs appear to be clean just capturing when I registered the two actions.
I'd absolutely love oen of those fixes where someone comes on and says you jsut need to run this command to unblock a port or a user or what have you, but I'm not feeling that lucky.
I guess what I'm looking for is the next series of actions I can take to debug this 500 error and move towards getting harvester up and running.
Thanks
I was doing some more digging and found that when I tested the harvester plugin with:
nosetests --reset-db --ckan --with-pylons=test-core.ini ckanext/harvest/tests
I got this response:
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL: password authentication failed for user "ckan_default"
I thought I was onto something. I've checked the password in both the .ini file and the data base and can predictably control the website's ability to talk to the database. But no combination I could think of amoungst changing the password and playing aroudn with the pg_hba.conf file allowed me to see the individual Harvest page.

This stemmed from an incompatibility between CKAN 2.8.1 and ckanext-harvest. Harvester was updated and the problem disappeared.

Related

Apache, mod_wsgi, and Pandas import error, unable to import dependencies Numpy due to error

I'm able to deploy the flask app without the Pandas library, so I don't think something is wrong with how I set up the server. Additionally, I'm able to run my flask app with pandas with Flask's development server, so I think it might be something to do with mod_wsgi.
I'm using Apache/2.4.37 (Red Hat Enterprise Linux) mod_wsgi/4.6.4 Python/3.6 configured.
I'm unable to import pandas, and trying to do so through mod_wsgi generates this error.
[Mon Nov 18 08:03:25.792041 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] "Unable to import required dependencies:\\n" + "\\n".join(missing_dependencies)
[Mon Nov 18 08:03:25.792058 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] ImportError: Unable to import required dependencies:
[Mon Nov 18 08:03:25.792063 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] numpy:
[Mon Nov 18 08:03:25.792066 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252]
[Mon Nov 18 08:03:25.792068 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
[Mon Nov 18 08:03:25.792071 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252]
[Mon Nov 18 08:03:25.792074 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] Importing the numpy c-extensions failed.
[Mon Nov 18 08:03:25.792101 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - Try uninstalling and reinstalling numpy.
[Mon Nov 18 08:03:25.792105 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - If you have already done that, then:
[Mon Nov 18 08:03:25.792108 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] 1. Check that you expected to use Python3.6 from "/usr/bin/python3",
[Mon Nov 18 08:03:25.792111 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] and that you have no directories in your PATH or PYTHONPATH that can
[Mon Nov 18 08:03:25.792114 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] interfere with the Python and numpy version "1.17.4" you're trying to use.
[Mon Nov 18 08:03:25.792117 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] 2. If (1) looks fine, you can open a new issue at
[Mon Nov 18 08:03:25.792120 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] https://github.com/numpy/numpy/issues. Please include details on:
[Mon Nov 18 08:03:25.792123 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - how you installed Python
[Mon Nov 18 08:03:25.792126 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - how you installed numpy
[Mon Nov 18 08:03:25.792129 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - your operating system
[Mon Nov 18 08:03:25.792131 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - whether or not you have multiple versions of Python installed
[Mon Nov 18 08:03:25.792134 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - if you built from source, your compiler versions and ideally a build log
[Mon Nov 18 08:03:25.792137 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252]
[Mon Nov 18 08:03:25.792140 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] - If you're working with a numpy git repository, try `git clean -xdf`
[Mon Nov 18 08:03:25.792143 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] (removes all files not under version control) and rebuild numpy.
[Mon Nov 18 08:03:25.792146 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252]
[Mon Nov 18 08:03:25.792149 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] Note: this error has many possible causes, so please don't comment on
[Mon Nov 18 08:03:25.792152 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] an existing issue about this - open a new one instead.
[Mon Nov 18 08:03:25.792155 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252]
[Mon Nov 18 08:03:25.792157 2019] [wsgi:error] [pid 13940:tid 140279706347264] [remote 73.71.92.203:61252] Original error was: /var/www/app/KENV/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so: failed to map segment from shared object
I'm running python 3.6.8, pandas is 0.25.1 and numpy is 1.17.4.
The error is probably due to SELinux restrictions.
Note that even if you manage to convince your system to load the shared libraries, using numpy under mod_wsgi is known to not work because numpy does not really support python sub-interpreters

DBAccessError(13, Permission denied) in httpd server logs, when CKAN configured with saml2

I am running CKAN with apache httpd server. So, when i enable saml2 extension in ckan. I am getting following errors in my apache logs and see "Internal Server Error" on webpage.
[Sun Jun 18 20:08:35.073897 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] mod_wsgi (pid=2604): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
[Sun Jun 18 20:08:35.073908 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] mod_wsgi (pid=2604): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
[Sun Jun 18 20:08:35.073922 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] Traceback (most recent call last):
[Sun Jun 18 20:08:35.073934 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/etc/ckan/default/apache.wsgi", line 11, in <module>
[Sun Jun 18 20:08:35.073954 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] application = loadapp('config:%s' % config_filepath)
[Sun Jun 18 20:08:35.073961 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
[Sun Jun 18 20:08:35.073974 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return loadobj(APP, uri, name=name, **kw)
[Sun Jun 18 20:08:35.073979 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
[Sun Jun 18 20:08:35.073987 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return context.create()
[Sun Jun 18 20:08:35.073992 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
[Sun Jun 18 20:08:35.074012 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return self.object_type.invoke(self)
[Sun Jun 18 20:08:35.074017 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
[Sun Jun 18 20:08:35.074025 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return fix_call(context.object, context.global_conf, **context.local_conf)
[Sun Jun 18 20:08:35.074030 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
[Sun Jun 18 20:08:35.074039 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] val = callable(*args, **kw)
[Sun Jun 18 20:08:35.074043 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/root/ckan/lib/default/src/ckan/ckan/config/middleware/__init__.py", line 48, in make_app
[Sun Jun 18 20:08:35.074052 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] **app_conf)
[Sun Jun 18 20:08:35.074057 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/root/ckan/lib/default/src/ckan/ckan/config/middleware/pylons_app.py", line 113, in make_pylons_stack
[Sun Jun 18 20:08:35.074065 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] who_parser.parse(open(app_conf['who.config_file']))
[Sun Jun 18 20:08:35.074069 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/repoze/who/config.py", line 86, in parse
[Sun Jun 18 20:08:35.074079 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] obj = self._makePlugin(name, IPlugin, options)
[Sun Jun 18 20:08:35.074090 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib/ckan/default/lib/python2.7/site-packages/repoze/who/config.py", line 42, in _makePlugin
[Sun Jun 18 20:08:35.074118 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] obj = obj(**options)
[Sun Jun 18 20:08:35.074127 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/root/ckan/lib/default/src/pysaml2/src/saml2/s2repoze/plugins/sp.py", line 663, in make_plugin
[Sun Jun 18 20:08:35.074137 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] virtual_organization=virtual_organization)
[Sun Jun 18 20:08:35.074142 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/root/ckan/lib/default/src/pysaml2/src/saml2/client_base.py", line 102, in __init__
[Sun Jun 18 20:08:35.074149 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] self.users = Population(identity_cache)
[Sun Jun 18 20:08:35.074154 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/root/ckan/lib/default/src/pysaml2/src/saml2/population.py", line 12, in __init__
[Sun Jun 18 20:08:35.074162 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] self.cache = Cache(cache)
[Sun Jun 18 20:08:35.074166 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/root/ckan/lib/default/src/pysaml2/src/saml2/cache.py", line 26, in __init__
[Sun Jun 18 20:08:35.074174 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] self._db = shelve.open(filename, writeback=True, protocol=2)
[Sun Jun 18 20:08:35.074178 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib64/python2.7/shelve.py", line 239, in open
[Sun Jun 18 20:08:35.074186 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return DbfilenameShelf(filename, flag, protocol, writeback)
[Sun Jun 18 20:08:35.074190 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib64/python2.7/shelve.py", line 223, in __init__
[Sun Jun 18 20:08:35.074196 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
[Sun Jun 18 20:08:35.074201 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib64/python2.7/anydbm.py", line 85, in open
[Sun Jun 18 20:08:35.074207 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return mod.open(file, flag, mode)
[Sun Jun 18 20:08:35.074211 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib64/python2.7/dbhash.py", line 19, in open
[Sun Jun 18 20:08:35.074218 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] return bsddb.hashopen(file, flag, mode)
[Sun Jun 18 20:08:35.074223 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] File "/usr/lib64/python2.7/bsddb/__init__.py", line 366, in hashopen
[Sun Jun 18 20:08:35.074230 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] d.open(file, db.DB_HASH, flags, mode)
[Sun Jun 18 20:08:35.074246 2017] [wsgi:error] [pid 2604] [client 10.164.136.102:16035] DBAccessError: (13, 'Permission denied')
It looks like the user httpd is running as does not have permission to read or write to the locations specified by sid_store or identity_cache in who.ini. I suspect it's the latter but I'm unsure without checking the code.

RuntimeError: populate() isn't reentrant on CentOS 7 | django 1.9 | python3

Im deploying a django application on a intranet environment. I've already set up a testing server and everything is fine (after breaking my head fixing errors).
This time, im seting up the production server and after configuring everything, i got an error 500, here is the httpd/logs/error_log:
traceback
[Thu Oct 27 09:44:15.480662 2016] [:error] [pid 15250] [remote 10.105.40.106:200] mod_wsgi (pid=15250): Target WSGI script '/home/rortega/smce/smce/wsgi.py' cannot be loaded as Python module.
[Thu Oct 27 09:44:15.480706 2016] [:error] [pid 15250] [remote 10.105.40.106:200] mod_wsgi (pid=15250): Exception occurred processing WSGI script '/home/rortega/smce/smce/wsgi.py'.
[Thu Oct 27 09:44:15.480736 2016] [:error] [pid 15250] [remote 10.105.40.106:200] Traceback (most recent call last):
[Thu Oct 27 09:44:15.480764 2016] [:error] [pid 15250] [remote 10.105.40.106:200] File "/home/rortega/smce/smce/wsgi.py", line 16, in <module>
[Thu Oct 27 09:44:15.480805 2016] [:error] [pid 15250] [remote 10.105.40.106:200] application = get_wsgi_application()
[Thu Oct 27 09:44:15.480823 2016] [:error] [pid 15250] [remote 10.105.40.106:200] File "/home/rortega/smce_env/lib/python3.5/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Thu Oct 27 09:44:15.480852 2016] [:error] [pid 15250] [remote 10.105.40.106:200] django.setup()
[Thu Oct 27 09:44:15.480868 2016] [:error] [pid 15250] [remote 10.105.40.106:200] File "/home/rortega/smce_env/lib/python3.5/site-packages/django/__init__.py", line 18, in setup
[Thu Oct 27 09:44:15.480892 2016] [:error] [pid 15250] [remote 10.105.40.106:200] apps.populate(settings.INSTALLED_APPS)
[Thu Oct 27 09:44:15.480908 2016] [:error] [pid 15250] [remote 10.105.40.106:200] File "/home/rortega/smce_env/lib/python3.5/site-packages/django/apps/registry.py", line 78, in populate
[Thu Oct 27 09:44:15.480932 2016] [:error] [pid 15250] [remote 10.105.40.106:200] raise RuntimeError("populate() isn't reentrant")
[Thu Oct 27 09:44:15.480958 2016] [:error] [pid 15250] [remote 10.105.40.106:200] RuntimeError: populate() isn't reentrant
[Thu Oct 27 09:44:15.561544 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] mod_wsgi (pid=15250): Target WSGI script '/home/rortega/smce/smce/wsgi.py' cannot be loaded as Python module.
[Thu Oct 27 09:44:15.561571 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] mod_wsgi (pid=15250): Exception occurred processing WSGI script '/home/rortega/smce/smce/wsgi.py'.
[Thu Oct 27 09:44:15.561597 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] Traceback (most recent call last):
[Thu Oct 27 09:44:15.561623 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] File "/home/rortega/smce/smce/wsgi.py", line 16, in <module>
[Thu Oct 27 09:44:15.561658 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] application = get_wsgi_application()
[Thu Oct 27 09:44:15.561675 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] File "/home/rortega/smce_env/lib/python3.5/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Thu Oct 27 09:44:15.561703 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] django.setup()
[Thu Oct 27 09:44:15.561719 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] File "/home/rortega/smce_env/lib/python3.5/site-packages/django/__init__.py", line 18, in setup
[Thu Oct 27 09:44:15.561743 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] apps.populate(settings.INSTALLED_APPS)
[Thu Oct 27 09:44:15.561774 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] File "/home/rortega/smce_env/lib/python3.5/site-packages/django/apps/registry.py", line 78, in populate
[Thu Oct 27 09:44:15.561800 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] raise RuntimeError("populate() isn't reentrant")
[Thu Oct 27 09:44:15.561824 2016] [:error] [pid 15250] [remote 10.105.40.106:54216] RuntimeError: populate() isn't reentrant
Another things i noticed before cheking funtionality:
When executing makemigrations, only one model file of my 4 apps made the migrations, like if there is only one app
python manage.py runserver without errors
RuntimeError: populate() isn't reentrant
In my experience this usually means there is an error in the Django project somewhere. It can be hard to locate. Also, don't forget to restart apache.
When executing makemigrations, only one model file of my 4 apps made the migrations, like if there is only one app
Try pointing makemigrations to the specific app:
python manage.py makemigrations appname
Don't forget to apply migrations afterward:
python manage.py migrate
For everyone getting this problem, it can be anything, like a wrong django configuration or something with de mod_wsgi.
in my case it was that i needed to build python 3 with the --enable-shared tag.
if this is also your case, you can follow this.

Keystone Wirecloud Authentication failed: [SSL: CERTIFICATE_VERIFY_FAILED]

When trying to authenticate in Wirecloud via KeyStone we get the following error displayed in the browser:
Environment:
Request Method: GET
Request URL: https://<ServerURL>/complete/fiware/?state=SDyJk9ru8wSLwUZIRtSrwI86jznMIv8O&code=WzIZ11YpmGAuZoltvTTGMGoP45ZtHe
Django Version: 1.6.11
Python Version: 2.7.9
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'wirecloud.commons',
'wirecloud.defaulttheme',
'compressor',
'south',
'wirecloud.catalogue',
'wirecloud.platform',
'wirecloud.fiware',
'social.apps.django_app.default')
Installed Middleware:
('wirecloud.commons.middleware.URLMiddleware',)
Traceback:
File "/usr/local/venv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
52. response = view_func(request, *args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
57. return view_func(*args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/apps/django_app/utils.py" in wrapper
51. return func(request, backend, *args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/apps/django_app/views.py" in complete
28. redirect_name=REDIRECT_FIELD_NAME, *args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/actions.py" in do_complete
43. user = backend.complete(user=user, *args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/backends/base.py" in complete
41. return self.auth_complete(*args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/utils.py" in wrapper
229. return func(*args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/backends/oauth.py" in auth_complete
383. method=self.ACCESS_TOKEN_METHOD
File "/usr/local/venv/lib/python2.7/site-packages/social/backends/oauth.py" in request_access_token
361. return self.get_json(*args, **kwargs)
File "/usr/local/venv/lib/python2.7/site-packages/social/backends/base.py" in get_json
229. return self.request(url, *args, **kwargs).json()
File "/usr/local/venv/lib/python2.7/site-packages/social/backends/base.py" in request
224. raise AuthFailed(self, str(err))
Exception Type: AuthFailed at /complete/fiware/
Exception Value: Authentication failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
The Wirecloud log shows the following:
[Fri Mar 04 08:09:51.933675 2016] [ssl:info] [pid 29119:tid 140090189723392] [client 172.30.20.99:63539] AH01964: Connection to child 20 established (server <ServerURL>:443)
[Fri Mar 04 08:10:04.388865 2016] [ssl:info] [pid 29120:tid 140090223294208] [client 172.30.20.99:63557] AH01964: Connection to child 80 established (server <ServerURL>:443)
[Fri Mar 04 08:10:04.443926 2016] [wsgi:error] [pid 29117:tid 140090323621632] Internal Server Error: /complete/fiware/
[Fri Mar 04 08:10:04.443940 2016] [wsgi:error] [pid 29117:tid 140090323621632] Traceback (most recent call last):
[Fri Mar 04 08:10:04.443942 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
[Fri Mar 04 08:10:04.443945 2016] [wsgi:error] [pid 29117:tid 140090323621632] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri Mar 04 08:10:04.443947 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
[Fri Mar 04 08:10:04.443950 2016] [wsgi:error] [pid 29117:tid 140090323621632] response = view_func(request, *args, **kwargs)
[Fri Mar 04 08:10:04.443952 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
[Fri Mar 04 08:10:04.443954 2016] [wsgi:error] [pid 29117:tid 140090323621632] return view_func(*args, **kwargs)
[Fri Mar 04 08:10:04.443956 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/apps/django_app/utils.py", line 51, in wrapper
[Fri Mar 04 08:10:04.443958 2016] [wsgi:error] [pid 29117:tid 140090323621632] return func(request, backend, *args, **kwargs)
[Fri Mar 04 08:10:04.443960 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/apps/django_app/views.py", line 28, in complete
[Fri Mar 04 08:10:04.443962 2016] [wsgi:error] [pid 29117:tid 140090323621632] redirect_name=REDIRECT_FIELD_NAME, *args, **kwargs)
[Fri Mar 04 08:10:04.443964 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/actions.py", line 43, in do_complete
[Fri Mar 04 08:10:04.443966 2016] [wsgi:error] [pid 29117:tid 140090323621632] user = backend.complete(user=user, *args, **kwargs)
[Fri Mar 04 08:10:04.443968 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/backends/base.py", line 41, in complete
[Fri Mar 04 08:10:04.443971 2016] [wsgi:error] [pid 29117:tid 140090323621632] return self.auth_complete(*args, **kwargs)
[Fri Mar 04 08:10:04.443973 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/utils.py", line 229, in wrapper
[Fri Mar 04 08:10:04.443975 2016] [wsgi:error] [pid 29117:tid 140090323621632] return func(*args, **kwargs)
[Fri Mar 04 08:10:04.443977 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/backends/oauth.py", line 383, in auth_complete
[Fri Mar 04 08:10:04.443979 2016] [wsgi:error] [pid 29117:tid 140090323621632] method=self.ACCESS_TOKEN_METHOD
[Fri Mar 04 08:10:04.443981 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/backends/oauth.py", line 361, in request_access_token
[Fri Mar 04 08:10:04.443983 2016] [wsgi:error] [pid 29117:tid 140090323621632] return self.get_json(*args, **kwargs)
[Fri Mar 04 08:10:04.443985 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/backends/base.py", line 229, in get_json
[Fri Mar 04 08:10:04.443987 2016] [wsgi:error] [pid 29117:tid 140090323621632] return self.request(url, *args, **kwargs).json()
[Fri Mar 04 08:10:04.443995 2016] [wsgi:error] [pid 29117:tid 140090323621632] File "/usr/local/venv/lib/python2.7/site-packages/social/backends/base.py", line 224, in request
[Fri Mar 04 08:10:04.443997 2016] [wsgi:error] [pid 29117:tid 140090323621632] raise AuthFailed(self, str(err))
[Fri Mar 04 08:10:04.443999 2016] [wsgi:error] [pid 29117:tid 140090323621632] AuthFailed: Authentication failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
And the Horizon log displays this:
[Fri Mar 04 08:10:01.939771 2016] [ssl:info] [pid 29120:tid 140090282043136] [client 172.30.20.99:63555] AH01964: Connection to child 73 established (<ServerURL>:443)
[Fri Mar 04 07:10:02.175214 2016] [wsgi:error] [pid 29118:tid 140090390763264] No regions could be found excluding identity.
[Fri Mar 04 07:10:02.175651 2016] [wsgi:error] [pid 29118:tid 140090390763264] Login successful for user "<UserEmail>".
[Fri Mar 04 07:10:02.313486 2016] [wsgi:error] [pid 29118:tid 140090415941376] DEBUG:idm_logger:Requesting authorization for application: 904fd95c253c4938a824d1a443ce0fdd with redirect_uri: https://<ServerURL>/complete/fiware/ and scope: ['all_info'] by user <UserName>
[Fri Mar 04 07:10:02.346101 2016] [wsgi:error] [pid 29118:tid 140090415941376] DEBUG:idm_logger:OAUTH2: Application 904fd95c253c4938a824d1a443ce0fdd NOT alreadyauthorized
[Fri Mar 04 07:10:04.250695 2016] [wsgi:error] [pid 29118:tid 140090390763264] DEBUG:idm_logger:Authorizing application: 904fd95c253c4938a824d1a443ce0fdd by user: <UserName>
[Fri Mar 04 07:10:04.274461 2016] [wsgi:error] [pid 29118:tid 140090390763264] DEBUG:idm_logger:OAUTH2: Authorization Code obtained WzIZ11YpmGAuZoltvTTGMGoP45ZtHe
[Fri Mar 04 07:10:04.274541 2016] [wsgi:error] [pid 29118:tid 140090390763264] DEBUG:idm_logger:OAUTH2: Redirecting user back to https://<ServerURL>/complete/fiware/?state=SDyJk9ru8wSLwUZIRtSrwI86jznMIv8O&code=WzIZ11YpmGAuZoltvTTGMGoP45ZtHe
[Fri Mar 04 08:10:04.441087 2016] [ssl:info] [pid 29120:tid 140090189723392] [client 192.168.149.9:53270] AH01964: Connection to child 84 established (server <ServerURL>:443)
[Fri Mar 04 08:10:04.442137 2016] [ssl:info] [pid 29120:tid 140090189723392] [client 192.168.149.9:53270] AH02008: SSL library error 1 in handshake (server <ServerURL>:443)
[Fri Mar 04 08:10:04.442165 2016] [ssl:info] [pid 29120:tid 140090189723392] SSL Library Error: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (SSL alert number 48)
[Fri Mar 04 08:10:04.442174 2016] [ssl:info] [pid 29120:tid 140090189723392] [client 192.168.149.9:53270] AH01998: Connection closed to child 84 with abortive shutdown (server <ServerURL>:443)
Horizon and Wirecloud run on the same apache, Wirecloud under port 443 and Horizon under port 40443. Both use the same cert files for ssl and work, called by themself, fine. Those cert files are currently self signed ones.
Since I am pretty new to ssl usage in apache any halp would be much appreciated.
As you are using self-signed certificates, the best option is including your cert into the list of trusted certificates. requests (the module used for making this request) usually uses a bundle by default (it depends on the installation method). You can edit that bundle for adding your cert (see this link for more details) although you will have to update this bundle every time you upgrade the requests module.
Another option, is to configure requests for using the trusted certs repository from the OS. This can be configured using the REQUESTS_CA_BUNDLE environment var (e.g. by editing your wgsi.py file adding something similar to this: os.environ['REQUESTS_CA_BUNDLE'] = "/etc/ssl/certs/ca-certificates.crt"). The operation of adding your cert into the trusted repository depends on your OS, but there is a lot of information about this matter on google (e.g. here you can find how to do it using Debian/Ubuntu).

Apache WAMP Stopped Working

I was enabling something in my WAMP. Anyhow I clicked on the Wamp Button > Apache > Apache Modules > and I was looking for what I wanted, but accidentally pressed "r". Once I pressed "r" my localhost website would not work, and now my Wamp icon is appearing orange. I have no clue what happend, do you? Here is my error:
[Sat Jul 26 16:15:29.537732 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Sat Jul 26 16:15:29.537732 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sat Jul 26 16:15:29.537732 2014] [core:notice] [pid 4092:tid 400] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sat Jul 26 16:15:29.538734 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00418: Parent: Created child process 1608
[Sat Jul 26 16:15:30.029179 2014] [mpm_winnt:notice] [pid 1608:tid 452] AH00354: Child: Starting 64 worker threads.
[Sat Jul 26 22:33:53.434220 2014] [authz_core:error] [pid 1608:tid 960] [client 192.168.1.30:54781] AH01630: client denied by server configuration: C:/wamp/www/
[Sat Jul 26 22:51:56.233745 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sat Jul 26 22:51:58.265082 2014] [mpm_winnt:notice] [pid 1608:tid 452] AH00364: Child: All worker threads have exited.
[Sat Jul 26 22:51:58.296328 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00430: Parent: Child process 1608 exited successfully.
[Sun Jul 27 14:05:56.746487 2014] [mpm_winnt:notice] [pid 5232:tid 284] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Sun Jul 27 14:05:56.753499 2014] [mpm_winnt:notice] [pid 5232:tid 284] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sun Jul 27 14:05:56.753499 2014] [core:notice] [pid 5232:tid 284] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sun Jul 27 14:05:56.763491 2014] [mpm_winnt:notice] [pid 5232:tid 284] AH00418: Parent: Created child process 6916
[Sun Jul 27 14:05:57.485065 2014] [mpm_winnt:notice] [pid 6916:tid 460] AH00354: Child: Starting 64 worker threads.
[Wed Jul 30 23:20:46.242815 2014] [mpm_winnt:notice] [pid 5232:tid 284] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 30 23:20:51.539762 2014] [mpm_winnt:notice] [pid 6916:tid 460] AH00364: Child: All worker threads have exited.
[Wed Jul 30 23:21:05.180559 2014] [mpm_winnt:notice] [pid 5232:tid 284] AH00430: Parent: Child process 6916 exited successfully.
[Thu Jul 31 12:45:25.093273 2014] [mpm_winnt:notice] [pid 2568:tid 536] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Thu Jul 31 12:45:25.094274 2014] [mpm_winnt:notice] [pid 2568:tid 536] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Thu Jul 31 12:45:25.094274 2014] [core:notice] [pid 2568:tid 536] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Thu Jul 31 12:45:25.097276 2014] [mpm_winnt:notice] [pid 2568:tid 536] AH00418: Parent: Created child process 2596
[Thu Jul 31 12:45:26.045952 2014] [mpm_winnt:notice] [pid 2596:tid 424] AH00354: Child: Starting 64 worker threads.
[Tue Aug 19 16:05:08.423733 2014] [mpm_winnt:notice] [pid 2568:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Aug 19 16:05:13.642604 2014] [mpm_winnt:notice] [pid 2596:tid 424] AH00364: Child: All worker threads have exited.
[Tue Aug 19 16:05:30.064645 2014] [mpm_winnt:notice] [pid 2568:tid 536] AH00430: Parent: Child process 2596 exited successfully.
[Tue Aug 19 23:30:25.524220 2014] [mpm_winnt:notice] [pid 5720:tid 572] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Tue Aug 19 23:30:25.553224 2014] [mpm_winnt:notice] [pid 5720:tid 572] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Tue Aug 19 23:30:25.553224 2014] [core:notice] [pid 5720:tid 572] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Tue Aug 19 23:30:25.556224 2014] [mpm_winnt:notice] [pid 5720:tid 572] AH00418: Parent: Created child process 2012
[Tue Aug 19 23:30:26.184670 2014] [mpm_winnt:notice] [pid 2012:tid 452] AH00354: Child: Starting 64 worker threads.
[Wed Aug 27 10:43:18.752095 2014] [mpm_winnt:notice] [pid 5720:tid 572] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Aug 27 10:43:21.845885 2014] [mpm_winnt:notice] [pid 2012:tid 452] AH00364: Child: All worker threads have exited.
[Wed Aug 27 10:43:28.517847 2014] [mpm_winnt:notice] [pid 5720:tid 572] AH00430: Parent: Child process 2012 exited successfully.
[Thu Aug 28 17:22:50.302524 2014] [mpm_winnt:notice] [pid 3476:tid 528] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Thu Aug 28 17:22:50.303536 2014] [mpm_winnt:notice] [pid 3476:tid 528] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Thu Aug 28 17:22:50.303536 2014] [core:notice] [pid 3476:tid 528] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Thu Aug 28 17:22:50.305520 2014] [mpm_winnt:notice] [pid 3476:tid 528] AH00418: Parent: Created child process 2632
[Thu Aug 28 17:22:51.240439 2014] [mpm_winnt:notice] [pid 2632:tid 448] AH00354: Child: Starting 64 worker threads.
[Tue Sep 02 20:02:08.448199 2014] [mpm_winnt:notice] [pid 3476:tid 528] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Sep 02 20:02:10.495104 2014] [mpm_winnt:notice] [pid 2632:tid 448] AH00364: Child: All worker threads have exited.
[Tue Sep 02 20:02:12.604507 2014] [mpm_winnt:notice] [pid 3476:tid 528] AH00430: Parent: Child process 2632 exited successfully.
[Fri Sep 05 21:55:31.379470 2014] [mpm_winnt:notice] [pid 6080:tid 488] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Fri Sep 05 21:55:31.402538 2014] [mpm_winnt:notice] [pid 6080:tid 488] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Fri Sep 05 21:55:31.402538 2014] [core:notice] [pid 6080:tid 488] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Sep 05 21:55:31.404485 2014] [mpm_winnt:notice] [pid 6080:tid 488] AH00418: Parent: Created child process 3256
[Fri Sep 05 21:55:32.012043 2014] [mpm_winnt:notice] [pid 3256:tid 448] AH00354: Child: Starting 64 worker threads.
[Sun Sep 14 20:08:13.490202 2014] [mpm_winnt:notice] [pid 6080:tid 488] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Sep 14 20:08:17.209027 2014] [mpm_winnt:notice] [pid 3256:tid 448] AH00364: Child: All worker threads have exited.
[Sun Sep 14 20:08:23.584115 2014] [mpm_winnt:notice] [pid 6080:tid 488] AH00430: Parent: Child process 3256 exited successfully.
[Fri Sep 19 20:55:13.884326 2014] [mpm_winnt:notice] [pid 8340:tid 556] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Fri Sep 19 20:55:13.884326 2014] [mpm_winnt:notice] [pid 8340:tid 556] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Fri Sep 19 20:55:13.884326 2014] [core:notice] [pid 8340:tid 556] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Sep 19 20:55:13.888323 2014] [mpm_winnt:notice] [pid 8340:tid 556] AH00418: Parent: Created child process 8116
[Fri Sep 19 20:55:14.532934 2014] [mpm_winnt:notice] [pid 8116:tid 452] AH00354: Child: Starting 64 worker threads.
[Sat Sep 20 19:54:01.953621 2014] [mpm_winnt:notice] [pid 8340:tid 556] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sat Sep 20 19:54:03.984898 2014] [mpm_winnt:notice] [pid 8116:tid 452] AH00364: Child: All worker threads have exited.
[Sat Sep 20 19:54:05.984928 2014] [mpm_winnt:notice] [pid 8340:tid 556] AH00430: Parent: Child process 8116 exited successfully.
[Mon Nov 03 17:15:38.006650 2014] [mpm_winnt:notice] [pid 6552:tid 532] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Nov 03 17:15:38.022297 2014] [mpm_winnt:notice] [pid 6552:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Nov 03 17:15:38.022297 2014] [core:notice] [pid 6552:tid 532] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Nov 03 17:15:38.022297 2014] [mpm_winnt:notice] [pid 6552:tid 532] AH00418: Parent: Created child process 4616
[Mon Nov 03 17:15:38.709800 2014] [mpm_winnt:notice] [pid 4616:tid 448] AH00354: Child: Starting 64 worker threads.
[Mon Nov 17 20:07:44.422884 2014] [mpm_winnt:notice] [pid 6552:tid 532] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Nov 17 20:07:46.516716 2014] [mpm_winnt:notice] [pid 4616:tid 448] AH00364: Child: All worker threads have exited.
[Mon Nov 17 20:07:58.048122 2014] [mpm_winnt:notice] [pid 6552:tid 532] AH00430: Parent: Child process 4616 exited successfully.
[Sat Nov 22 15:49:46.091430 2014] [mpm_winnt:notice] [pid 2112:tid 528] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Sat Nov 22 15:49:46.092432 2014] [mpm_winnt:notice] [pid 2112:tid 528] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sat Nov 22 15:49:46.092432 2014] [core:notice] [pid 2112:tid 528] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sat Nov 22 15:49:46.097436 2014] [mpm_winnt:notice] [pid 2112:tid 528] AH00418: Parent: Created child process 4212
[Sat Nov 22 15:49:46.818947 2014] [mpm_winnt:notice] [pid 4212:tid 460] AH00354: Child: Starting 64 worker threads.
[Sun Nov 23 17:27:17.509537 2014] [:error] [pid 4212:tid 968] [client ::1:55412] script 'C:/wamp/www/testwebsite/action.php' not found or unable to stat, referer: http://localhost/testwebsite/home.php
[Sun Nov 23 18:24:20.050683 2014] [:error] [pid 4212:tid 968] [client ::1:55774] script 'C:/wamp/www/testwebsite/action.php' not found or unable to stat, referer: http://localhost/testwebsite/home.php
[Tue Nov 25 23:41:55.578131 2014] [authz_core:error] [pid 4212:tid 956] [client ::1:57231] AH01630: client denied by server configuration: C:/Apache24, referer: http://localhost/postin%27/
[Tue Nov 25 23:41:55.579129 2014] [authz_core:error] [pid 4212:tid 956] [client ::1:57231] AH01630: client denied by server configuration: C:/Apache24, referer: http://localhost/postin%27/
[Tue Nov 25 23:41:55.582134 2014] [authz_core:error] [pid 4212:tid 960] [client ::1:57233] AH01630: client denied by server configuration: C:/Apache24, referer: http://localhost/postin%27/
[Tue Nov 25 23:41:55.583131 2014] [authz_core:error] [pid 4212:tid 948] [client ::1:57234] AH01630: client denied by server configuration: C:/Apache24, referer: http://localhost/postin%27/
[Tue Nov 25 23:41:55.584132 2014] [authz_core:error] [pid 4212:tid 968] [client ::1:57235] AH01630: client denied by server configuration: C:/Apache24, referer: http://localhost/postin%27/
[Fri Nov 28 17:08:26.648100 2014] [:error] [pid 4212:tid 960] [client ::1:57746] script 'C:/wamp/www/postin'/home.php' not found or unable to stat
[Fri Nov 28 17:11:46.907963 2014] [:error] [pid 4212:tid 960] [client ::1:57777] script 'C:/wamp/www/postin'/bootstrap-3.3.1-dist/dist/home.php' not found or unable to stat
[Fri Nov 28 17:15:44.406860 2014] [core:error] [pid 4212:tid 944] (20024)The given path is misformatted or contained invalid characters: [client ::1:57972] AH00127: Cannot map GET /postin%27/%3C!--%20bootstrap-3.3.1-dist/dist/css/%20--%3Ebootstrap.min.css HTTP/1.1 to file, referer: http://localhost/postin%27/home.php
[Fri Nov 28 17:18:10.663503 2014] [:error] [pid 4212:tid 948] [client ::1:58026] script 'C:/wamp/www/postin'/bootstrap-3.3.1-dist/dist/home.php' not found or unable to stat
[Fri Nov 28 17:18:12.207563 2014] [:error] [pid 4212:tid 948] [client ::1:58026] script 'C:/wamp/www/postin'/bootstrap-3.3.1-dist/dist/home.php' not found or unable to stat
[Fri Dec 05 18:24:55.774622 2014] [mpm_winnt:notice] [pid 2112:tid 528] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 05 18:24:59.102790 2014] [mpm_winnt:notice] [pid 4212:tid 460] AH00364: Child: All worker threads have exited.
[Fri Dec 05 18:25:05.634129 2014] [mpm_winnt:notice] [pid 2112:tid 528] AH00430: Parent: Child process 4212 exited successfully.
[Fri Dec 05 18:31:26.578880 2014] [mpm_winnt:notice] [pid 5104:tid 524] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Fri Dec 05 18:31:26.594559 2014] [mpm_winnt:notice] [pid 5104:tid 524] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Fri Dec 05 18:31:26.594559 2014] [core:notice] [pid 5104:tid 524] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Dec 05 18:31:26.594559 2014] [mpm_winnt:notice] [pid 5104:tid 524] AH00418: Parent: Created child process 4816
[Fri Dec 05 18:31:27.078901 2014] [mpm_winnt:notice] [pid 4816:tid 448] AH00354: Child: Starting 64 worker threads.
[Fri Dec 12 21:51:38.749809 2014] [mpm_winnt:notice] [pid 5104:tid 524] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 12 21:51:41.796737 2014] [mpm_winnt:notice] [pid 4816:tid 448] AH00364: Child: All worker threads have exited.
[Fri Dec 12 21:51:43.093608 2014] [mpm_winnt:notice] [pid 5104:tid 524] AH00430: Parent: Child process 4816 exited successfully.
[Sat Dec 13 11:24:25.831509 2014] [mpm_winnt:notice] [pid 6184:tid 544] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Sat Dec 13 11:24:25.854544 2014] [mpm_winnt:notice] [pid 6184:tid 544] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sat Dec 13 11:24:25.854544 2014] [core:notice] [pid 6184:tid 544] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sat Dec 13 11:24:25.857526 2014] [mpm_winnt:notice] [pid 6184:tid 544] AH00418: Parent: Created child process 6680
[Sat Dec 13 11:24:26.865517 2014] [mpm_winnt:notice] [pid 6680:tid 460] AH00354: Child: Starting 64 worker threads.
[Wed Dec 17 21:24:32.537560 2014] [:error] [pid 6680:tid 948] [client ::1:60268] script 'C:/wamp/www/postin'/register.php' not found or unable to stat, referer: http://localhost/postin%27/login.php
[Wed Dec 17 22:02:28.555099 2014] [:error] [pid 6680:tid 948] [client ::1:60539] script 'C:/wamp/www/postin'/login.php' not found or unable to stat, referer: http://localhost/postin%27/home.php
[Wed Dec 17 22:02:52.576181 2014] [:error] [pid 6680:tid 948] [client ::1:60543] script 'C:/wamp/www/postin'/login.php' not found or unable to stat
[Wed Dec 17 22:15:36.019756 2014] [:error] [pid 6680:tid 964] [client ::1:60613] script 'C:/wamp/www/postin'/login.php' not found or unable to stat, referer: http://localhost/postin%27/home.php
[Sun Dec 21 12:27:45.334508 2014] [:error] [pid 6680:tid 912] [client ::1:59901] script 'C:/wamp/www/postin'/common.php' not found or unable to stat
[Tue Dec 30 12:18:01.153171 2014] [authz_core:error] [pid 6680:tid 948] [client 192.168.2.5:56561] AH01630: client denied by server configuration: C:/wamp/www/
[Thu Jan 01 18:26:51.143348 2015] [:error] [pid 6680:tid 888] [client ::1:59517] script 'C:/wamp/www/postin'/accountcreated.php' not found or unable to stat
[Sun Jan 04 20:54:45.491787 2015] [:error] [pid 6680:tid 932] [client ::1:57184] script 'C:/wamp/www/postin'/termsofservice.php' not found or unable to stat, referer: http://localhost/postin'/registerpage.php
[Mon Jan 05 17:24:33.723650 2015] [:error] [pid 6680:tid 964] [client ::1:58637] script 'C:/wamp/www/postin'/login.php' not found or unable to stat
[Mon Jan 05 17:24:37.591476 2015] [:error] [pid 6680:tid 964] [client ::1:58637] script 'C:/wamp/www/postin'/login.php' not found or unable to stat
[Tue Jan 06 22:09:36.379069 2015] [:error] [pid 6680:tid 888] [client ::1:51681] script 'C:/wamp/www/postin'/termsofservice.php' not found or unable to stat, referer: http://localhost/postin'/registerpage.php
[Thu Jan 08 21:41:11.273540 2015] [:error] [pid 6680:tid 884] [client ::1:62629] script 'C:/wamp/www/postin'/login.php' not found or unable to stat, referer: http://localhost/postin%27/home.php
[Sun Jan 11 13:29:52.929580 2015] [:error] [pid 6680:tid 884] [client ::1:52843] script 'C:/wamp/www/postin'/profile.php' not found or unable to stat, referer: http://localhost/postin%27/registerpage.php
[Sun Jan 11 13:41:35.124376 2015] [:error] [pid 6680:tid 952] [client ::1:52970] script 'C:/wamp/www/postin'/login.php' not found or unable to stat
[Sun Jan 11 19:42:59.503446 2015] [:error] [pid 6680:tid 952] [client ::1:53526] script 'C:/wamp/www/postin'/upload.php' not found or unable to stat, referer: http://localhost/postin'/new.php
[Mon Jan 12 18:44:18.786667 2015] [mpm_winnt:notice] [pid 6184:tid 544] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 12 18:44:20.956208 2015] [mpm_winnt:notice] [pid 6680:tid 460] AH00364: Child: All worker threads have exited.
[Mon Jan 12 18:44:34.341014 2015] [mpm_winnt:notice] [pid 6184:tid 544] AH00430: Parent: Child process 6680 exited successfully.
[Mon Jan 12 18:44:52.542886 2015] [mpm_winnt:notice] [pid 8624:tid 536] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jan 12 18:44:52.542886 2015] [mpm_winnt:notice] [pid 8624:tid 536] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jan 12 18:44:52.542886 2015] [core:notice] [pid 8624:tid 536] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Jan 12 18:44:52.545907 2015] [mpm_winnt:notice] [pid 8624:tid 536] AH00418: Parent: Created child process 18300
[Mon Jan 12 18:44:53.289434 2015] [mpm_winnt:notice] [pid 18300:tid 480] AH00354: Child: Starting 64 worker threads.
[Mon Jan 12 18:46:01.845526 2015] [mpm_winnt:notice] [pid 8624:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 12 18:46:03.846968 2015] [mpm_winnt:notice] [pid 18300:tid 480] AH00364: Child: All worker threads have exited.
[Mon Jan 12 18:46:03.865961 2015] [mpm_winnt:notice] [pid 8624:tid 536] AH00430: Parent: Child process 18300 exited successfully.
If there is a problem in apache starting first change the port number from 80 to 8080 and change in httpd.conf form localhost 80 to localhost 8080.
If it doesn't work
open cmd:
Then go to wamp->bin->apache->apache..(version)->bin
execute:httpd.conf -r warn
and restart wamp