Supervisor pyspider error
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自己解决了,看来是command的文件路径没写对