ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@itx.ru>
To: Alexey Shabalin <shaba@altlinux.ru>
Cc: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Упаковка python-приложение
Date: Fri, 9 Dec 2016 16:50:20 +0300
Message-ID: <CANM4RuihJBOKcBXqiQ6Em8ZXKVJTn=RPR2eZ=E-m+EPyR6409w@mail.gmail.com> (raw)
In-Reply-To: <CAEdvWkTndHfLDTGwjJ5B+PK1AM0c6x-nCOd6ydCRXKhWSxjjzg@mail.gmail.com>

> попробуй еще раз.

И снова пользователя создать не удалось, однако я нашел причину: у
меня не было группы _webserver. Впрочем она появляется с установкой
nginх, так что может это и не совсем ошибка.

Хуже то, что демон все же не работает. Он запускается, но при логине
получаю 500 internal server error, в логе регулярно появляется:

дек 09 16:49:32 localhost gunicorn[1696]: [2016-12-09 13:49:32 +0000]
[2185] [ERROR] Exception in worker process:
дек 09 16:49:32 localhost gunicorn[1696]: Traceback (most recent call last):
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/arbiter.py", line 503, in
spawn_worker
дек 09 16:49:32 localhost gunicorn[1696]:     worker.init_process()
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/workers/base.py", line 122,
in init_process
дек 09 16:49:32 localhost gunicorn[1696]:     self.run()
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 116,
in run
дек 09 16:49:32 localhost gunicorn[1696]:     self.run_for_multiple(timeout)
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 94,
in run_for_multiple
дек 09 16:49:32 localhost gunicorn[1696]:     for listener in ready:
дек 09 16:49:32 localhost gunicorn[1696]: TypeError: 'NoneType' object
is not iterable
дек 09 16:49:32 localhost gunicorn[1696]: Traceback (most recent call last):
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/arbiter.py", line 503, in
spawn_worker
дек 09 16:49:32 localhost gunicorn[1696]:     worker.init_process()
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/workers/base.py", line 122,
in init_process
дек 09 16:49:32 localhost gunicorn[1696]:     self.run()
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 116,
in run
дек 09 16:49:32 localhost gunicorn[1696]:     self.run_for_multiple(timeout)
дек 09 16:49:32 localhost gunicorn[1696]:   File
"/usr/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 94,
in run_for_multiple
дек 09 16:49:32 localhost gunicorn[1696]:     for listener in ready:
дек 09 16:49:32 localhost gunicorn[1696]: TypeError: 'NoneType' object
is not iterable
дек 09 16:49:32 localhost gunicorn[1696]: [2016-12-09 13:49:32 +0000]
[2185] [INFO] Worker exiting (pid: 2185)
дек 09 16:49:32 localhost gunicorn[1696]: [2016-12-09 16:49:32 +0000]
[2188] [INFO] Booting worker with pid: 2188


-- 
WBR,
Eugene Prokopiev

  reply	other threads:[~2016-12-09 13:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07  8:41 Eugene Prokopiev
2016-07-07  9:38 ` Ivan Zakharyaschev
2016-07-07 10:34   ` Eugene Prokopiev
2016-07-07 11:35     ` Ivan Zakharyaschev
2016-07-08  6:43       ` Eugene Prokopiev
2016-07-08 10:20         ` Ivan Zakharyaschev
2016-07-08 10:27         ` Alexey Shabalin
2016-11-29 18:45           ` Alexey Shabalin
2016-11-30  7:59             ` Eugene Prokopiev
2016-12-08 14:45               ` Alexey Shabalin
2016-12-09  6:57                 ` Eugene Prokopiev
2016-12-09 13:17                   ` Alexey Shabalin
2016-12-09 13:50                     ` Eugene Prokopiev [this message]
2016-12-09 14:34                       ` Alexey Shabalin
2016-12-10 18:12                         ` Eugene Prokopiev
2016-07-07 10:30 ` Антон Мидюков
2016-07-07 10:40   ` Eugene Prokopiev

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='CANM4RuihJBOKcBXqiQ6Em8ZXKVJTn=RPR2eZ=E-m+EPyR6409w@mail.gmail.com' \
    --to=enp@itx.ru \
    --cc=devel@lists.altlinux.org \
    --cc=shaba@altlinux.ru \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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