ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Установка noc-0.7.0-alt4
Date: Fri, 31 Aug 2012 17:59:55 +0400
Message-ID: <CAEdvWkSO324wr8KaHhp+-Mqg_qv37y4fXm_Z4cXFsL3QLmoKdw@mail.gmail.com> (raw)
In-Reply-To: <201208311745.27492.a_s_y@sama.ru>

31 августа 2012 г., 17:45 пользователь Sergey написал:
> On Tuesday 11 October 2011, Alexey Shabalin wrote:
>
>> Обращайтесь с проблемами, помогу.
>
> Не прошло и года... :-) Вернулся к проблеме изучения.
> Система - текущий Сизиф, "^python-module-django" на холде:
>
> python-module-django-dbbackend-psycopg-1.3.1-alt1
> python-module-django-dbbackend-psycopg2-1.3.1-alt1
> python-module-django-1.3.1-alt1
> python-module-django-tagging-0.3.1-alt1.1
>
> noc-0.7.0-alt4, пакет поставлен с нуля.
>
> # service noc start
> Starting noc service: Traceback (most recent call last):
>   File "/usr/share/noc/scripts/noc-launcher.py", line 13, in <module>
>     set_env.setup(use_django=False)
>   File "/usr/share/noc/scripts/set_env.py", line 46, in setup
>     import settings  # @todo: Avoid loading twice
>   File "/usr/share/noc/settings.py", line 13, in <module>
>     DEBUG = config.get("main", "debug")
>   File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
>     raise NoSectionError(section)
> ConfigParser.NoSectionError: No section: 'main'
>
> /usr/share/noc/etc/ присутствует с кучей конфигов. Секции main там есть
> в разных... В принципе, я не совсем по README.ALT.UTF8 сделал - не запустил
> ./scripts/post-update. Попытка запуска обрывается на

запуск ./scripts/post-update обязателен.

>
> PostGIS is not installed. Trying to install ...
> Failed to install PostGIS: pg_config is not found.
> Ensure pg_config is in the current user's $PATH
> Install PostGIS into database 'noc' according to your operation system's procedure
> Stopping...
> post-update: 34: migrate failed
>
> pg_config, действительно, отсутствует. Его нет теперь, или надо какой-то
> ещё пакет доустановить к postgresql ?

Это в новом noc добавили поддержку postgis. в 0.6 этого нет - возьмите
его (у меня а продакшен 0.6, 0.7 - тестовый контейнер)

> Ещё в README.ALT.UTF8 есть
>
>> б) создайте базу данных postgresql:
>> в) создайте базу данных mongo:
>
> Действительно требуются обе базы, или тут "или" ?
да, обе. в 0.7 логи хранятся в mongo.

-- 
Alexey Shabalin

  reply	other threads:[~2012-08-31 13:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 17:46 [Sysadmins] Установка noc-0.6.3-alt1 Sergey
2011-10-11 10:46 ` Alexey Shabalin
2011-10-11 12:26   ` Sergey
2011-10-11 12:32     ` Sergey
2011-10-11 14:01     ` Alexey Shabalin
2012-08-31 13:45   ` [Sysadmins] Установка noc-0.7.0-alt4 Sergey
2012-08-31 13:59     ` Alexey Shabalin [this message]
2012-08-31 14:53       ` Sergey
2012-08-31 15:27         ` Alexey Shabalin
2012-08-31 21:25           ` Sergey
2012-09-04  9:36               ` Sergey
2012-09-04 13:25                 ` Sergey
2012-09-04 13:34                   ` Alexey Shabalin
2012-09-04 13:48                     ` Sergey
2012-09-06  6:01                       ` Sergey
2012-09-06  7:07                         ` Sergey
2012-09-07  6:57                           ` Sergey
2012-09-07  8:29                             ` Sergey
2012-09-10 13:38                               ` Sergey
2012-09-10 14:02                                 ` Viacheslav Dubrovskyi
2012-09-10  7:23                         ` Sergey
2012-09-07 11:28     ` Sergey
2012-09-10 13:00       ` Sergey
2012-09-11 12:53         ` Sergey
2012-09-11 15:19           ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEdvWkSO324wr8KaHhp+-Mqg_qv37y4fXm_Z4cXFsL3QLmoKdw@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git