mureevms: после удаления supervisord.conf выдает следующее:
Starting supervisor: Error: could not find config file /etc/supervisor/supervisord.conf
после удаления myproject.conf:
Starting supervisor: Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
^CTraceback (most recent call last):
File "/usr/bin/supervisord", line 9, in
load_entry_point('supervisor==3.0a8', 'console_scripts', 'supervisord')()
File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 371, in main
go(options)
File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 381, in go
d.main()
File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 94, in main
self.run()
File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 104, in run
self.options.openhttpservers(self)
File "/usr/lib/pymodules/python2.7/supervisor/options.py", line 1039, in openhttpservers
self.httpservers = self.make_http_servers(supervisord)
File "/usr/lib/pymodules/python2.7/supervisor/options.py", line 1242, in make_http_servers
return make_http_servers(self, supervisord)
File "/usr/lib/pymodules/python2.7/supervisor/http.py", line 793, in make_http_servers
logger_object=wrapper)
File "/usr/lib/pymodules/python2.7/supervisor/http.py", line 602, in __init__
time.sleep(.3)
KeyboardInterrupt
mureevms: зашел под рутом, пробовал запустить - та же песня. Сменил владельца на файл на root, сделал service supervisor start
Starting supervisor: Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
.........
Unlinking stale socket /tmp/supervisor.sock - и так до бесконечности
ранее я водилл команду sudo unlink /tmp/supervisor.sock, полагаю, что теперь ее нужно отменить. Как это сделать?
mureevms: sudo service supervisor start
Starting supervisor: Unlinking stale socket /tmp/supervisor.sock
Error: Not permitted to chown /tmp/supervisor.sock to uid/gid (65534, 65534); adjust "sockchown" value in config file or on command line to values that the current user (webworker) can successfully chown
For help, use /usr/bin/supervisord -h
mureevms: netstat -ltnp | grep ':80'
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
netstat -ltnp | grep ':80'
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 15986/nginx: worker
Влад Животнев: Starting supervisor: Error: Cannot open an HTTP server: socket.error reported errno.ENOENT (2)
Я так понимаю ошибка в сокете. Что делать?
у меня такая же проблема. поменял $? на 0.
Пишет
sudo apt-get install supervisor
Starting supervisor: Error: Cannot open an HTTP server: socket.error reported errno.ENOENT (2)
For help, use /usr/bin/supervisord -h
invoke-rc.d: initscript supervisor, action "start" failed.
Processing triggers for python-support ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
supervisor is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Что это значит?
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.