@Randomiser

Как решить проблему с установкой NOC Project?

Добрый день.
Устанавливаю NOC Project kb.nocproject.org/display/DOC/Installation
Пробовал на
1. Centos - ставил в ручную https://kb.nocproject.org/display/DOC/Manual+Insta...
2. FreeBSD, Ubuntu через скрипт установки.
Во всех случаях итог один на некоторых вкладках на веб морде Server Error (500):
Main-setup-users
Main-setup-Reference Book
Main-setup-Groups

В логах noc-web.log:
2016-09-06 11:57:35,723 [django.request] Internal Server Error: /main/user/
Traceback (most recent call last):
  File "/usr/local/noc/lib/python2.7/site-packages/django/core/handlers/base.py", line 134, in get_response
    response = response.render()
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/response.py", line 104, in render
    self._set_content(self.rendered_content)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/response.py", line 81, in rendered_content
    content = template.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 140, in render
    return self._render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/loader_tags.py", line 123, in render
    return compiled_parent._render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/loader_tags.py", line 123, in render
    return compiled_parent._render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/base.py", line 1187, in render
    t = get_template(file_name)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/loader.py", line 145, in get_template
    template, origin = find_template(template_name)
  File "/usr/local/noc/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
    raise TemplateDoesNotExist(name)
TemplateDoesNotExist: admin/search_form.html
2016-09-06 11:57:35,745 [tornado.access] 500 GET /main/user/ (127.0.0.1) 131.10ms


В логах nginx-error.log:
[error] 4851#100130: *305 open() "/usr/local/noc/lib/python2.7/site-packages/django/contrib/admin/static/admin/css/base.css" failed (2: No such file or directory), client: 10.86.7.166, server: <yourdomain>, request: "GET /media/admin/css/base.css HTTP/1.1", host: "10.14.10.101", referrer: "http://10.14.10.101/main/user/"
2016/09/06 15:26:18 [error] 4851#100130: *307 open() "/usr/local/noc/lib/python2.7/site-packages/django/contrib/admin/static/admin/js/jquery.js" failed (2: No such file or directory), client: 10.86.7.166, server: <yourdomain>, request: "GET /media/admin/js/jquery.js HTTP/1.1", host: "10.14.10.101", referrer: "http://10.14.10.101/main/user/"
2016/09/06 15:26:18 [error] 4851#100130: *306 open() "/usr/local/noc/lib/python2.7/site-packages/django/contrib/admin/static/admin/img/icon_deletelink.gif" failed (2: No such file or directory), client: 10.86.7.166, server: <yourdomain>, request: "GET /media/admin/img/icon_deletelink.gif HTTP/1.1", host: "10.14.10.101", referrer: "http://10.14.10.101/main/user/"
2016/09/06 15:26:18 [error] 4851#100130: *306 open() "/usr/local/noc/lib/python2.7/site-packages/django/contrib/admin/static/admin/css/dashboard.css" failed (2: No such file or directory), client: 10.86.7.166, server: <yourdomain>, request: "GET /media/admin/css/dashboard.css HTTP/1.1", host: "10.14.10.101", referrer: "http://10.14.10.101/main/user/"
2016/09/06 15:26:18 [error] 4851#100130: *306 open() "/usr/local/noc/lib/python2.7/site-packages/django/contrib/admin/static/admin/img/icon_deletelink.gif" failed (2: No such file or directory), client: 10.86.7.166, server: <yourdomain>, request: "GET /media/admin/img/icon_deletelink.gif HTTP/1.1", host: "10.14.10.101", referrer: "http://10.14.10.101/main/user/"


Директории /usr/local/noc/lib/python2.7/site-packages/django/contrib/admin/static такой нет. Собственно вопрос в том, что должна ли она быть и если да то где ее взять.
Или проблема в чем то другом......
  • Вопрос задан
  • 1550 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы