workerman启动一直报错process terminated
php start.php start
Workerman[start.php] start in DEBUG mode
----------------------------------------------- WORKERMAN ------------------------------------------------
Workerman version:3.5.15 PHP version:7.1.26-1+ubuntu16.04.1+deb.sury.org+1
------------------------------------------------ WORKERS -------------------------------------------------
proto user worker listen processes status
tcp vagrant ChatBusinessWorker none 4 [OK]
tcp vagrant ChatGateway websocket://127.0.0.1:9526 4 [OK]
tcp vagrant Register text://127.0.0.1:1239 1 [OK]
tcp vagrant globalDataServer frame://0.0.0.0:2207 1 [OK]
----------------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
Worker[3078] process terminated
Worker[3075] process terminated
Worker[3076] process terminated
Worker[3077] process terminated
Worker[3086] process terminated
Worker[3085] process terminated
Worker[3088] process terminated
Worker[3087] process terminated
Worker[3092] process terminated
Worker[3089] process terminated
Worker[3090] process terminated
Worker[3091] process terminated
Worker[3096] process terminated
Worker[3098] process terminated
Worker[3097] process terminated
Worker[3099] process terminated
Worker[3101] process terminated
^CWorkerman[start.php] stopping ...
Exception: getAllGatewayAddressesFromRegister fail. tcp://127.0.0.1:1239 return false in /home/vagrant/website/websocket/vendor/workerman/gatewayclient/Gateway.php:834
Stack trace:
============补充========
这是log文件
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
worker里的代码有异常或有die,exit等导致进程结束,检查workerman日志文件
workerman有视频教程,挺不错的。网址: https://study.163.com/course/...