Openstack Dashboard 访问报错


OpenStack Web访问页面报以下错误:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

 

查看日志:



[root@controller httpd]# tail -f /var/log/httpd/error_log [Tue Oct 15 15:53:02.394760 2019] [:error] [pid 22423] [remote 192.168.8.250:48] '.secret_key_store')) [Tue Oct 15 15:53:02.394791 2019] [:error] [pid 22423] [remote 192.168.8.250:48] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", line 76, in generate_or_read_from_file [Tue Oct 15 15:53:02.394819 2019] [:error] [pid 22423] [remote 192.168.8.250:48] with lock: [Tue Oct 15 15:53:02.394831 2019] [:error] [pid 22423] [remote 192.168.8.250:48] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 174, in __enter__ [Tue Oct 15 15:53:02.394850 2019] [:error] [pid 22423] [remote 192.168.8.250:48] self.acquire() [Tue Oct 15 15:53:02.394861 2019] [:error] [pid 22423] [remote 192.168.8.250:48] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 151, in acquire [Tue Oct 15 15:53:02.394879 2019] [:error] [pid 22423] [remote 192.168.8.250:48] self._do_open() [Tue Oct 15 15:53:02.394890 2019] [:error] [pid 22423] [remote 192.168.8.250:48] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 123, in _do_open [Tue Oct 15 15:53:02.394907 2019] [:error] [pid 22423] [remote 192.168.8.250:48] self.lockfile = open(self.path, 'a') [Tue Oct 15 15:53:02.394937 2019] [:error] [pid 22423] [remote 192.168.8.250:48] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/openstack_dashboard/local/_usr_share_openstack-dashboard_openstack_dashboard_local_.secret_key_store.lock'


权限错误:IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/.../secret_key_store.lock

查看配置文件权限:ll /etc/openstack-dashboard

 

 
 

 查看local_settings 文件权限是否为 root:apache权限,

 修改命令:chown root:apache local_settings

 页面访问,成功








 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM