my httpd can not start up

asked 2017-12-05 07:38:23 -0600

liaodalin19903 gravatar image

My httpd can not start up, the logs/error_log information is bellow:

 [Tue Dec 05 21:18:58.739923 2017] [:error] [pid 19897] [remote] mod_wsgi (pid=19897): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Tue Dec 05 21:18:58.739970 2017] [:error] [pid 19897] [remote] mod_wsgi (pid=19897): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Tue Dec 05 21:18:58.739998 2017] [:error] [pid 19897] [remote] Traceback (most recent call last):
[Tue Dec 05 21:18:58.740023 2017] [:error] [pid 19897] [remote]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 14, in <module>
[Tue Dec 05 21:18:58.740058 2017] [:error] [pid 19897] [remote]     application = get_wsgi_application()
[Tue Dec 05 21:18:58.740072 2017] [:error] [pid 19897] [remote]   File "/usr/lib/python2.7/site-packages/Django-1.11.2-py2.7.egg/django/core/", line 13, in get_wsgi_application
[Tue Dec 05 21:18:58.740098 2017] [:error] [pid 19897] [remote]     django.setup(set_prefix=False)
[Tue Dec 05 21:18:58.740110 2017] [:error] [pid 19897] [remote]   File "/usr/lib/python2.7/site-packages/Django-1.11.2-py2.7.egg/django/", line 27, in setup
[Tue Dec 05 21:18:58.740131 2017] [:error] [pid 19897] [remote]     apps.populate(settings.INSTALLED_APPS)
[Tue Dec 05 21:18:58.740143 2017] [:error] [pid 19897] [remote]   File "/usr/lib/python2.7/site-packages/Django-1.11.2-py2.7.egg/django/apps/", line 78, in populate
[Tue Dec 05 21:18:58.740164 2017] [:error] [pid 19897] [remote]     raise RuntimeError("populate() isn't reentrant")
[Tue Dec 05 21:18:58.740186 2017] [:error] [pid 19897] [remote] RuntimeError: populate() isn't reentrant

some one can help me about this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-12-05 08:41:56 -0600


You need to go back and find the error in the logs before that. That is, the one for the very first request against the process, or when WSGI script was loaded if pre-loading has been enabled. The error you give isn't the root cause, but the result of subsequent requests failing after the first and is because Django initialisation is no longer re-entrant when it fails the first time.

I would check the httpd logs.

Or, it seems your Horizon is installed incorrectly. Reinstall it and watch out for warnings.

edit flag offensive delete link more


My Horizon installed correct, and it run perfect, util I restart the httpd failed.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-12-05 20:04:18 -0600 )edit

and my posted log are as same as the httpd error_log.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-12-05 20:06:38 -0600 )edit

tail all your logs and watch for errors when you start apache

timi gravatar imagetimi ( 2017-12-07 15:31:46 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-12-05 07:38:23 -0600

Seen: 391 times

Last updated: Dec 05 '17