织梦CMS - 轻松建站从此开始!

沙龙国际-沙龙365国际_沙龙国际网上娱乐

当前位置: 主页 > 沙龙国际网上娱乐 >

(沙龙国际网上娱乐) Django 配置Apache出现错误?

时间:2017-07-09 22:35来源:未知 作者:admin 点击:
在配置好Apche时候重启报错: 错误码 root@iZ28n0rfnpyZ:/etc/apache2/sites-available# /etc/init.d/apache2 restart Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain na

在配置好Apche时候重启报错:

错误码

root@iZ28n0rfnpyZ:/etc/apache2/sites-available# /etc/init.d/apache2 restart

  • Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.163.115.52. Set the 'ServerName' directive globally to suppress this message

                                                                                                                                                                        [ OK ]

    root@iZ28n0rfnpyZ:/etc/apache2/sites-available# tail /var/log/apache2/error.log

[Tue Mar 22 16:40:39.420386 2016] [:error] [pid 13251:tid 140413953038080] [client 139.227.149.246:49625] File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 198, in import_models
[Tue Mar 22 16:40:39.420461 2016] [:error] [pid 13251:tid 140413953038080] [client 139.227.149.246:49625] self.models_module = import_module(models_module_name)
[Tue Mar 22 16:40:39.420474 2016] [:error] [pid 13251:tid 140413953038080] [client 139.227.149.246:49625] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Tue Mar 22 16:40:39.420521 2016] [:error] [pid 13251:tid 140413953038080] [client 139.227.149.246:49625] __import__(name)
[Tue Mar 22 16:40:39.420533 2016] [:error] [pid 13251:tid 140413953038080] [client 139.227.149.246:49625] File "/home/blog/home/models.py", line 8, in (责任编辑:admin)

织梦二维码生成器
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
推荐内容