Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cobbler web

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Cobber web

1. Install:

Yum install-y cobbler-web

2. Then you can use (IP replacement):

Https://192.168.38.200/cobbler_web

3. Error troubleshooting

"Internal Server Error..."

Troubleshooting reference: https://www.cnblogs.com/wang50902/p/10760404.html

Check its log location first:

[root@localhost httpd] # grep log / etc/httpd/conf.d/ssl.conf | grep error# server does not start, consult the error logs and ensureErrorLog logs/ssl_error_log# compact non-error SSL logfile on a virtual host basis.

Analysis log

[root@localhost httpd] # tail / etc/httpd/logs/ssl_error_log [Sun Sep 08 16 etc/httpd/logs/ssl_error_log 16Sun Sep 40.714657 2019] [: error] [pid 8630] [remote 192.168.38.1 pid 244] self._setup (name) [Sun Sep 08 168.38.1 1463 2019] [: error] [pid 8630] [remote 192.168.38.1 pid 244] File "/ usr/lib/python2.7/site-packages/django/conf/__init__.py" Line 41, in _ setup [Sun Sep 08 16 setup 16VR 40.714672 2019] [: error] [pid 8630] [remote 192.168.38.1 setup 244] self._wrapped = Settings (settings_module) [Sun Sep 08 16 error 1614 77 2019] [: error] [pid 8630] [remote 192.168.38.1 error 244] File "/ usr/lib/python2.7/site-packages/django/conf/__init__.py", line 110 In _ init__ [Sun Sep 08 16 error 16 Sun Sep 40.714686 2019] [: error] [pid 8630] [remote 192.168.38.1 Sun Sep 244] mod = importlib.import_module (self.SETTINGS_MODULE) [Sun Sep 08 16 14 91 2019] [: error] [pid 8630] [remote 192.168.38.1 pid 244] File "/ usr/lib64/python2.7/importlib/__init__.py", line 37 In import_ module [sun Sep 08 16 virtual 16 error 40.714703 2019] [: error] [pid 8630] [remote 192.168.38.1 pid 244] _ _ import__ (name)

Random analysis: django version problem

Resolve:

Yum install python2-pippip install-upgrade pippip install Django==1.8.17systemctl restart httpd

4. Use of cobbler web

Reference: https://blog.csdn.net/liang_operations/article/details/80640428

Create a user password:

[root@localhost httpd] # egrep-v "^ $| #" / etc/cobbler/users.conf [admins] admin = "" cobbler = "" # htdigest + profile + "description Information" + user [root@localhost httpd] # htdigest-c / etc/cobbler/users.digest Cobbler test1 [root@localhost httpd] # cat / etc/cobbler/users.digesttest1:Cobbler:aa2cd4010e2c674350c901b969531fd43

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report