Supervisor pyspider error

发布于 2022-09-02 08:48:42 字数 1934 浏览 12 评论 0

linux 下用Supervisor 部署 pyspider 失败,日志如下

    2016-02-19 10:45:54,100 CRIT Supervisor running as root (no user in config file)
2016-02-19 10:45:54,100 WARN Included extra file "/etc/supervisor/conf.d/spider.ini" during parsing
2016-02-19 10:45:54,100 INFO RPC interface 'supervisor' initialized
2016-02-19 10:45:54,100 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2016-02-19 10:45:54,100 INFO supervisord started with pid 9537
2016-02-19 10:45:55,102 INFO spawned: 'spider' with pid 9794
2016-02-19 10:45:55,192 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:45:56,194 INFO spawned: 'spider' with pid 9797
2016-02-19 10:45:56,285 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:45:58,288 INFO spawned: 'spider' with pid 9800
2016-02-19 10:45:58,379 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:46:01,383 INFO spawned: 'spider' with pid 9803
2016-02-19 10:46:01,474 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:46:02,475 INFO gave up: spider entered FATAL state, too many start retries too quickly
2016-02-19 10:46:03,127 INFO spawned: 'spider' with pid 9807
2016-02-19 10:46:03,217 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:46:04,219 INFO spawned: 'spider' with pid 9810
2016-02-19 10:46:04,312 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:46:06,316 INFO spawned: 'spider' with pid 9813
2016-02-19 10:46:06,407 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:46:09,411 INFO spawned: 'spider' with pid 9816
2016-02-19 10:46:09,502 INFO exited: spider (exit status 2; not expected)
2016-02-19 10:46:10,504 INFO gave up: spider entered FATAL state, too many start retries too quickly

spider 配置为

[program:spider]
command= /usr/bin/python /usr/bin/pyspider -c config.json
autorestart=true

~
求教大神了,安装已成功了

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

稀香 2022-09-09 08:48:42

自己解决了,看来是command的文件路径没写对

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文