Ask Your Question
0

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 125.71.75.163:16] 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 125.71.75.163:16] 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 125.71.75.163:16] Traceback (most recent call last):
[Tue Dec 05 21:18:58.740023 2017] [:error] [pid 19897] [remote 125.71.75.163:16]   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 125.71.75.163:16]     application = get_wsgi_application()
[Tue Dec 05 21:18:58.740072 2017] [:error] [pid 19897] [remote 125.71.75.163:16]   File "/usr/lib/python2.7/site-packages/Django-1.11.2-py2.7.egg/django/core/wsgi.py", line 13, in get_wsgi_application
[Tue Dec 05 21:18:58.740098 2017] [:error] [pid 19897] [remote 125.71.75.163:16]     django.setup(set_prefix=False)
[Tue Dec 05 21:18:58.740110 2017] [:error] [pid 19897] [remote 125.71.75.163:16]   File "/usr/lib/python2.7/site-packages/Django-1.11.2-py2.7.egg/django/__init__.py", line 27, in setup
[Tue Dec 05 21:18:58.740131 2017] [:error] [pid 19897] [remote 125.71.75.163:16]     apps.populate(settings.INSTALLED_APPS)
[Tue Dec 05 21:18:58.740143 2017] [:error] [pid 19897] [remote 125.71.75.163:16]   File "/usr/lib/python2.7/site-packages/Django-1.11.2-py2.7.egg/django/apps/registry.py", line 78, in populate
[Tue Dec 05 21:18:58.740164 2017] [:error] [pid 19897] [remote 125.71.75.163:16]     raise RuntimeError("populate() isn't reentrant")
[Tue Dec 05 21:18:58.740186 2017] [:error] [pid 19897] [remote 125.71.75.163:16] 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
0

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

Bernd Bausch gravatar image

From https://stackoverflow.com/questions/4...:

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

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 19 times

Last updated: Dec 05